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.001498/0.001498, allocations: 101.6 kB / 16.27 MB, free: 5.961 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.001626/0.001626, allocations: 190 kB / 17.2 MB, free: 5.59 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8364/0.8364, allocations: 135.1 MB / 426.2 MB, free: 4.215 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 67.89 kB / 0.506 GB, free: 8.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3235, allocations: 80.91 MB / 0.585 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5072/0.8307, allocations: 201.9 MB / 0.7822 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009675/0.8405, allocations: 7.384 MB / 0.7894 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.8422, allocations: 36.25 kB / 0.7895 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.844, allocations: 0.6971 MB / 0.7901 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005973/0.85, allocations: 2.404 MB / 0.7925 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.8532, allocations: 1.219 MB / 0.7937 GB, free: 1.359 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003602/0.8568, allocations: 2.906 MB / 0.7965 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.8584, allocations: 0.9536 MB / 0.7974 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.8605, allocations: 1.018 MB / 0.7984 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.8628, allocations: 0.9584 MB / 0.7994 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000416/0.8632, allocations: 112.5 kB / 0.7995 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004481/0.8677, allocations: 2.128 MB / 0.8016 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006793/0.8684, allocations: 456.6 kB / 0.802 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001372/0.8698, allocations: 0.6626 MB / 0.8026 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004375/0.8742, allocations: 2.391 MB / 0.805 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.8742, allocations: 0.9062 kB / 0.805 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.423e-06/0.8742, allocations: 0 / 0.805 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.527e-05/0.8743, allocations: 0.8125 kB / 0.805 GB, free: 0.7773 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.004072/0.8784, allocations: 1.631 MB / 0.8066 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.8784, allocations: 11.23 kB / 0.8066 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/0.881, allocations: 376.3 kB / 0.8069 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001455/0.8825, allocations: 0.808 MB / 0.8077 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.8826, allocations: 65.25 kB / 0.8078 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.8827, allocations: 88.53 kB / 0.8079 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.8845, allocations: 1.039 MB / 0.8089 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.8845, allocations: 3.188 kB / 0.8089 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.791e-05/0.8846, allocations: 37.41 kB / 0.8089 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.007e-05/0.8847, allocations: 44.59 kB / 0.809 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.8862, allocations: 0.872 MB / 0.8098 GB, free: 15.41 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.005066/0.8913, allocations: 4.32 MB / 0.814 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009762/0.8923, allocations: 0.687 MB / 0.8147 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000739/0.8931, allocations: 456.9 kB / 0.8152 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006384/0.8937, allocations: 0.6731 MB / 0.8158 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.8938, allocations: 43.91 kB / 0.8159 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.377e-06/0.8938, allocations: 0 / 0.8159 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.001976/0.8958, allocations: 0.9875 MB / 0.8168 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.8958, allocations: 60.78 kB / 0.8169 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007948/0.8966, allocations: 0.6355 MB / 0.8175 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.8967, allocations: 44.27 kB / 0.8175 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002885/0.897, allocations: 436.3 kB / 0.818 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.8972, allocations: 249.9 kB / 0.8182 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.8974, allocations: 114 kB / 0.8183 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.8976, allocations: 388.5 kB / 0.8187 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.898, allocations: 278.5 kB / 0.8189 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.8986, allocations: 366.8 kB / 0.8193 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.8997, allocations: 0.6599 MB / 0.8199 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.8997, allocations: 3.438 kB / 0.8199 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001267/0.901, allocations: 0.7916 MB / 0.8207 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.901, allocations: 12.91 kB / 0.8207 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.901, allocations: 0 / 0.8207 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.901, allocations: 3.312 kB / 0.8207 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.9017, allocations: 143.2 kB / 0.8209 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.9017, allocations: 9.594 kB / 0.8209 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008398/0.9025, allocations: 55.84 kB / 0.8209 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.9026, allocations: 21.03 kB / 0.8209 GB, free: 10.84 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.0003847/0.903, allocations: 291.6 kB / 0.8212 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.9032, allocations: 85.22 kB / 0.8213 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.9045, allocations: 0.7969 MB / 0.8221 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.9045, allocations: 10.31 kB / 0.8221 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9045, allocations: 0.5938 kB / 0.8221 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/0.9056, allocations: 0.8124 MB / 0.8229 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/0.9084, allocations: 1.848 MB / 0.8247 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.9084, allocations: 0 / 0.8247 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/0.9092, allocations: 174 kB / 0.8249 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.9093, allocations: 2.531 kB / 0.8249 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.9093, allocations: 17.42 kB / 0.8249 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.9093, allocations: 2.656 kB / 0.8249 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9093, allocations: 0.8438 kB / 0.8249 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.9112, allocations: 1.279 MB / 0.8261 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.9116, allocations: 245.8 kB / 0.8264 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.9117, allocations: 14.22 kB / 0.8264 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006945/0.9124, allocations: 25.23 kB / 0.8264 GB, free: 8.406 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.9126, allocations: 42.03 kB / 0.8264 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/0.9126, allocations: 26.33 kB / 0.8265 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005507/0.9132, allocations: 451.7 kB / 0.8269 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9132, allocations: 0 / 0.8269 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009333/0.9141, allocations: 342.3 kB / 0.8272 GB, free: 8.137 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.0003615/0.9145, allocations: 197.7 kB / 0.8274 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001709/0.9162, allocations: 0.8219 MB / 0.8282 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.9162, allocations: 4.906 kB / 0.8282 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.9167, allocations: 371.8 kB / 0.8286 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.9192, allocations: 0.5356 MB / 0.8291 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003604/0.9228, allocations: 2.218 MB / 0.8313 GB, free: 5.871 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.9235, allocations: 1.088 MB / 0.8323 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/0.9238, allocations: 83.12 kB / 0.8324 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of SimCode: time 7.51e-07/0.9238, allocations: 0 / 0.8324 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.02281/0.9467, allocations: 15.37 MB / 0.8474 GB, free: 6.082 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)