Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009167/0.0009167, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 259.2 kB / 291.2 MB, free: 1.891 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7556/0.7556, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 14.34 kB / 0.5683 GB, free: 38.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1467, allocations: 83.08 MB / 0.6494 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001329/0.1481, allocations: 0.9991 MB / 0.6504 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.1485, allocations: 273.1 kB / 0.6507 GB, free: 2.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.1485, allocations: 4 kB / 0.6507 GB, free: 2.336 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.1486, allocations: 5.25 kB / 0.6507 GB, free: 2.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.075e-05/0.1487, allocations: 11.97 kB / 0.6507 GB, free: 2.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.1489, allocations: 61.69 kB / 0.6507 GB, free: 2.262 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.149, allocations: 15.97 kB / 0.6508 GB, free: 2.246 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.149, allocations: 4.562 kB / 0.6508 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.1492, allocations: 42.31 kB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.009e-05/0.1492, allocations: 11.94 kB / 0.6508 GB, free: 2.191 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.1493, allocations: 4.625 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1494, allocations: 76.41 kB / 0.6509 GB, free: 2.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.1494, allocations: 8.688 kB / 0.6509 GB, free: 2.105 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.1495, allocations: 25.7 kB / 0.6509 GB, free: 2.074 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.1496, allocations: 52.73 kB / 0.651 GB, free: 2.023 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.1496, allocations: 0 / 0.651 GB, free: 2.023 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1496, allocations: 0 / 0.651 GB, free: 2.023 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1496, allocations: 4.438 kB / 0.651 GB, free: 2.02 MB / 446.1 MB 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.0004303/0.1501, allocations: 354.3 kB / 0.6513 GB, free: 1.629 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1501, allocations: 12.03 kB / 0.6513 GB, free: 1.617 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.1501, allocations: 3.906 kB / 0.6513 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1503, allocations: 163.1 kB / 0.6515 GB, free: 1.414 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.1503, allocations: 3.953 kB / 0.6515 GB, free: 1.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.1503, allocations: 3.938 kB / 0.6515 GB, free: 1.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.1504, allocations: 42.19 kB / 0.6515 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1505, allocations: 4.688 kB / 0.6515 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1505, allocations: 0 / 0.6515 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1505, allocations: 0.5938 kB / 0.6515 GB, free: 1.355 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.1505, allocations: 13.45 kB / 0.6516 GB, free: 1.344 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1507, allocations: 153.7 kB / 0.6517 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.435e-05/0.1508, allocations: 31.23 kB / 0.6517 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.1519, allocations: 1.19 MB / 0.6529 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1519, allocations: 40.59 kB / 0.6529 GB, free: 15.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=3): time 2.164e-06/0.1519, allocations: 7.922 kB / 0.6529 GB, free: 15.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001386/0.1521, allocations: 45.69 kB / 0.653 GB, free: 15.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.1521, allocations: 55.41 kB / 0.653 GB, free: 15.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.758e-05/0.1522, allocations: 106.4 kB / 0.6531 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1522, allocations: 26.33 kB / 0.6532 GB, free: 15.35 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.1522, allocations: 84.12 kB / 0.6532 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/0.1523, allocations: 12.67 kB / 0.6533 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.1523, allocations: 4 kB / 0.6533 GB, free: 15.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1524, allocations: 315.7 kB / 0.6536 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.174e-05/0.1524, allocations: 2.156 kB / 0.6536 GB, free: 14.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.062e-05/0.1525, allocations: 4 kB / 0.6536 GB, free: 14.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.121e-05/0.1525, allocations: 11.98 kB / 0.6536 GB, free: 14.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1525, allocations: 3.938 kB / 0.6536 GB, free: 14.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.967e-05/0.1526, allocations: 37.7 kB / 0.6536 GB, free: 14.87 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1526, allocations: 8.609 kB / 0.6536 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1526, allocations: 0 / 0.6536 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1526, allocations: 8.922 kB / 0.6536 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.1527, allocations: 8 kB / 0.6536 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1527, allocations: 0 / 0.6536 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.1527, allocations: 0.7812 kB / 0.6536 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-06/0.1527, allocations: 0 / 0.6536 GB, free: 14.84 MB / 462.1 MB 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 (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.968e-05/0.1528, allocations: 111.2 kB / 0.6537 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.1528, allocations: 3.906 kB / 0.6538 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.1529, allocations: 76.84 kB / 0.6538 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1529, allocations: 3.938 kB / 0.6538 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.153, allocations: 0 / 0.6538 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.153, allocations: 3.938 kB / 0.6538 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.1531, allocations: 157.7 kB / 0.654 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1531, allocations: 0 / 0.654 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.1531, allocations: 5.062 kB / 0.654 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1531, allocations: 4 kB / 0.654 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1531, allocations: 4 kB / 0.654 GB, free: 14.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.1531, allocations: 7.953 kB / 0.654 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1531, allocations: 0 / 0.654 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.77e-05/0.1532, allocations: 69.06 kB / 0.6541 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.1533, allocations: 93 kB / 0.6542 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.1533, allocations: 0 / 0.6542 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.691e-05/0.1534, allocations: 0 / 0.6542 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.1534, allocations: 7.953 kB / 0.6542 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1534, allocations: 0 / 0.6542 GB, free: 14.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.06e-05/0.1534, allocations: 95.27 kB / 0.6543 GB, free: 14.11 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1534, allocations: 0 / 0.6543 GB, free: 14.11 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1536, allocations: 24 kB / 0.6543 GB, free: 14.09 MB / 462.1 MB 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 (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.0001604/0.1538, allocations: 124.7 kB / 0.6544 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 6.781e-05/0.1539, allocations: 16.41 kB / 0.6544 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1539, allocations: 4 kB / 0.6544 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.1539, allocations: 7.938 kB / 0.6544 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.1541, allocations: 9.875 kB / 0.6544 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002209/0.1543, allocations: 127 kB / 0.6546 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.1545, allocations: 0.6848 MB / 0.6552 GB, free: 13.06 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.275e-05/0.1546, allocations: 16.52 kB / 0.6552 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.1546, allocations: 11.44 kB / 0.6552 GB, free: 13.04 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1546, allocations: 0 / 0.6552 GB, free: 13.04 MB / 462.1 MB Notification: Performance of Templates: time 0.002526/0.1571, allocations: 0.7583 MB / 0.656 GB, free: 12.28 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) Environment - environmentSimulation: