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.00128/0.00128, allocations: 103 kB / 16.4 MB, free: 6.492 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.001433/0.001433, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.306/1.306, 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.7204/0.7204, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 68.7 kB / 0.5572 GB, free: 32.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1661, allocations: 76.19 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003111/0.1692, allocations: 1.621 MB / 0.6332 GB, free: 3.293 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1716, allocations: 1.491 MB / 0.6346 GB, free: 1.793 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.1718, allocations: 4 kB / 0.6346 GB, free: 1.789 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006039/0.1725, allocations: 55.7 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.1728, allocations: 59.73 kB / 0.6348 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.1732, allocations: 101.5 kB / 0.6349 GB, free: 1.578 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.1735, allocations: 171.6 kB / 0.635 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.235e-05/0.1736, allocations: 4.234 kB / 0.635 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1737, allocations: 59.77 kB / 0.6351 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.1739, allocations: 67.8 kB / 0.6351 GB, free: 1.277 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.1739, allocations: 12 kB / 0.6352 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.1741, allocations: 59.98 kB / 0.6352 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.1742, allocations: 51.83 kB / 0.6353 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 8.184e-05/0.1743, allocations: 63.59 kB / 0.6353 GB, free: 1.094 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000334/0.1746, allocations: 198.3 kB / 0.6355 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1747, allocations: 0 / 0.6355 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1747, allocations: 0 / 0.6355 GB, free: 0.9023 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1747, allocations: 0 / 0.6355 GB, free: 0.9023 MB / 478.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.0007028/0.1754, allocations: 471.4 kB / 0.636 GB, free: 404 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.1754, allocations: 12.03 kB / 0.636 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.1755, allocations: 34.75 kB / 0.636 GB, free: 348 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.435e-05/0.1756, allocations: 20.75 kB / 0.636 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.176, allocations: 259.9 kB / 0.6363 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.176, allocations: 4.375 kB / 0.6363 GB, free: 24 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.176, allocations: 11.88 kB / 0.6363 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002801/0.1763, allocations: 123.2 kB / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1763, allocations: 0 / 0.6364 GB, free: 15.88 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1764, allocations: 8 kB / 0.6364 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1764, allocations: 0 / 0.6364 GB, free: 15.87 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.1766, allocations: 143.9 kB / 0.6365 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.1769, allocations: 229.5 kB / 0.6368 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003767/0.1773, allocations: 178.5 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.721e-05/0.1774, allocations: 48.84 kB / 0.637 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.1774, allocations: 7.938 kB / 0.637 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1777, allocations: 111.3 kB / 0.6371 GB, free: 15.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.1777, allocations: 0 / 0.6371 GB, free: 15.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000491/0.1782, allocations: 227.4 kB / 0.6373 GB, free: 14.87 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.1782, allocations: 77.11 kB / 0.6374 GB, free: 14.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.1784, allocations: 210.2 kB / 0.6376 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1785, allocations: 33.7 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.1785, allocations: 112.1 kB / 0.6377 GB, free: 14.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.1786, allocations: 51.44 kB / 0.6378 GB, free: 14.35 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.1786, allocations: 33.7 kB / 0.6378 GB, free: 14.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1788, allocations: 330.8 kB / 0.6381 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.679e-05/0.1789, allocations: 47.97 kB / 0.6382 GB, free: 13.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.179, allocations: 70.55 kB / 0.6382 GB, free: 13.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1792, allocations: 117.7 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.1792, allocations: 7.938 kB / 0.6384 GB, free: 13.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003129/0.1795, allocations: 199.7 kB / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1795, allocations: 4 kB / 0.6386 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1796, allocations: 3.984 kB / 0.6386 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1796, allocations: 4 kB / 0.6386 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1797, allocations: 20.11 kB / 0.6386 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.1797, allocations: 11.86 kB / 0.6386 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.253e-05/0.1798, allocations: 11.94 kB / 0.6386 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1798, allocations: 8.031 kB / 0.6386 GB, free: 13.46 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.0001232/0.1799, allocations: 141.8 kB / 0.6387 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.18, allocations: 15.81 kB / 0.6388 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.18, allocations: 25.52 kB / 0.6388 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.18, allocations: 0 / 0.6388 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1801, allocations: 4 kB / 0.6388 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1801, allocations: 0 / 0.6388 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1803, allocations: 245.3 kB / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1803, allocations: 0 / 0.639 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.216e-05/0.1803, allocations: 19.94 kB / 0.639 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1803, allocations: 4 kB / 0.639 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1804, allocations: 7.984 kB / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.1804, allocations: 0 / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1804, allocations: 0 / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.1807, allocations: 212.8 kB / 0.6393 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.1808, allocations: 96.86 kB / 0.6393 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.1808, allocations: 4 kB / 0.6393 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.1809, allocations: 8 kB / 0.6394 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.1809, allocations: 7.984 kB / 0.6394 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.1809, allocations: 11.98 kB / 0.6394 GB, free: 12.57 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001326/0.1811, allocations: 148.5 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1811, allocations: 0 / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.1813, allocations: 35.98 kB / 0.6396 GB, free: 12.39 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.001577/0.1829, allocations: 1.1 MB / 0.6406 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002855/0.1832, allocations: 127.9 kB / 0.6407 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1832, allocations: 64 / 0.6407 GB, free: 11.32 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.1834, allocations: 63.91 kB / 0.6408 GB, free: 11.26 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1837, allocations: 30.61 kB / 0.6408 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.1859, allocations: 1.95 MB / 0.6427 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1862, allocations: 0.7202 MB / 0.6434 GB, free: 8.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.1863, allocations: 45.67 kB / 0.6435 GB, free: 8.398 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.1864, allocations: 55.41 kB / 0.6435 GB, free: 8.344 MB / 494.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1864, allocations: 0 / 0.6435 GB, free: 8.344 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02418/0.2106, allocations: 4.766 MB / 0.6482 GB, free: 3.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/8.088, allocations: 11.05 kB / 0.6482 GB, free: 3.715 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)