Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00117/0.00117, allocations: 115 kB / 16.37 MB, free: 6.016 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.001253/0.001253, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.232/1.232, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7655/0.7655, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.91 kB / 0.5068 GB, free: 7.645 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3997/0.4012, allocations: 80.9 MB / 0.5858 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.496/0.8973, allocations: 201.9 MB / 0.783 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008894/0.9062, allocations: 7.385 MB / 0.7902 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.9076, allocations: 36.41 kB / 0.7902 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.9092, allocations: 0.6974 MB / 0.7909 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004891/0.9141, allocations: 2.396 MB / 0.7932 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.9166, allocations: 1.232 MB / 0.7944 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002951/0.9195, allocations: 2.911 MB / 0.7973 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.9206, allocations: 0.9511 MB / 0.7982 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.9219, allocations: 1.019 MB / 0.7992 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.9233, allocations: 0.9686 MB / 0.8002 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001305/0.9235, allocations: 109.9 kB / 0.8003 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.927, allocations: 2.128 MB / 0.8023 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.9274, allocations: 452.2 kB / 0.8028 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006118/0.928, allocations: 0.6711 MB / 0.8034 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00295/0.931, allocations: 2.406 MB / 0.8058 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.931, allocations: 0 / 0.8058 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.931, allocations: 0.9688 kB / 0.8058 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.931, allocations: 0 / 0.8058 GB, free: 0.7266 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002679/0.9337, allocations: 1.63 MB / 0.8074 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9337, allocations: 9.453 kB / 0.8074 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.936, allocations: 369.2 kB / 0.8077 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.9372, allocations: 0.849 MB / 0.8086 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/0.9373, allocations: 65.09 kB / 0.8086 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.9374, allocations: 88.86 kB / 0.8087 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.9388, allocations: 1.043 MB / 0.8097 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.9388, allocations: 6.469 kB / 0.8097 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.9389, allocations: 37 kB / 0.8098 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-05/0.939, allocations: 39.42 kB / 0.8098 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.9403, allocations: 0.8819 MB / 0.8107 GB, free: 15.36 MB / 0.5919 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.004043/0.9443, allocations: 4.291 MB / 0.8149 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008602/0.9452, allocations: 0.6862 MB / 0.8155 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006412/0.9459, allocations: 452.7 kB / 0.816 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005844/0.9464, allocations: 0.6741 MB / 0.8166 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.9465, allocations: 44.72 kB / 0.8167 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.474e-06/0.9465, allocations: 0 / 0.8167 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001676/0.9482, allocations: 0.9844 MB / 0.8176 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.9482, allocations: 66.28 kB / 0.8177 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.9488, allocations: 0.6329 MB / 0.8183 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.9489, allocations: 38.11 kB / 0.8183 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.9492, allocations: 438.8 kB / 0.8188 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.9493, allocations: 254.5 kB / 0.819 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.9495, allocations: 116.1 kB / 0.8191 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9497, allocations: 388.7 kB / 0.8195 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.95, allocations: 273.3 kB / 0.8197 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004384/0.9505, allocations: 367.7 kB / 0.8201 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/0.9513, allocations: 0.6622 MB / 0.8207 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.9513, allocations: 3.406 kB / 0.8207 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001038/0.9524, allocations: 0.7844 MB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9524, allocations: 6.438 kB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.9524, allocations: 4.406 kB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9524, allocations: 4.938 kB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006045/0.953, allocations: 145 kB / 0.8217 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.9531, allocations: 12.97 kB / 0.8217 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.9537, allocations: 59.5 kB / 0.8217 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.31e-05/0.9538, allocations: 21.72 kB / 0.8218 GB, free: 10.78 MB / 0.5919 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.0003306/0.9541, allocations: 293.8 kB / 0.822 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.9543, allocations: 85.03 kB / 0.8221 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.9554, allocations: 0.7943 MB / 0.8229 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.9555, allocations: 11.72 kB / 0.8229 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.9555, allocations: 0 / 0.8229 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009832/0.9565, allocations: 0.809 MB / 0.8237 GB, free: 9.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.9589, allocations: 1.845 MB / 0.8255 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.9589, allocations: 3.938 kB / 0.8255 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007502/0.9597, allocations: 169.9 kB / 0.8257 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9597, allocations: 2.781 kB / 0.8257 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.9597, allocations: 20.11 kB / 0.8257 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.9597, allocations: 6.031 kB / 0.8257 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.9598, allocations: 0 / 0.8257 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.9613, allocations: 1.274 MB / 0.8269 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.9617, allocations: 247.9 kB / 0.8272 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.9618, allocations: 13.31 kB / 0.8272 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.9624, allocations: 23.28 kB / 0.8272 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.9625, allocations: 43.06 kB / 0.8272 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.9626, allocations: 20.62 kB / 0.8273 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004611/0.963, allocations: 459.1 kB / 0.8277 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9631, allocations: 0 / 0.8277 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000745/0.9638, allocations: 338.1 kB / 0.828 GB, free: 7.984 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * 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.0003086/0.9641, allocations: 200.6 kB / 0.8282 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001035/0.9652, allocations: 0.6752 MB / 0.8289 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.9652, allocations: 1.125 kB / 0.8289 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.9657, allocations: 376.7 kB / 0.8292 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.9676, allocations: 0.552 MB / 0.8298 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.9704, allocations: 2.129 MB / 0.8319 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.971, allocations: 1.084 MB / 0.8329 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006673/0.9717, allocations: 226 kB / 0.8331 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.9719, allocations: 78.36 kB / 0.8332 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of SimCode: time 3.6e-07/0.9719, allocations: 0 / 0.8332 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.0258/0.9977, allocations: 18.34 MB / 0.8511 GB, free: 3.203 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)