Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009248/0.0009248, allocations: 100.1 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.0008025/0.0008026, allocations: 177.3 kB / 15.95 MB, free: 216 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.198/1.198, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001657, allocations: 277.4 kB / 291.3 MB, free: 2.008 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.7664/0.7664, allocations: 144.6 MB / 487 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 17.45 kB / 0.5683 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1545, allocations: 83.08 MB / 0.6494 GB, free: 3.664 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.00143/0.1559, allocations: 1.148 MB / 0.6505 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.157, allocations: 0.7669 MB / 0.6513 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.83e-05/0.157, allocations: 0 / 0.6513 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.1573, allocations: 127.2 kB / 0.6514 GB, free: 1.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.1573, allocations: 79.8 kB / 0.6515 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004618/0.1578, allocations: 124.9 kB / 0.6516 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.445e-05/0.1579, allocations: 47.86 kB / 0.6517 GB, free: 1.371 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.1579, allocations: 4.562 kB / 0.6517 GB, free: 1.367 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.607e-05/0.158, allocations: 42.31 kB / 0.6517 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1581, allocations: 59.88 kB / 0.6518 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1581, allocations: 4 kB / 0.6518 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.1584, allocations: 211.7 kB / 0.652 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.1585, allocations: 59.83 kB / 0.652 GB, free: 1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.459e-05/0.1586, allocations: 46.33 kB / 0.6521 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1588, allocations: 199.9 kB / 0.6523 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1588, allocations: 4.719 kB / 0.6523 GB, free: 0.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1588, allocations: 1.25 kB / 0.6523 GB, free: 0.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1588, allocations: 0 / 0.6523 GB, free: 0.75 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.0005777/0.1594, allocations: 499.9 kB / 0.6527 GB, free: 220 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1594, allocations: 8.031 kB / 0.6527 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.731e-05/0.1595, allocations: 19.72 kB / 0.6528 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1597, allocations: 263.1 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1597, allocations: 4.922 kB / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-06/0.1598, allocations: 0 / 0.653 GB, free: 15.89 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.16, allocations: 83.22 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.16, allocations: 0 / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.16, allocations: 0.625 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.16, allocations: 3.938 kB / 0.6531 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1602, allocations: 98.28 kB / 0.6532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004913/0.1607, allocations: 398.9 kB / 0.6536 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.1609, allocations: 100.3 kB / 0.6537 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.1609, allocations: 17.42 kB / 0.6537 GB, free: 15.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.161, allocations: 30.56 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.161, allocations: 6.5 kB / 0.6537 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004048/0.1614, allocations: 195.6 kB / 0.6539 GB, free: 14.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.1614, allocations: 51.41 kB / 0.654 GB, free: 14.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1617, allocations: 351.9 kB / 0.6543 GB, free: 14.49 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1617, allocations: 25.7 kB / 0.6543 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.118e-05/0.1618, allocations: 141.5 kB / 0.6545 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.1618, allocations: 7.906 kB / 0.6545 GB, free: 14.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-06/0.1619, allocations: 0 / 0.6545 GB, free: 14.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.162, allocations: 346 kB / 0.6548 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.1621, allocations: 99.94 kB / 0.6549 GB, free: 13.87 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.1623, allocations: 95.95 kB / 0.655 GB, free: 13.78 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1624, allocations: 108.6 kB / 0.6551 GB, free: 13.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1624, allocations: 0 / 0.6551 GB, free: 13.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003255/0.1627, allocations: 266.4 kB / 0.6553 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.1628, allocations: 4 kB / 0.6553 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1628, allocations: 0 / 0.6553 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1628, allocations: 7.984 kB / 0.6554 GB, free: 13.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.1629, allocations: 8 kB / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1629, allocations: 0 / 0.6554 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.613e-05/0.163, allocations: 23.81 kB / 0.6554 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.163, allocations: 0 / 0.6554 GB, free: 13.37 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): 2 * Array equations: 1 * 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 0.0001141/0.1631, allocations: 149.8 kB / 0.6555 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.1631, allocations: 23.72 kB / 0.6555 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.1634, allocations: 154.5 kB / 0.6557 GB, free: 13.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1634, allocations: 7.969 kB / 0.6557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1634, allocations: 0 / 0.6557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-06/0.1634, allocations: 0 / 0.6557 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.1637, allocations: 249.5 kB / 0.6559 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1637, allocations: 0 / 0.6559 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.1637, allocations: 11.98 kB / 0.656 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1637, allocations: 0 / 0.656 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.1637, allocations: 0 / 0.656 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1637, allocations: 0 / 0.656 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1638, allocations: 4 kB / 0.656 GB, free: 12.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.164, allocations: 247.1 kB / 0.6562 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.1641, allocations: 104.9 kB / 0.6563 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.859e-05/0.1641, allocations: 32 / 0.6563 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.1642, allocations: 8 kB / 0.6563 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.1643, allocations: 7.984 kB / 0.6563 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.1643, allocations: 0 / 0.6563 GB, free: 12.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.1645, allocations: 249.9 kB / 0.6565 GB, free: 12.08 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1645, allocations: 0 / 0.6565 GB, free: 12.08 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.1648, allocations: 68 kB / 0.6566 GB, free: 12.02 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 (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.0002555/0.1651, allocations: 159.2 kB / 0.6568 GB, free: 11.85 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1654, allocations: 168 kB / 0.6569 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1654, allocations: 0 / 0.6569 GB, free: 11.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.1655, allocations: 51.97 kB / 0.657 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.1657, allocations: 19.03 kB / 0.657 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.1663, allocations: 414.4 kB / 0.6574 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.1665, allocations: 0.7446 MB / 0.6581 GB, free: 10.41 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 3.771e-05/0.1666, allocations: 16.64 kB / 0.6581 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.1666, allocations: 11.44 kB / 0.6581 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1666, allocations: 0 / 0.6581 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Templates: time 0.004352/0.171, allocations: 2.072 MB / 0.6602 GB, free: 8.309 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) Environment - environmentSimulation: