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.001208/0.001208, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001238/0.001238, allocations: 194 kB / 16.14 MB, free: 6.711 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.327/1.327, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002393, allocations: 279 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9651/0.9651, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 88.67 kB / 0.5945 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1787, allocations: 86.98 MB / 0.6794 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5189/0.6977, allocations: 199.7 MB / 0.8745 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.7087, allocations: 7.492 MB / 0.8818 GB, free: 2.984 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001588/0.7103, allocations: 32.06 kB / 0.8818 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.7125, allocations: 0.5954 MB / 0.8824 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006632/0.7191, allocations: 2.268 MB / 0.8846 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003143/0.7223, allocations: 1.116 MB / 0.8857 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004509/0.7268, allocations: 4.155 MB / 0.8898 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.728, allocations: 0.8155 MB / 0.8906 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.7296, allocations: 0.8813 MB / 0.8914 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.7315, allocations: 0.9976 MB / 0.8924 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.7317, allocations: 60.38 kB / 0.8925 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004464/0.7362, allocations: 2.494 MB / 0.8949 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.7367, allocations: 393.5 kB / 0.8953 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000854/0.7376, allocations: 0.6118 MB / 0.8959 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004156/0.7417, allocations: 2.506 MB / 0.8983 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.7417, allocations: 0 / 0.8983 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7417, allocations: 0 / 0.8983 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.7418, allocations: 3.938 kB / 0.8983 GB, free: 7.844 MB / 0.6075 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.003259/0.745, allocations: 1.625 MB / 0.8999 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.966e-05/0.7451, allocations: 12.03 kB / 0.8999 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002566/0.7477, allocations: 374.2 kB / 0.9003 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/0.7491, allocations: 0.8084 MB / 0.9011 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.7492, allocations: 65.94 kB / 0.9011 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/0.7493, allocations: 87.98 kB / 0.9012 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.7511, allocations: 1.045 MB / 0.9022 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.7512, allocations: 0 / 0.9022 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.7513, allocations: 40 kB / 0.9023 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/0.7513, allocations: 37.98 kB / 0.9023 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7528, allocations: 0.8861 MB / 0.9032 GB, free: 2.742 MB / 0.6075 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.004949/0.7578, allocations: 4.288 MB / 0.9074 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.7589, allocations: 0.6857 MB / 0.908 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00077/0.7597, allocations: 467.5 kB / 0.9085 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/0.7604, allocations: 0.6693 MB / 0.9091 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.7604, allocations: 47.11 kB / 0.9092 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=70): time 3.276e-06/0.7604, allocations: 0 / 0.9092 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=70): time 0.001928/0.7624, allocations: 0.9939 MB / 0.9101 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.7624, allocations: 59.97 kB / 0.9102 GB, free: 11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/0.7632, allocations: 0.6334 MB / 0.9108 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-05/0.7633, allocations: 41.7 kB / 0.9109 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/0.7636, allocations: 432.1 kB / 0.9113 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.7638, allocations: 244.3 kB / 0.9115 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.764, allocations: 122.2 kB / 0.9116 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.7642, allocations: 394.7 kB / 0.912 GB, free: 9.125 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.7646, allocations: 277.2 kB / 0.9123 GB, free: 8.852 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005104/0.7652, allocations: 357 kB / 0.9126 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7662, allocations: 0.6626 MB / 0.9132 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.7662, allocations: 0 / 0.9132 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001288/0.7675, allocations: 0.797 MB / 0.914 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.7675, allocations: 6.5 kB / 0.914 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.7675, allocations: 0 / 0.914 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.7675, allocations: 8 kB / 0.914 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.7682, allocations: 143.8 kB / 0.9142 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7682, allocations: 4 kB / 0.9142 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.7691, allocations: 115.4 kB / 0.9143 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.7692, allocations: 23.98 kB / 0.9143 GB, free: 6.699 MB / 0.6231 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.0004122/0.7696, allocations: 286.2 kB / 0.9146 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.7697, allocations: 90.95 kB / 0.9147 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.7711, allocations: 0.798 MB / 0.9155 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.7712, allocations: 11.94 kB / 0.9155 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.7712, allocations: 0 / 0.9155 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001075/0.7722, allocations: 0.823 MB / 0.9163 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/0.7751, allocations: 1.852 MB / 0.9181 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.7751, allocations: 0 / 0.9181 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008398/0.7759, allocations: 171.8 kB / 0.9182 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.7759, allocations: 3.938 kB / 0.9182 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.034e-05/0.776, allocations: 16 kB / 0.9183 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.776, allocations: 0 / 0.9183 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.776, allocations: 4 kB / 0.9183 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.7778, allocations: 1.19 MB / 0.9194 GB, free: 1.324 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.7782, allocations: 251.8 kB / 0.9197 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.7783, allocations: 16 kB / 0.9197 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/0.7791, allocations: 71.84 kB / 0.9197 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7792, allocations: 40.5 kB / 0.9198 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.355e-05/0.7792, allocations: 27.98 kB / 0.9198 GB, free: 0.9062 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005735/0.7798, allocations: 451 kB / 0.9202 GB, free: 480 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7798, allocations: 0 / 0.9202 GB, free: 480 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008581/0.7807, allocations: 339.2 kB / 0.9206 GB, free: 140 kB / 0.6231 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.0003408/0.781, allocations: 203.1 kB / 0.9208 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.7822, allocations: 0.6718 MB / 0.9214 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7822, allocations: 0 / 0.9214 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.7827, allocations: 375 kB / 0.9218 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.7849, allocations: 0.5329 MB / 0.9223 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.7885, allocations: 2.568 MB / 0.9248 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/0.7891, allocations: 1.092 MB / 0.9259 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00097/0.7901, allocations: 227.2 kB / 0.9261 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.7904, allocations: 71.44 kB / 0.9262 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.7904, allocations: 0 / 0.9262 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of Templates: time 0.02801/0.8184, allocations: 17.43 MB / 0.9432 GB, free: 9.191 MB / 0.6544 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)