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.001151/0.001151, allocations: 105 kB / 16.35 MB, free: 5.824 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.001161/0.001161, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7867/0.7867, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.91 kB / 0.5067 GB, free: 7.633 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3778/0.3791, allocations: 80.9 MB / 0.5858 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.6392/1.018, allocations: 201.9 MB / 0.783 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.033, allocations: 7.388 MB / 0.7902 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/1.036, allocations: 33.34 kB / 0.7902 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002795/1.039, allocations: 0.6955 MB / 0.7909 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00815/1.047, allocations: 2.403 MB / 0.7932 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003195/1.05, allocations: 1.228 MB / 0.7944 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004245/1.055, allocations: 2.917 MB / 0.7973 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/1.056, allocations: 0.9471 MB / 0.7982 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/1.058, allocations: 1.021 MB / 0.7992 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002735/1.061, allocations: 0.9641 MB / 0.8001 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/1.061, allocations: 112 kB / 0.8002 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005424/1.067, allocations: 2.131 MB / 0.8023 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005876/1.067, allocations: 455.3 kB / 0.8028 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001043/1.068, allocations: 0.6606 MB / 0.8034 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/1.073, allocations: 2.41 MB / 0.8058 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/1.073, allocations: 0.8438 kB / 0.8058 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/1.073, allocations: 0 / 0.8058 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.592e-05/1.073, allocations: 4.594 kB / 0.8058 GB, free: 0.7305 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.002947/1.076, allocations: 1.629 MB / 0.8074 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.076, allocations: 11.11 kB / 0.8074 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/1.078, allocations: 371.3 kB / 0.8077 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/1.08, allocations: 0.8496 MB / 0.8086 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.563e-05/1.08, allocations: 64.62 kB / 0.8086 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/1.08, allocations: 96 kB / 0.8087 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.082, allocations: 1.031 MB / 0.8097 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.082, allocations: 4.672 kB / 0.8097 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.953e-05/1.082, allocations: 36.28 kB / 0.8098 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.829e-05/1.082, allocations: 45.28 kB / 0.8098 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001561/1.084, allocations: 0.8788 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.004922/1.089, allocations: 4.29 MB / 0.8148 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009649/1.09, allocations: 0.6844 MB / 0.8155 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007076/1.09, allocations: 456.9 kB / 0.8159 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/1.091, allocations: 0.6738 MB / 0.8166 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/1.091, allocations: 43.75 kB / 0.8166 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.735e-06/1.091, allocations: 0.8438 kB / 0.8166 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001856/1.093, allocations: 0.9836 MB / 0.8176 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/1.093, allocations: 65.34 kB / 0.8177 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006724/1.094, allocations: 0.6321 MB / 0.8183 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/1.094, allocations: 45.95 kB / 0.8183 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/1.094, allocations: 429.7 kB / 0.8187 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.094, allocations: 252.6 kB / 0.819 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.094, allocations: 115.5 kB / 0.8191 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.094, allocations: 391.8 kB / 0.8195 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/1.095, allocations: 273.9 kB / 0.8197 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/1.095, allocations: 367 kB / 0.8201 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008772/1.096, allocations: 0.6581 MB / 0.8207 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.096, allocations: 0.9062 kB / 0.8207 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001159/1.097, allocations: 0.7949 MB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.097, allocations: 4.875 kB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/1.097, allocations: 3.125 kB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/1.097, allocations: 7.906 kB / 0.8215 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/1.098, allocations: 141.8 kB / 0.8216 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.098, allocations: 11.97 kB / 0.8217 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007239/1.099, allocations: 57.53 kB / 0.8217 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/1.099, allocations: 21.78 kB / 0.8217 GB, free: 10.79 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.000408/1.099, allocations: 286.7 kB / 0.822 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/1.099, allocations: 87.61 kB / 0.8221 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/1.101, allocations: 0.7957 MB / 0.8229 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.101, allocations: 12.41 kB / 0.8229 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.101, allocations: 0.875 kB / 0.8229 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00115/1.102, allocations: 0.8141 MB / 0.8237 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/1.105, allocations: 1.846 MB / 0.8255 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.105, allocations: 0.9062 kB / 0.8255 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008053/1.106, allocations: 172 kB / 0.8256 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.267e-05/1.106, allocations: 6.125 kB / 0.8257 GB, free: 9.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/1.106, allocations: 13.16 kB / 0.8257 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/1.106, allocations: 2.406 kB / 0.8257 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.106, allocations: 3.438 kB / 0.8257 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/1.108, allocations: 1.273 MB / 0.8269 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005062/1.109, allocations: 247.4 kB / 0.8271 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/1.109, allocations: 14.41 kB / 0.8272 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/1.109, allocations: 22.84 kB / 0.8272 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.11, allocations: 45.09 kB / 0.8272 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.698e-05/1.11, allocations: 27.52 kB / 0.8273 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006436/1.11, allocations: 460.8 kB / 0.8277 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.11, allocations: 0 / 0.8277 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001036/1.111, allocations: 335.5 kB / 0.828 GB, free: 7.98 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.0004071/1.112, allocations: 196.7 kB / 0.8282 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001376/1.113, allocations: 0.6788 MB / 0.8289 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.113, allocations: 3.188 kB / 0.8289 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005378/1.114, allocations: 372.6 kB / 0.8292 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/1.116, allocations: 0.5475 MB / 0.8298 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/1.119, allocations: 2.125 MB / 0.8318 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006998/1.12, allocations: 1.09 MB / 0.8329 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009347/1.121, allocations: 226.5 kB / 0.8331 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/1.121, allocations: 71.45 kB / 0.8332 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of SimCode: time 1.433e-06/1.121, allocations: 0 / 0.8332 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of Templates: time 0.03203/1.153, allocations: 18.34 MB / 0.8511 GB, free: 3.168 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)