Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_BaseClasses_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.005545/0.005545, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001544/0.001544, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8203/0.8203, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 71.2 kB / 0.5809 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1329, allocations: 80.2 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002107/0.135, allocations: 1.263 MB / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002769/0.1353, allocations: 119.8 kB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.374e-05/0.1353, allocations: 0 / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.1354, allocations: 3.984 kB / 0.6605 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.261e-05/0.1354, allocations: 3.938 kB / 0.6605 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1356, allocations: 43.88 kB / 0.6606 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.1357, allocations: 15.94 kB / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.1357, allocations: 0 / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.94e-05/0.1357, allocations: 7.938 kB / 0.6606 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.843e-05/0.1358, allocations: 11.92 kB / 0.6606 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1358, allocations: 0 / 0.6606 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1359, allocations: 51.94 kB / 0.6607 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.136, allocations: 0 / 0.6607 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.136, allocations: 7.938 kB / 0.6607 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1361, allocations: 40.16 kB / 0.6607 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1361, allocations: 4 kB / 0.6607 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1361, allocations: 4 kB / 0.6607 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1361, allocations: 0 / 0.6607 GB, free: 9.191 MB / 0.4981 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.000369/0.1365, allocations: 331.4 kB / 0.661 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.1365, allocations: 12.03 kB / 0.6611 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.1366, allocations: 30.75 kB / 0.6611 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.843e-05/0.1366, allocations: 4.875 kB / 0.6611 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1368, allocations: 172.3 kB / 0.6612 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.1368, allocations: 4.375 kB / 0.6613 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-06/0.1368, allocations: 8.125 kB / 0.6613 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.87e-05/0.1369, allocations: 25.7 kB / 0.6613 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1369, allocations: 4 kB / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1369, allocations: 0 / 0.6613 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.1369, allocations: 3.938 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.742e-05/0.1369, allocations: 4 kB / 0.6613 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1371, allocations: 149.7 kB / 0.6614 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.179e-05/0.1372, allocations: 30.61 kB / 0.6615 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.898e-05/0.1372, allocations: 8.859 kB / 0.6615 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.1379, allocations: 0.6051 MB / 0.6621 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1379, allocations: 30.56 kB / 0.6621 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1379, allocations: 0 / 0.6621 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001312/0.1381, allocations: 53.56 kB / 0.6621 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1381, allocations: 55.53 kB / 0.6622 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.1382, allocations: 101.8 kB / 0.6623 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1382, allocations: 25.7 kB / 0.6623 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.491e-05/0.1383, allocations: 80.14 kB / 0.6624 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.133e-05/0.1383, allocations: 7.953 kB / 0.6624 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.1383, allocations: 17.7 kB / 0.6624 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.1385, allocations: 314.8 kB / 0.6627 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.1385, allocations: 0 / 0.6627 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.1385, allocations: 8 kB / 0.6627 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.1385, allocations: 16.8 kB / 0.6627 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1385, allocations: 0 / 0.6627 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.674e-05/0.1386, allocations: 45.58 kB / 0.6628 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.1386, allocations: 4 kB / 0.6628 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1386, allocations: 4 kB / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.1387, allocations: 0 / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.123e-05/0.1387, allocations: 0 / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.1387, allocations: 4 kB / 0.6628 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.1387, allocations: 4.094 kB / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.1387, allocations: 0 / 0.6628 GB, free: 6.695 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/0.1388, allocations: 113.8 kB / 0.6629 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.1388, allocations: 7.938 kB / 0.6629 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.302e-05/0.1389, allocations: 48.75 kB / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1389, allocations: 0 / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.139, allocations: 0 / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.139, allocations: 0 / 0.663 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.1391, allocations: 161.6 kB / 0.6631 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1391, allocations: 0 / 0.6631 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.1391, allocations: 4 kB / 0.6631 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1391, allocations: 0 / 0.6631 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.1391, allocations: 0 / 0.6631 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1391, allocations: 0 / 0.6631 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1391, allocations: 0 / 0.6631 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.542e-05/0.1392, allocations: 77 kB / 0.6632 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.223e-05/0.1393, allocations: 81.14 kB / 0.6633 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.1393, allocations: 0 / 0.6633 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.572e-05/0.1393, allocations: 0 / 0.6633 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.72e-05/0.1393, allocations: 7.984 kB / 0.6633 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.1393, allocations: 0 / 0.6633 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.1394, allocations: 75.28 kB / 0.6634 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.1394, allocations: 4 kB / 0.6634 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001888/0.1396, allocations: 11.94 kB / 0.6634 GB, free: 6.008 MB / 0.4981 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 () * Number of clocked 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 (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.0004114/0.14, allocations: 0.6318 MB / 0.664 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.134e-05/0.1401, allocations: 11.94 kB / 0.664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1401, allocations: 0 / 0.664 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.1401, allocations: 4 kB / 0.664 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.1403, allocations: 10.69 kB / 0.664 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009062/0.1412, allocations: 1.091 MB / 0.6651 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1415, allocations: 0.6768 MB / 0.6657 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.1415, allocations: 0 / 0.6657 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.1416, allocations: 7.438 kB / 0.6657 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of SimCode: time 2.034e-06/0.1416, allocations: 0 / 0.6657 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1192/0.2608, allocations: 1.424 MB / 0.6671 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.588/7.849, allocations: 6.234 kB / 0.6671 GB, free: 2.113 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IDEAS_IDEAS.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)