Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.008144/0.008144, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.002161/0.002161, allocations: 201.5 kB / 16.68 MB, free: 5.93 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8933/0.8933, allocations: 143.3 MB / 433.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 59.94 kB / 0.5953 GB, free: 12.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1437, allocations: 82.04 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002217/0.146, allocations: 1.262 MB / 0.6766 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003011/0.1463, allocations: 123.9 kB / 0.6768 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.463e-05/0.1463, allocations: 0 / 0.6768 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.165e-05/0.1464, allocations: 0 / 0.6768 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.1464, allocations: 7.938 kB / 0.6768 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.1466, allocations: 43.81 kB / 0.6768 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.1467, allocations: 11.94 kB / 0.6768 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.1468, allocations: 11.98 kB / 0.6768 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.877e-05/0.1468, allocations: 4 kB / 0.6768 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.804e-05/0.1468, allocations: 7.938 kB / 0.6768 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.1468, allocations: 0 / 0.6768 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.147, allocations: 51.94 kB / 0.6769 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.147, allocations: 0 / 0.6769 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.87e-05/0.147, allocations: 11.98 kB / 0.6769 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.1472, allocations: 40.11 kB / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1472, allocations: 0 / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1472, allocations: 0 / 0.6769 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1472, allocations: 0 / 0.6769 GB, free: 9.027 MB / 0.5137 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.0003976/0.1476, allocations: 335.4 kB / 0.6773 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1476, allocations: 12.03 kB / 0.6773 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.666e-05/0.1477, allocations: 30.75 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.1477, allocations: 0.9375 kB / 0.6773 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1478, allocations: 168.3 kB / 0.6775 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.1479, allocations: 8.312 kB / 0.6775 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.1479, allocations: 4.125 kB / 0.6775 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.098e-05/0.148, allocations: 33.7 kB / 0.6775 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.148, allocations: 4 kB / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.148, allocations: 0 / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.148, allocations: 0 / 0.6775 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.077e-05/0.148, allocations: 11.98 kB / 0.6775 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.1482, allocations: 145.7 kB / 0.6777 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.983e-05/0.1483, allocations: 30.5 kB / 0.6777 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.1483, allocations: 12.86 kB / 0.6777 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007374/0.149, allocations: 0.6052 MB / 0.6783 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.1491, allocations: 38.5 kB / 0.6783 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1491, allocations: 0 / 0.6783 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0001381/0.1492, allocations: 41.64 kB / 0.6784 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1493, allocations: 51.41 kB / 0.6784 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.435e-05/0.1493, allocations: 101.8 kB / 0.6785 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1494, allocations: 29.83 kB / 0.6786 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.1494, allocations: 88.12 kB / 0.6786 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.1494, allocations: 3.953 kB / 0.6786 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1495, allocations: 17.66 kB / 0.6787 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1496, allocations: 314.8 kB / 0.679 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.177e-05/0.1496, allocations: 0 / 0.679 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.063e-05/0.1496, allocations: 4 kB / 0.679 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.1497, allocations: 12.92 kB / 0.679 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1497, allocations: 4 kB / 0.679 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.898e-05/0.1498, allocations: 45.62 kB / 0.679 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1498, allocations: 8 kB / 0.679 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1498, allocations: 0 / 0.679 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1498, allocations: 0 / 0.679 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.629e-05/0.1499, allocations: 4 kB / 0.679 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1499, allocations: 3.938 kB / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.709e-05/0.1499, allocations: 0 / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.1499, allocations: 0 / 0.679 GB, free: 6.527 MB / 0.5137 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.567e-05/0.15, allocations: 109.9 kB / 0.6791 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.113e-05/0.15, allocations: 11.92 kB / 0.6792 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.635e-05/0.1501, allocations: 40.83 kB / 0.6792 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1501, allocations: 0 / 0.6792 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1501, allocations: 0 / 0.6792 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.1501, allocations: 3.984 kB / 0.6792 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.1502, allocations: 153.6 kB / 0.6793 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1502, allocations: 0 / 0.6793 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.1503, allocations: 4 kB / 0.6793 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1503, allocations: 8.016 kB / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.1503, allocations: 0 / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1503, allocations: 0 / 0.6794 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1503, allocations: 3.938 kB / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.821e-05/0.1504, allocations: 65.27 kB / 0.6794 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.1504, allocations: 89.03 kB / 0.6795 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.023e-05/0.1505, allocations: 0 / 0.6795 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.1505, allocations: 4 kB / 0.6795 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1505, allocations: 8.031 kB / 0.6795 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-06/0.1505, allocations: 3.938 kB / 0.6795 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.143e-05/0.1505, allocations: 79.28 kB / 0.6796 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1506, allocations: 3.938 kB / 0.6796 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001964/0.1508, allocations: 19.94 kB / 0.6796 GB, free: 5.832 MB / 0.5137 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.0004342/0.1512, allocations: 0.624 MB / 0.6802 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.853e-05/0.1513, allocations: 4 kB / 0.6802 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1513, allocations: 0 / 0.6802 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.1513, allocations: 8 kB / 0.6802 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001881/0.1515, allocations: 10.8 kB / 0.6802 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.1525, allocations: 1.091 MB / 0.6813 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1527, allocations: 0.6729 MB / 0.682 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.1528, allocations: 8 kB / 0.682 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.286e-05/0.1528, allocations: 11.42 kB / 0.682 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1528, allocations: 0 / 0.682 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1742, allocations: 1.448 MB / 0.6834 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/7.882, allocations: 1.719 kB / 0.6834 GB, free: 1.934 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)