Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 105.9 kB / 16.4 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 189.2 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7753/0.7753, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 64.5 kB / 0.568 GB, free: 29.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1388, allocations: 77.93 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.002729/0.1416, allocations: 1.626 MB / 0.6457 GB, free: 7.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.1437, allocations: 1.473 MB / 0.6471 GB, free: 6.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.1437, allocations: 4 kB / 0.6471 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.1442, allocations: 63.67 kB / 0.6472 GB, free: 6.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1444, allocations: 55.77 kB / 0.6472 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.1446, allocations: 110 kB / 0.6473 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.1449, allocations: 163.6 kB / 0.6475 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.1449, allocations: 12.2 kB / 0.6475 GB, free: 5.996 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.145, allocations: 63.77 kB / 0.6476 GB, free: 5.934 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1452, allocations: 67.75 kB / 0.6476 GB, free: 5.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.1452, allocations: 8 kB / 0.6476 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1454, allocations: 71.95 kB / 0.6477 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.719e-05/0.1455, allocations: 43.84 kB / 0.6477 GB, free: 5.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.1455, allocations: 55.66 kB / 0.6478 GB, free: 5.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1458, allocations: 199.5 kB / 0.648 GB, free: 5.496 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1458, allocations: 4 kB / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1458, allocations: 0 / 0.648 GB, free: 5.492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1458, allocations: 3.938 kB / 0.648 GB, free: 5.488 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005725/0.1464, allocations: 474.2 kB / 0.6484 GB, free: 4.977 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1465, allocations: 8.625 kB / 0.6484 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.1465, allocations: 42.73 kB / 0.6485 GB, free: 4.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.923e-05/0.1465, allocations: 20.8 kB / 0.6485 GB, free: 4.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1469, allocations: 256.1 kB / 0.6488 GB, free: 4.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.1469, allocations: 12.31 kB / 0.6488 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.917e-05/0.147, allocations: 7.938 kB / 0.6488 GB, free: 4.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1472, allocations: 115.3 kB / 0.6489 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1472, allocations: 0 / 0.6489 GB, free: 4.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.1472, allocations: 4 kB / 0.6489 GB, free: 4.461 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1472, allocations: 4 kB / 0.6489 GB, free: 4.457 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.1475, allocations: 139.8 kB / 0.649 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.1477, allocations: 229.6 kB / 0.6492 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.1481, allocations: 174.4 kB / 0.6494 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1482, allocations: 56.84 kB / 0.6495 GB, free: 3.809 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.1482, allocations: 11.97 kB / 0.6495 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1485, allocations: 115.3 kB / 0.6496 GB, free: 3.672 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.864e-06/0.1485, allocations: 0 / 0.6496 GB, free: 3.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004857/0.149, allocations: 226.7 kB / 0.6498 GB, free: 3.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.149, allocations: 81.11 kB / 0.6499 GB, free: 3.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.1492, allocations: 206.3 kB / 0.6501 GB, free: 3.129 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1493, allocations: 29.7 kB / 0.6501 GB, free: 3.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.1493, allocations: 112.1 kB / 0.6502 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.1494, allocations: 47.62 kB / 0.6503 GB, free: 2.934 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.1495, allocations: 37.7 kB / 0.6503 GB, free: 2.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1496, allocations: 330.8 kB / 0.6506 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1497, allocations: 43.98 kB / 0.6506 GB, free: 2.516 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.1498, allocations: 77.36 kB / 0.6507 GB, free: 2.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.15, allocations: 118.9 kB / 0.6508 GB, free: 2.312 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.15, allocations: 7.984 kB / 0.6508 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003151/0.1504, allocations: 201.5 kB / 0.651 GB, free: 2.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1504, allocations: 9.562 kB / 0.651 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1504, allocations: 0 / 0.651 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1504, allocations: 0 / 0.651 GB, free: 2.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1505, allocations: 31.92 kB / 0.6511 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1505, allocations: 0 / 0.6511 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.1506, allocations: 4 kB / 0.6511 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.1506, allocations: 8 kB / 0.6511 GB, free: 2.051 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.1508, allocations: 145.7 kB / 0.6512 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.1508, allocations: 19.86 kB / 0.6512 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.1509, allocations: 25.53 kB / 0.6513 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1509, allocations: 3.984 kB / 0.6513 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1509, allocations: 0 / 0.6513 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1509, allocations: 3.938 kB / 0.6513 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.1511, allocations: 237.5 kB / 0.6515 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1511, allocations: 7.984 kB / 0.6515 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.1512, allocations: 19.92 kB / 0.6515 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1512, allocations: 4 kB / 0.6515 GB, free: 1.535 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1512, allocations: 4 kB / 0.6515 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.1512, allocations: 4 kB / 0.6515 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1512, allocations: 0 / 0.6515 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.1515, allocations: 216.2 kB / 0.6517 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.1516, allocations: 89.02 kB / 0.6518 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.1516, allocations: 7.984 kB / 0.6518 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.1517, allocations: 4 kB / 0.6518 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1517, allocations: 11.98 kB / 0.6519 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1518, allocations: 12 kB / 0.6519 GB, free: 1.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.1519, allocations: 160.4 kB / 0.652 GB, free: 1.004 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1519, allocations: 0 / 0.652 GB, free: 1.004 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.1522, allocations: 39.89 kB / 0.6521 GB, free: 0.9648 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001499/0.1537, allocations: 1.093 MB / 0.6531 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002823/0.154, allocations: 119.9 kB / 0.6532 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.154, allocations: 0 / 0.6532 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1541, allocations: 66.42 kB / 0.6533 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.1544, allocations: 40.59 kB / 0.6533 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.1565, allocations: 1.944 MB / 0.6552 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.1568, allocations: 0.7202 MB / 0.6559 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001284/0.1569, allocations: 57.58 kB / 0.656 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.1571, allocations: 55.41 kB / 0.656 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1571, allocations: 0 / 0.656 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.1794, allocations: 4.688 MB / 0.6606 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/7.666, allocations: 19.59 kB / 0.6606 GB, free: 8.336 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.csv --start-time 0 --stop-time 603900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 900 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)