Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.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.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",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.0009595/0.0009596, allocations: 107.2 kB / 15.99 MB, free: 5.906 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.0008706/0.0008707, allocations: 187.5 kB / 16.9 MB, free: 5.758 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.165/1.165, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6531/0.6531, allocations: 115.3 MB / 406.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 63.91 kB / 493.2 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2655, allocations: 76.17 MB / 0.556 GB, free: 36.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.0896/0.3551, allocations: 114.2 MB / 0.6675 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.3866, allocations: 26.38 MB / 0.6933 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.3903, allocations: 103.4 kB / 0.6934 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00303/0.3933, allocations: 0.9831 MB / 0.6943 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007964/0.4013, allocations: 3.177 MB / 0.6974 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005187/0.4065, allocations: 2.135 MB / 0.6995 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.006783/0.4133, allocations: 6.225 MB / 0.7056 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002448/0.4158, allocations: 1.906 MB / 0.7074 GB, free: 9.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.4207, allocations: 2.646 MB / 0.71 GB, free: 6.543 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.4231, allocations: 1.816 MB / 0.7118 GB, free: 4.719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.4235, allocations: 220 kB / 0.712 GB, free: 4.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.4276, allocations: 2.382 MB / 0.7143 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005733/0.4281, allocations: 0.5409 MB / 0.7149 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.4306, allocations: 1.287 MB / 0.7161 GB, free: 288 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007461/0.4381, allocations: 4.082 MB / 0.7201 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4381, allocations: 0 / 0.7201 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4381, allocations: 0 / 0.7201 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.247e-05/0.4381, allocations: 0 / 0.7201 GB, free: 12.19 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.007193/0.4453, allocations: 2.834 MB / 0.7229 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4454, allocations: 12.03 kB / 0.7229 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003293/0.4457, allocations: 198.6 kB / 0.7231 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008548/0.4466, allocations: 253.1 kB / 0.7233 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005537/0.4521, allocations: 2.097 MB / 0.7254 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.4523, allocations: 102.7 kB / 0.7255 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.4526, allocations: 136 kB / 0.7256 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/0.4561, allocations: 1.469 MB / 0.727 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.4561, allocations: 0 / 0.727 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001825/0.4563, allocations: 52 kB / 0.7271 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.823e-05/0.4564, allocations: 36 kB / 0.7271 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.4593, allocations: 1.025 MB / 0.7281 GB, free: 3.781 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01139/0.4707, allocations: 8.12 MB / 0.736 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.4729, allocations: 0.8412 MB / 0.7369 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008997/0.4738, allocations: 377.4 kB / 0.7372 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002772/0.4766, allocations: 2.807 MB / 0.74 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4767, allocations: 51.16 kB / 0.74 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.407e-06/0.4767, allocations: 0 / 0.74 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.003183/0.4799, allocations: 1.121 MB / 0.7411 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.4799, allocations: 64 kB / 0.7412 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002953/0.4829, allocations: 1.602 MB / 0.7427 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/0.483, allocations: 45.64 kB / 0.7428 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009682/0.484, allocations: 0.9316 MB / 0.7437 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.4843, allocations: 311.5 kB / 0.744 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000465/0.4848, allocations: 227.5 kB / 0.7442 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.485, allocations: 349.9 kB / 0.7445 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009065/0.4859, allocations: 325.9 kB / 0.7448 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.4872, allocations: 0.715 MB / 0.7455 GB, free: 312 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2131/0.7003, allocations: 1.08 MB / 0.7466 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7003, allocations: 3.156 kB / 0.7466 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002246/0.7026, allocations: 1.253 MB / 0.7478 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.7026, allocations: 11.59 kB / 0.7478 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/0.7027, allocations: 16.44 kB / 0.7479 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/0.7027, allocations: 17.95 kB / 0.7479 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/0.7035, allocations: 270.3 kB / 0.7481 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.7035, allocations: 26 kB / 0.7481 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.7046, allocations: 178.7 kB / 0.7483 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.7047, allocations: 68.53 kB / 0.7484 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009656/0.7057, allocations: 0.6217 MB / 0.749 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006905/0.7064, allocations: 0.7025 MB / 0.7497 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001266/0.7076, allocations: 1.08 MB / 0.7507 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.563e-06/0.7077, allocations: 4.219 kB / 0.7507 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=144) (initialization_lambda0): time 0.001821/0.7095, allocations: 1.242 MB / 0.752 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7095, allocations: 10.47 kB / 0.752 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.7095, allocations: 20.67 kB / 0.752 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7096, allocations: 18.34 kB / 0.752 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006984/0.7103, allocations: 260.3 kB / 0.7522 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.756e-05/0.7103, allocations: 25.42 kB / 0.7523 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009374/0.7112, allocations: 148.6 kB / 0.7524 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.296e-05/0.7113, allocations: 64.06 kB / 0.7525 GB, free: 165.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002033/0.7115, allocations: 258.6 kB / 0.7527 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002525/0.7118, allocations: 188.6 kB / 0.7529 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002641/0.7144, allocations: 1.739 MB / 0.7546 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.656e-05/0.7145, allocations: 21.39 kB / 0.7546 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7145, allocations: 3.75 kB / 0.7546 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00149/0.716, allocations: 1.152 MB / 0.7557 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.7203, allocations: 3.481 MB / 0.7591 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.279e-05/0.7203, allocations: 10.34 kB / 0.7592 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.721, allocations: 201.2 kB / 0.7593 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.721, allocations: 10.97 kB / 0.7594 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.961e-05/0.7211, allocations: 41.28 kB / 0.7594 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/0.7211, allocations: 16.16 kB / 0.7594 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.7211, allocations: 7.734 kB / 0.7594 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.7238, allocations: 2.235 MB / 0.7616 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.7243, allocations: 439.7 kB / 0.762 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.7245, allocations: 34.69 kB / 0.7621 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008898/0.7254, allocations: 92.83 kB / 0.7621 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.7256, allocations: 118.2 kB / 0.7623 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/0.7257, allocations: 65.73 kB / 0.7623 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001222/0.7269, allocations: 1.076 MB / 0.7634 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.727, allocations: 1.219 kB / 0.7634 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00241/0.7294, allocations: 1.132 MB / 0.7645 GB, free: 160 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * 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.003919/0.7333, allocations: 3.449 MB / 0.7678 GB, free: 158.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003175/0.7365, allocations: 1.899 MB / 0.7697 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7365, allocations: 2.594 kB / 0.7697 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.7375, allocations: 0.8256 MB / 0.7705 GB, free: 157.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/0.7411, allocations: 0.9697 MB / 0.7715 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/0.7589, allocations: 14.5 MB / 0.7856 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/0.7596, allocations: 1.437 MB / 0.787 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001756/0.7614, allocations: 0.5432 MB / 0.7876 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.7621, allocations: 0.848 MB / 0.7884 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.7621, allocations: 0 / 0.7884 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6724/1.435, allocations: 57.73 MB / 0.8448 GB, free: 90.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.435, allocations: 244.4 kB / 0.845 GB, free: 90.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/5.028, allocations: 0 / 0.845 GB, free: 90.48 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)