Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009423/0.0009425, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7468/0.7468, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008501/0.0008502, allocations: 102.8 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.893e-05, allocations: 7.984 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4254, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.57, allocations: 110.8 MB / 0.7421 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5703, allocations: 83.92 kB / 0.7422 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004982/0.5753, allocations: 1.801 MB / 0.744 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5753, allocations: 0 / 0.744 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.5754, allocations: 0 / 0.744 GB, free: 10.01 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003122/0.5757, allocations: 350.3 kB / 0.7443 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5757, allocations: 12.03 kB / 0.7443 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.812e-05/0.5758, allocations: 4 kB / 0.7443 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.5759, allocations: 171 kB / 0.7445 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5759, allocations: 0 / 0.7445 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-06/0.5759, allocations: 0 / 0.7445 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.405e-05/0.576, allocations: 11.94 kB / 0.7445 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.22e-05/0.5761, allocations: 37.69 kB / 0.7445 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5761, allocations: 0 / 0.7445 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.5761, allocations: 0 / 0.7445 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5761, allocations: 4 kB / 0.7445 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.5763, allocations: 142.2 kB / 0.7447 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.5764, allocations: 34.53 kB / 0.7447 GB, free: 9.121 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.001e-05/0.5764, allocations: 9 kB / 0.7447 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009545/0.5774, allocations: 1.171 MB / 0.7458 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.5774, allocations: 38.5 kB / 0.7459 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 3.817e-06/0.5774, allocations: 3.984 kB / 0.7459 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001752/0.5776, allocations: 53.53 kB / 0.7459 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.5776, allocations: 51.41 kB / 0.746 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.121e-05/0.5777, allocations: 101 kB / 0.7461 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.5777, allocations: 25.7 kB / 0.7461 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.5778, allocations: 80.14 kB / 0.7462 GB, free: 7.289 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-05/0.5778, allocations: 7.906 kB / 0.7462 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.5778, allocations: 0 / 0.7462 GB, free: 7.281 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5779, allocations: 314.8 kB / 0.7465 GB, free: 6.965 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.578, allocations: 8 kB / 0.7465 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-06/0.578, allocations: 0 / 0.7465 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.578, allocations: 7.984 kB / 0.7465 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5781, allocations: 0 / 0.7465 GB, free: 6.949 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.872e-05/0.5782, allocations: 45.59 kB / 0.7465 GB, free: 6.898 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5782, allocations: 8 kB / 0.7465 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5782, allocations: 3.984 kB / 0.7466 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.5782, allocations: 0 / 0.7466 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.516e-05/0.5783, allocations: 12 kB / 0.7466 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5783, allocations: 0 / 0.7466 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.5783, allocations: 7.844 kB / 0.7466 GB, free: 6.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.5783, allocations: 8 kB / 0.7466 GB, free: 6.859 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.5784, allocations: 101 kB / 0.7467 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.535e-05/0.5785, allocations: 45.64 kB / 0.7467 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-06/0.5785, allocations: 4 kB / 0.7467 GB, free: 6.699 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.5787, allocations: 65.88 kB / 0.7468 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.5787, allocations: 0 / 0.7468 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5787, allocations: 0 / 0.7468 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5787, allocations: 3.984 kB / 0.7468 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.5788, allocations: 134.2 kB / 0.7469 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5788, allocations: 0 / 0.7469 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/0.5788, allocations: 8 kB / 0.7469 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.5788, allocations: 3.953 kB / 0.7469 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5789, allocations: 0 / 0.7469 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5789, allocations: 0 / 0.7469 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5789, allocations: 4 kB / 0.7469 GB, free: 6.441 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.579, allocations: 73.06 kB / 0.747 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.5791, allocations: 92.94 kB / 0.7471 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5791, allocations: 7.953 kB / 0.7471 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.729e-05/0.5791, allocations: 3.938 kB / 0.7471 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.5791, allocations: 0 / 0.7471 GB, free: 6.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.5792, allocations: 4 kB / 0.7471 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.5792, allocations: 83.28 kB / 0.7472 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5792, allocations: 0 / 0.7472 GB, free: 6.145 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002253/0.5794, allocations: 35.92 kB / 0.7472 GB, free: 6.109 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004863/0.5799, allocations: 0.6362 MB / 0.7478 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.784e-05/0.58, allocations: 11.94 kB / 0.7479 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.58, allocations: 4 kB / 0.7479 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.58, allocations: 8 kB / 0.7479 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.5802, allocations: 13.83 kB / 0.7479 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.5805, allocations: 113.5 kB / 0.748 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.5808, allocations: 0.6806 MB / 0.7486 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.754e-05/0.5809, allocations: 8 kB / 0.7487 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.5809, allocations: 11.44 kB / 0.7487 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of SimCode: time 2.9e-07/0.5809, allocations: 0 / 0.7487 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01989/0.6008, allocations: 1.09 MB / 0.7497 GB, free: 3.449 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.6011, allocations: 136.6 kB / 0.7499 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.077, allocations: 0 / 0.7499 GB, free: 3.262 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)