Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw",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.0008223/0.0008223, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.004709/0.004709, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.136/1.136, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.668/0.668, allocations: 132.3 MB / 423.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 10.19 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3038, allocations: 81.56 MB / 0.5837 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.PowerLaw): time 0.1591/0.4629, allocations: 187.9 MB / 0.7672 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004819/0.4678, allocations: 4.033 MB / 0.7711 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.4682, allocations: 15.88 kB / 0.7712 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008192/0.469, allocations: 397.8 kB / 0.7715 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.4714, allocations: 1.439 MB / 0.7729 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.4737, allocations: 1.244 MB / 0.7742 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001797/0.4755, allocations: 2.353 MB / 0.7765 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008505/0.4764, allocations: 0.8748 MB / 0.7773 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008669/0.4772, allocations: 0.8563 MB / 0.7781 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.4781, allocations: 0.8604 MB / 0.779 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.4782, allocations: 72 kB / 0.7791 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.48, allocations: 1.566 MB / 0.7806 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.4803, allocations: 327 kB / 0.7809 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.00039/0.4807, allocations: 0.511 MB / 0.7814 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.4821, allocations: 1.69 MB / 0.783 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4821, allocations: 0 / 0.783 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4821, allocations: 0 / 0.783 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.4822, allocations: 0 / 0.783 GB, free: 3.516 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002049/0.4842, allocations: 1.18 MB / 0.7842 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4843, allocations: 8.031 kB / 0.7842 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.4844, allocations: 94.5 kB / 0.7843 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.4857, allocations: 238.7 kB / 0.7845 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.4863, allocations: 0.5837 MB / 0.7851 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.4864, allocations: 44.94 kB / 0.7851 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/0.4865, allocations: 52 kB / 0.7852 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.4877, allocations: 0.9687 MB / 0.7861 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4878, allocations: 0 / 0.7861 GB, free: 184 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.4878, allocations: 31.94 kB / 0.7862 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.773e-05/0.4879, allocations: 27.98 kB / 0.7862 GB, free: 124 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.4892, allocations: 0.9484 MB / 0.7871 GB, free: 15.17 MB / 0.6231 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.004125/0.4933, allocations: 4.192 MB / 0.7912 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008148/0.4942, allocations: 0.6071 MB / 0.7918 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.4948, allocations: 0.5174 MB / 0.7923 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008323/0.4957, allocations: 0.8939 MB / 0.7932 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4957, allocations: 39 kB / 0.7932 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001249/0.497, allocations: 355.2 kB / 0.7936 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 1.553e-06/0.497, allocations: 4 kB / 0.7936 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01579/0.5128, allocations: 3.693 MB / 0.7972 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.5128, allocations: 55.84 kB / 0.7972 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/0.5135, allocations: 0.7078 MB / 0.7979 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.5136, allocations: 37.64 kB / 0.7979 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.5138, allocations: 324.6 kB / 0.7983 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.5139, allocations: 177.4 kB / 0.7984 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.539e-05/0.514, allocations: 45.7 kB / 0.7985 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 8.112e-05/0.5141, allocations: 330 kB / 0.7988 GB, free: 2.734 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.5147, allocations: 396.9 kB / 0.7992 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006282/0.5153, allocations: 497.5 kB / 0.7996 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.5166, allocations: 0.9297 MB / 0.8005 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.5166, allocations: 0 / 0.8005 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01029/0.5269, allocations: 2.486 MB / 0.803 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5269, allocations: 11.88 kB / 0.803 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.527, allocations: 4 kB / 0.803 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008549/0.5355, allocations: 1.55 MB / 0.8045 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.5359, allocations: 91.86 kB / 0.8046 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.5462, allocations: 6.555 MB / 0.811 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.5468, allocations: 39.89 kB / 0.811 GB, free: 5.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/0.5469, allocations: 51.86 kB / 0.8111 GB, free: 5.785 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002618/0.5472, allocations: 203.3 kB / 0.8113 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.5473, allocations: 79.06 kB / 0.8113 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004648/0.552, allocations: 1.691 MB / 0.813 GB, free: 3.797 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.552, allocations: 4 kB / 0.813 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.552, allocations: 4 kB / 0.813 GB, free: 3.789 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.552, allocations: 7.922 kB / 0.813 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005113/0.5571, allocations: 2.477 MB / 0.8154 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.5571, allocations: 4 kB / 0.8154 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003774/0.5575, allocations: 92.08 kB / 0.8155 GB, free: 1.129 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002966/0.5605, allocations: 0.6572 MB / 0.8162 GB, free: 476 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.5605, allocations: 15.94 kB / 0.8162 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2071/0.7677, allocations: 4.406 MB / 0.8205 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.7677, allocations: 6.969 kB / 0.8205 GB, free: 217 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.7725, allocations: 2.093 MB / 0.8225 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.7729, allocations: 232 kB / 0.8228 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.7731, allocations: 13.3 kB / 0.8228 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005845/0.7737, allocations: 37.39 kB / 0.8228 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.7738, allocations: 53.12 kB / 0.8229 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.516e-05/0.7739, allocations: 23.34 kB / 0.8229 GB, free: 216 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005814/0.7745, allocations: 0.4957 MB / 0.8234 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.71e-07/0.7745, allocations: 3.062 kB / 0.8234 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008508/0.7753, allocations: 292.5 kB / 0.8236 GB, free: 215.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005155/0.7805, allocations: 2.752 MB / 0.8263 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002943/0.7834, allocations: 1.429 MB / 0.8277 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.7834, allocations: 4.531 kB / 0.8277 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.785, allocations: 0.8827 MB / 0.8286 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.787, allocations: 435.9 kB / 0.829 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02582/0.8128, allocations: 10.83 MB / 0.8396 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.8132, allocations: 0.9849 MB / 0.8405 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005763/0.8138, allocations: 168.5 kB / 0.8407 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.8141, allocations: 282.4 kB / 0.841 GB, free: 207 MB / 0.6387 GB Notification: Performance of SimCode: time 2.21e-07/0.8141, allocations: 1.344 kB / 0.841 GB, free: 207 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3698/1.184, allocations: 27.89 MB / 0.8682 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.184, allocations: 257.1 kB / 0.8685 GB, free: 184 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.642, allocations: 0 / 0.8685 GB, free: 184 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)