Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002035/0.002035, allocations: 193 kB / 16.14 MB, free: 6.715 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.449/1.449, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 279.1 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002855/0.002856, allocations: 98.22 kB / 0.6057 GB, free: 25.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1903, allocations: 89.15 MB / 0.6928 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5901/0.7804, allocations: 199.7 MB / 0.8878 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.793, allocations: 7.479 MB / 0.8951 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001607/0.7946, allocations: 31.81 kB / 0.8952 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002259/0.7969, allocations: 0.6026 MB / 0.8958 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006386/0.8033, allocations: 2.268 MB / 0.898 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.8064, allocations: 1.128 MB / 0.8991 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005579/0.812, allocations: 4.158 MB / 0.9031 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.8134, allocations: 0.8184 MB / 0.9039 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.8155, allocations: 0.8792 MB / 0.9048 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002591/0.8181, allocations: 0.9986 MB / 0.9058 GB, free: 1.957 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.8183, allocations: 63.94 kB / 0.9058 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005215/0.8236, allocations: 2.486 MB / 0.9083 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007075/0.8243, allocations: 398.6 kB / 0.9086 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.8255, allocations: 0.6142 MB / 0.9092 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004714/0.8302, allocations: 2.497 MB / 0.9117 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8302, allocations: 4 kB / 0.9117 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8303, allocations: 0 / 0.9117 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.701e-05/0.8303, allocations: 4 kB / 0.9117 GB, free: 11.88 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004231/0.8345, allocations: 1.625 MB / 0.9133 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.8346, allocations: 12.03 kB / 0.9133 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.8373, allocations: 374.2 kB / 0.9136 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.839, allocations: 0.8123 MB / 0.9144 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.278e-05/0.839, allocations: 65.94 kB / 0.9145 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.8392, allocations: 84 kB / 0.9146 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.8411, allocations: 1.046 MB / 0.9156 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.607e-05/0.8412, allocations: 3.906 kB / 0.9156 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-05/0.8413, allocations: 36 kB / 0.9156 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.047e-05/0.8413, allocations: 41.98 kB / 0.9157 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.843, allocations: 0.8822 MB / 0.9165 GB, free: 6.785 MB / 0.6387 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.005713/0.8487, allocations: 4.292 MB / 0.9207 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.8501, allocations: 0.6896 MB / 0.9214 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.8509, allocations: 461.3 kB / 0.9218 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007363/0.8517, allocations: 0.6693 MB / 0.9225 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.8517, allocations: 43.12 kB / 0.9225 GB, free: 120 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.545e-06/0.8517, allocations: 0 / 0.9225 GB, free: 120 kB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.002097/0.8538, allocations: 0.99 MB / 0.9235 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.8539, allocations: 55.97 kB / 0.9236 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.8548, allocations: 0.6373 MB / 0.9242 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.8549, allocations: 45.7 kB / 0.9242 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.8553, allocations: 440 kB / 0.9246 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.8556, allocations: 244.3 kB / 0.9249 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.8558, allocations: 118.2 kB / 0.925 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.8561, allocations: 394.7 kB / 0.9254 GB, free: 13.17 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.8566, allocations: 277.2 kB / 0.9256 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.8572, allocations: 357.1 kB / 0.926 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8583, allocations: 0.6626 MB / 0.9266 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8583, allocations: 0 / 0.9266 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001459/0.8598, allocations: 0.793 MB / 0.9274 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.8598, allocations: 8 kB / 0.9274 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8598, allocations: 0 / 0.9274 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.8598, allocations: 4 kB / 0.9274 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/0.8605, allocations: 144 kB / 0.9275 GB, free: 10.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.8606, allocations: 11.98 kB / 0.9275 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009798/0.8615, allocations: 115.3 kB / 0.9277 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.847e-05/0.8616, allocations: 23.94 kB / 0.9277 GB, free: 10.74 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * 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 0.0005102/0.8621, allocations: 297.6 kB / 0.928 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.8623, allocations: 82.97 kB / 0.928 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.8638, allocations: 0.7979 MB / 0.9288 GB, free: 9.555 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.8638, allocations: 8 kB / 0.9288 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/0.8638, allocations: 0 / 0.9288 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.8651, allocations: 0.8191 MB / 0.9296 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003145/0.8683, allocations: 1.848 MB / 0.9314 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.8683, allocations: 0 / 0.9314 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009285/0.8692, allocations: 171.8 kB / 0.9316 GB, free: 6.602 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.8692, allocations: 7.938 kB / 0.9316 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.8693, allocations: 12 kB / 0.9316 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.8693, allocations: 4 kB / 0.9316 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.8693, allocations: 0 / 0.9316 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.8712, allocations: 1.197 MB / 0.9328 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.8717, allocations: 251.7 kB / 0.933 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.8718, allocations: 16 kB / 0.933 GB, free: 5.082 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/0.8726, allocations: 67.84 kB / 0.9331 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.8728, allocations: 44.44 kB / 0.9332 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.8728, allocations: 27.98 kB / 0.9332 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006236/0.8735, allocations: 463 kB / 0.9336 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8735, allocations: 0 / 0.9336 GB, free: 4.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009297/0.8744, allocations: 331.2 kB / 0.9339 GB, free: 4.172 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.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 (70): * Single equations (assignments): 70 * 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.0003841/0.8748, allocations: 196.2 kB / 0.9341 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001517/0.8763, allocations: 0.6757 MB / 0.9348 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.8764, allocations: 0 / 0.9348 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.877, allocations: 375 kB / 0.9351 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/0.8795, allocations: 0.5248 MB / 0.9357 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004602/0.8841, allocations: 2.552 MB / 0.9381 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.8849, allocations: 1.092 MB / 0.9392 GB, free: 14.72 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001034/0.886, allocations: 235.2 kB / 0.9394 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.8862, allocations: 71.38 kB / 0.9395 GB, free: 14.41 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.8862, allocations: 0 / 0.9395 GB, free: 14.41 MB / 0.67 GB Notification: Performance of Templates: time 0.03414/0.9204, allocations: 17.45 MB / 0.9565 GB, free: 13.23 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)