Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",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.0009575/0.0009576, allocations: 172.5 kB / 7.647 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.8181/0.8181, allocations: 133.6 MB / 141.6 MB, free: 2.867 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.47/1.47, allocations: 221.5 MB / 395.4 MB, free: 10.75 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.001062/0.001062, allocations: 95.86 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.425e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.5433, allocations: 110.4 MB / 0.7417 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.5436, allocations: 75.94 kB / 0.7418 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002354/0.546, allocations: 0.8501 MB / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.563e-06/0.546, allocations: 0 / 0.7426 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.546, allocations: 0 / 0.7426 GB, free: 11.36 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002931/0.5463, allocations: 326.5 kB / 0.7429 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.367e-05/0.5464, allocations: 8.031 kB / 0.7429 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.5464, allocations: 3.906 kB / 0.7429 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.5466, allocations: 179 kB / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.5466, allocations: 0 / 0.7431 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.5467, allocations: 4 kB / 0.7431 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.705e-05/0.5467, allocations: 4 kB / 0.7431 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.593e-05/0.5468, allocations: 33.64 kB / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.5468, allocations: 0 / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.5468, allocations: 0 / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5468, allocations: 0 / 0.7432 GB, free: 10.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.547, allocations: 134.3 kB / 0.7433 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.818e-05/0.547, allocations: 29.98 kB / 0.7433 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.5471, allocations: 8.922 kB / 0.7433 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006613/0.5477, allocations: 0.6013 MB / 0.7439 GB, free: 9.773 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.5478, allocations: 30.56 kB / 0.7439 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5478, allocations: 0 / 0.7439 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001824/0.548, allocations: 37.64 kB / 0.744 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.548, allocations: 55.39 kB / 0.744 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.301e-05/0.5481, allocations: 97.03 kB / 0.7441 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.5481, allocations: 25.7 kB / 0.7441 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.5482, allocations: 84.14 kB / 0.7442 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.5482, allocations: 7.844 kB / 0.7442 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-06/0.5482, allocations: 0 / 0.7442 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.5483, allocations: 310.8 kB / 0.7445 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.5483, allocations: 8 kB / 0.7445 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-06/0.5483, allocations: 0 / 0.7445 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.604e-05/0.5484, allocations: 8.047 kB / 0.7445 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5484, allocations: 7.938 kB / 0.7445 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.5485, allocations: 37.66 kB / 0.7446 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.5485, allocations: 4 kB / 0.7446 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.5485, allocations: 0 / 0.7446 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.5485, allocations: 0 / 0.7446 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.161e-05/0.5486, allocations: 4 kB / 0.7446 GB, free: 9.012 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.828e-06/0.5486, allocations: 3.938 kB / 0.7446 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.806e-05/0.5486, allocations: 3.938 kB / 0.7446 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.5486, allocations: 11.98 kB / 0.7446 GB, free: 8.992 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 (2): * Single equations (assignments): 2 * 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.301e-05/0.5487, allocations: 105 kB / 0.7447 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.195e-05/0.5487, allocations: 41.66 kB / 0.7447 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-06/0.5488, allocations: 0 / 0.7447 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.614e-05/0.5489, allocations: 45.34 kB / 0.7448 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5489, allocations: 4 kB / 0.7448 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5489, allocations: 3.938 kB / 0.7448 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.5489, allocations: 0 / 0.7448 GB, free: 8.781 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.238e-05/0.549, allocations: 134.2 kB / 0.7449 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.549, allocations: 0 / 0.7449 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.035e-05/0.549, allocations: 4.062 kB / 0.7449 GB, free: 8.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.549, allocations: 7.953 kB / 0.7449 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.549, allocations: 0 / 0.7449 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.549, allocations: 0 / 0.7449 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.549, allocations: 0 / 0.7449 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.906e-05/0.5491, allocations: 61.12 kB / 0.745 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.5492, allocations: 81.11 kB / 0.7451 GB, free: 8.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.5492, allocations: 3.984 kB / 0.7451 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.6e-05/0.5492, allocations: 4 kB / 0.7451 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-06/0.5492, allocations: 192 / 0.7451 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.5492, allocations: 0 / 0.7451 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.844e-05/0.5493, allocations: 87.25 kB / 0.7452 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5493, allocations: 0 / 0.7452 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001889/0.5495, allocations: 12 kB / 0.7452 GB, free: 8.32 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 (2): * Single equations (assignments): 2 * 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.0004229/0.5499, allocations: 0.6124 MB / 0.7458 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.123e-05/0.55, allocations: 8 kB / 0.7458 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.55, allocations: 4 kB / 0.7458 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.55, allocations: 4 kB / 0.7458 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.5502, allocations: 18.12 kB / 0.7458 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.5505, allocations: 97.73 kB / 0.7459 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.5508, allocations: 0.6768 MB / 0.7466 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.5508, allocations: 0 / 0.7466 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.5508, allocations: 15.44 kB / 0.7466 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.5509, allocations: 0 / 0.7466 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01732/0.5682, allocations: 0.894 MB / 0.7475 GB, free: 5.906 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.5684, allocations: 140 kB / 0.7476 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.441/2.01, allocations: 0 / 0.7476 GB, free: 5.715 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)