Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.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.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") translateModel(BuildingSystems.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009275/0.0009274, allocations: 99.86 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.0008531/0.0008531, 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.274/1.274, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001736/0.001735, allocations: 267.2 kB / 291.3 MB, free: 1.973 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.781/0.781, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 15.59 kB / 0.5683 GB, free: 38.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 83.08 MB / 0.6494 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.OneRoom): time 0.4491/0.5956, allocations: 176.1 MB / 0.8214 GB, free: 1.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.6061, allocations: 9.771 MB / 0.8309 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.6076, allocations: 35.53 kB / 0.831 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.6096, allocations: 0.7379 MB / 0.8317 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.6161, allocations: 2.3 MB / 0.8339 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003432/0.6196, allocations: 1.095 MB / 0.835 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003696/0.6233, allocations: 1.824 MB / 0.8368 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.625, allocations: 0.7583 MB / 0.8375 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.6274, allocations: 0.8925 MB / 0.8384 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.629, allocations: 0.6725 MB / 0.8391 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.6295, allocations: 57.28 kB / 0.8391 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.6332, allocations: 1.092 MB / 0.8402 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006486/0.6338, allocations: 392 kB / 0.8405 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007341/0.6346, allocations: 285.8 kB / 0.8408 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00249/0.6371, allocations: 1.643 MB / 0.8424 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.6371, allocations: 0 / 0.8424 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6371, allocations: 4 kB / 0.8424 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.072e-05/0.6371, allocations: 0 / 0.8424 GB, free: 17.05 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.003169/0.6403, allocations: 1.513 MB / 0.8439 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.6404, allocations: 7.781 kB / 0.8439 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0026/0.643, allocations: 438.4 kB / 0.8443 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001304/0.6443, allocations: 0.824 MB / 0.8451 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.6443, allocations: 74.98 kB / 0.8452 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.6445, allocations: 101.9 kB / 0.8453 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001679/0.6462, allocations: 1.182 MB / 0.8465 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.6462, allocations: 8.828 kB / 0.8465 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.6463, allocations: 40.34 kB / 0.8465 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-05/0.6464, allocations: 54.77 kB / 0.8466 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.6479, allocations: 1.066 MB / 0.8476 GB, free: 14.89 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004869/0.6527, allocations: 4.732 MB / 0.8522 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.654, allocations: 0.9845 MB / 0.8532 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.6546, allocations: 0.6727 MB / 0.8538 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.6546, allocations: 48.06 kB / 0.8539 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=82): time 2.936e-06/0.6546, allocations: 0 / 0.8539 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.003707/0.6583, allocations: 2.283 MB / 0.8561 GB, free: 9.773 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.6584, allocations: 60.56 kB / 0.8562 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006315/0.659, allocations: 0.6392 MB / 0.8568 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.6591, allocations: 46.36 kB / 0.8568 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002504/0.6594, allocations: 458.8 kB / 0.8573 GB, free: 9.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.6596, allocations: 296.6 kB / 0.8576 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.6596, allocations: 17.27 kB / 0.8576 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6598, allocations: 398.8 kB / 0.858 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.6602, allocations: 314.1 kB / 0.8583 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004697/0.6607, allocations: 430.2 kB / 0.8587 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004796/0.6612, allocations: 382.8 kB / 0.859 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6612, allocations: 2.844 kB / 0.859 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001211/0.6624, allocations: 0.9458 MB / 0.86 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.6624, allocations: 8 kB / 0.86 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6624, allocations: 0.75 kB / 0.86 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.6627, allocations: 73.23 kB / 0.86 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.6633, allocations: 151.3 kB / 0.8602 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004345/0.6637, allocations: 0.6396 MB / 0.8608 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009559/0.6647, allocations: 104.2 kB / 0.8609 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.6648, allocations: 33.39 kB / 0.8609 GB, free: 7.609 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.000415/0.6652, allocations: 303.7 kB / 0.8612 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6653, allocations: 87.59 kB / 0.8613 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.6666, allocations: 0.9215 MB / 0.8622 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.6666, allocations: 14.52 kB / 0.8622 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6666, allocations: 0 / 0.8622 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/0.6677, allocations: 0.9236 MB / 0.8631 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002873/0.6706, allocations: 2.094 MB / 0.8652 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.6706, allocations: 0 / 0.8652 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008525/0.6714, allocations: 188.3 kB / 0.8653 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.6715, allocations: 8.797 kB / 0.8654 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/0.6715, allocations: 19.58 kB / 0.8654 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.6715, allocations: 6.562 kB / 0.8654 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6715, allocations: 2.906 kB / 0.8654 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001637/0.6732, allocations: 1.369 MB / 0.8667 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.6737, allocations: 249.8 kB / 0.867 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.6738, allocations: 21.39 kB / 0.867 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008358/0.6747, allocations: 83.73 kB / 0.8671 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6748, allocations: 52.33 kB / 0.8671 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.966e-05/0.6748, allocations: 25.55 kB / 0.8671 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005003/0.6754, allocations: 453.6 kB / 0.8676 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6754, allocations: 0 / 0.8676 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009074/0.6763, allocations: 321.1 kB / 0.8679 GB, free: 5.422 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (83): * Single equations (assignments): 83 * 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.0003859/0.6767, allocations: 212.9 kB / 0.8681 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.6781, allocations: 0.8151 MB / 0.8689 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6781, allocations: 0 / 0.8689 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.6787, allocations: 433.8 kB / 0.8693 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/0.681, allocations: 0.5491 MB / 0.8698 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.685, allocations: 2.829 MB / 0.8726 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/0.6857, allocations: 1.147 MB / 0.8737 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001058/0.6868, allocations: 248.7 kB / 0.8739 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.6871, allocations: 78.52 kB / 0.874 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.6871, allocations: 5.859 kB / 0.874 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of Templates: time 0.03053/0.7176, allocations: 18.84 MB / 0.8924 GB, free: 15.66 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) Environment - environmentSimulation: