Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001285/0.001285, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 198 kB / 16.53 MB, free: 6.668 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6812/0.6812, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 60.66 kB / 0.5018 GB, free: 3.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3287, allocations: 80.21 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.1863/0.5151, allocations: 202 MB / 0.7773 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00932/0.5245, allocations: 7.383 MB / 0.7845 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.5252, allocations: 35.81 kB / 0.7846 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001434/0.5266, allocations: 0.6914 MB / 0.7852 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004219/0.5309, allocations: 2.402 MB / 0.7876 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.5332, allocations: 1.23 MB / 0.7888 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002611/0.5358, allocations: 2.907 MB / 0.7916 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.5369, allocations: 0.9431 MB / 0.7925 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.5383, allocations: 1.016 MB / 0.7935 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.5398, allocations: 0.9728 MB / 0.7945 GB, free: 5.227 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.54, allocations: 108 kB / 0.7946 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/0.543, allocations: 2.128 MB / 0.7967 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003515/0.5434, allocations: 446.8 kB / 0.7971 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.544, allocations: 0.6689 MB / 0.7977 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.5464, allocations: 2.384 MB / 0.8001 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.5464, allocations: 0 / 0.8001 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5464, allocations: 0 / 0.8001 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.5464, allocations: 0 / 0.8001 GB, free: 15.49 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.002607/0.5491, allocations: 1.636 MB / 0.8017 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.5491, allocations: 8.031 kB / 0.8017 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.5512, allocations: 374.3 kB / 0.802 GB, free: 13.42 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5523, allocations: 0.8161 MB / 0.8028 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.5523, allocations: 66 kB / 0.8029 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5525, allocations: 87.91 kB / 0.803 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.5539, allocations: 1.038 MB / 0.804 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5539, allocations: 4 kB / 0.804 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.919e-05/0.554, allocations: 36 kB / 0.804 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/0.554, allocations: 45.92 kB / 0.8041 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.5554, allocations: 0.8744 MB / 0.8049 GB, free: 10.38 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.00396/0.5593, allocations: 4.334 MB / 0.8092 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009248/0.5603, allocations: 0.6794 MB / 0.8098 GB, free: 5.008 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.561, allocations: 451.6 kB / 0.8103 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005363/0.5615, allocations: 0.6732 MB / 0.8109 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.5615, allocations: 39.12 kB / 0.8109 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 1.603e-06/0.5615, allocations: 0 / 0.8109 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.001598/0.5631, allocations: 0.9938 MB / 0.8119 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.5632, allocations: 59.97 kB / 0.812 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.5638, allocations: 0.6373 MB / 0.8126 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.5639, allocations: 41.7 kB / 0.8126 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.5642, allocations: 436 kB / 0.8131 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.5643, allocations: 252.3 kB / 0.8133 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.5645, allocations: 114.3 kB / 0.8134 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5646, allocations: 386.7 kB / 0.8138 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/0.5651, allocations: 273.2 kB / 0.814 GB, free: 492 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.5655, allocations: 370.7 kB / 0.8144 GB, free: 100 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.225/0.7905, allocations: 0.6537 MB / 0.815 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.7906, allocations: 0.5625 kB / 0.815 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001513/0.7921, allocations: 0.7887 MB / 0.8158 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.7921, allocations: 9.125 kB / 0.8158 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.7921, allocations: 2.906 kB / 0.8158 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.7922, allocations: 8.344 kB / 0.8158 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.7928, allocations: 144.2 kB / 0.8159 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.7928, allocations: 7.266 kB / 0.816 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/0.7935, allocations: 53.17 kB / 0.816 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/0.7936, allocations: 21.56 kB / 0.816 GB, free: 220.3 MB / 0.6387 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.0004113/0.794, allocations: 293.5 kB / 0.8163 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.7941, allocations: 83.75 kB / 0.8164 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.7954, allocations: 0.7943 MB / 0.8172 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.7955, allocations: 7.875 kB / 0.8172 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7955, allocations: 0 / 0.8172 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009607/0.7964, allocations: 0.8115 MB / 0.818 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002407/0.7988, allocations: 1.841 MB / 0.8198 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.7989, allocations: 0.75 kB / 0.8198 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.7996, allocations: 174.5 kB / 0.8199 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.7996, allocations: 6.219 kB / 0.8199 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.146e-05/0.7997, allocations: 20.02 kB / 0.82 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.7997, allocations: 2.25 kB / 0.82 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7997, allocations: 1.922 kB / 0.82 GB, free: 218.4 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.8014, allocations: 1.284 MB / 0.8212 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002917/0.8017, allocations: 246 kB / 0.8214 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.8018, allocations: 12.84 kB / 0.8215 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/0.8023, allocations: 29.27 kB / 0.8215 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.8025, allocations: 40.14 kB / 0.8215 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.8025, allocations: 21.25 kB / 0.8215 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005045/0.803, allocations: 456.6 kB / 0.822 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.803, allocations: 0 / 0.822 GB, free: 217.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007647/0.8038, allocations: 342.1 kB / 0.8223 GB, free: 217.4 MB / 0.6387 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.0002809/0.8041, allocations: 194.8 kB / 0.8225 GB, free: 217.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.8055, allocations: 0.8206 MB / 0.8233 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8055, allocations: 0 / 0.8233 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000464/0.806, allocations: 368.9 kB / 0.8236 GB, free: 216.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.8081, allocations: 0.5437 MB / 0.8242 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.8108, allocations: 2.155 MB / 0.8263 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.8113, allocations: 1.086 MB / 0.8273 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000782/0.8121, allocations: 227.5 kB / 0.8276 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.8123, allocations: 72.56 kB / 0.8276 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.8123, allocations: 0 / 0.8276 GB, free: 214.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.02467/0.837, allocations: 18.37 MB / 0.8456 GB, free: 206.6 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)