Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.006216/0.006216, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4096/0.4096, allocations: 55 MB / 325.7 MB, free: 0.6641 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005681/0.0005682, allocations: 16 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3493, allocations: 60.71 MB / 458 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5537/0.903, allocations: 230.6 MB / 0.6724 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01514/0.9182, allocations: 10.16 MB / 0.6823 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002648/0.9209, allocations: 51.44 kB / 0.6824 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.9243, allocations: 1.109 MB / 0.6835 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.009486/0.9338, allocations: 3.288 MB / 0.6867 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006786/0.9406, allocations: 2.036 MB / 0.6887 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01171/0.9523, allocations: 6.887 MB / 0.6954 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003408/0.9558, allocations: 1.37 MB / 0.6967 GB, free: 16.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.9606, allocations: 1.496 MB / 0.6982 GB, free: 16.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004286/0.9649, allocations: 1.604 MB / 0.6997 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.9653, allocations: 84.62 kB / 0.6998 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007794/0.9731, allocations: 3.283 MB / 0.703 GB, free: 16.89 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00145/0.9745, allocations: 0.6626 MB / 0.7037 GB, free: 16.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002203/0.9768, allocations: 1.047 MB / 0.7047 GB, free: 16.85 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006543/0.9833, allocations: 4.027 MB / 0.7086 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.9833, allocations: 0 / 0.7086 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9833, allocations: 0 / 0.7086 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.9834, allocations: 0 / 0.7086 GB, free: 15.23 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.005297/0.9887, allocations: 2.223 MB / 0.7108 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.9888, allocations: 12.47 kB / 0.7108 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.992, allocations: 0.5195 MB / 0.7113 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.9941, allocations: 1.263 MB / 0.7126 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.9942, allocations: 113.4 kB / 0.7127 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.9945, allocations: 143.2 kB / 0.7128 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/0.9976, allocations: 1.819 MB / 0.7146 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.9976, allocations: 7.375 kB / 0.7146 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.9978, allocations: 71.47 kB / 0.7147 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.094e-05/0.9979, allocations: 71.81 kB / 0.7147 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/1, allocations: 1.576 MB / 0.7163 GB, free: 12.16 MB / 0.5137 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.009382/1.01, allocations: 7.189 MB / 0.7233 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/1.011, allocations: 1.093 MB / 0.7244 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008912/1.012, allocations: 0.5961 MB / 0.7249 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006747/1.013, allocations: 0.6896 MB / 0.7256 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/1.014, allocations: 0.7696 MB / 0.7264 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.025e-06/1.014, allocations: 0 / 0.7264 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=110): time 0.002996/1.017, allocations: 1.584 MB / 0.7279 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002871/1.018, allocations: 379.2 kB / 0.7283 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/1.019, allocations: 1.365 MB / 0.7296 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.00012/1.019, allocations: 48.11 kB / 0.7296 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/1.02, allocations: 0.7473 MB / 0.7304 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/1.02, allocations: 384.4 kB / 0.7307 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/1.021, allocations: 94.61 kB / 0.7308 GB, free: 4.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.021, allocations: 350.9 kB / 0.7312 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/1.022, allocations: 452.6 kB / 0.7316 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009915/1.023, allocations: 0.6774 MB / 0.7323 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/1.024, allocations: 1.072 MB / 0.7333 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.024, allocations: 8 kB / 0.7333 GB, free: 2.781 MB / 0.5137 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002405/1.027, allocations: 1.312 MB / 0.7346 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.027, allocations: 179.8 kB / 0.7348 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.027, allocations: 7.984 kB / 0.7348 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.027, allocations: 8 kB / 0.7348 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.028, allocations: 239.3 kB / 0.735 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/1.028, allocations: 11.98 kB / 0.735 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/1.03, allocations: 206 kB / 0.7352 GB, free: 0.8242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-05/1.03, allocations: 39.98 kB / 0.7353 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/1.03, allocations: 4 kB / 0.7353 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001912/1.032, allocations: 1.126 MB / 0.7364 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.032, allocations: 4 kB / 0.7364 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/1.032, allocations: 8 kB / 0.7364 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009547/1.033, allocations: 227.3 kB / 0.7366 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.033, allocations: 14.84 kB / 0.7366 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/1.034, allocations: 182.8 kB / 0.7368 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/1.034, allocations: 39.94 kB / 0.7368 GB, free: 15.22 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.mRoo_flow.nextTimeEvent,$whenCondition1,mRoo_flow.nextTimeEventScaled,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 137 * 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.001029/1.035, allocations: 0.5046 MB / 0.7373 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/1.036, allocations: 166 kB / 0.7375 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/1.038, allocations: 1.262 MB / 0.7387 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.038, allocations: 19.94 kB / 0.7387 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.038, allocations: 1 kB / 0.7387 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001597/1.04, allocations: 0.9742 MB / 0.7397 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/1.045, allocations: 3.167 MB / 0.7428 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.045, allocations: 6.75 kB / 0.7428 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/1.046, allocations: 230.1 kB / 0.743 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/1.046, allocations: 4 kB / 0.743 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/1.046, allocations: 27.98 kB / 0.743 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.046, allocations: 4.812 kB / 0.743 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.046, allocations: 0 / 0.743 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002994/1.049, allocations: 1.933 MB / 0.7449 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007447/1.05, allocations: 398.7 kB / 0.7453 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.05, allocations: 24 kB / 0.7453 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.051, allocations: 123.7 kB / 0.7454 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/1.051, allocations: 64.91 kB / 0.7455 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/1.051, allocations: 36.92 kB / 0.7455 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001291/1.053, allocations: 0.9503 MB / 0.7465 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/1.053, allocations: 4 kB / 0.7465 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002014/1.055, allocations: 0.9157 MB / 0.7474 GB, free: 4.324 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of discrete states: 2 (mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001255/1.056, allocations: 0.5627 MB / 0.7479 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003038/1.059, allocations: 1.705 MB / 0.7496 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.059, allocations: 0.5 kB / 0.7496 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/1.06, allocations: 0.5553 MB / 0.7501 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004922/1.065, allocations: 0.8864 MB / 0.751 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/1.072, allocations: 4.297 MB / 0.7552 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/1.073, allocations: 1.404 MB / 0.7565 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002395/1.076, allocations: 472.8 kB / 0.757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004324/1.076, allocations: 119.4 kB / 0.7571 GB, free: 10.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.242e-06/1.076, allocations: 0 / 0.7571 GB, free: 10.6 MB / 0.545 GB Notification: Performance of Templates: time 0.05661/1.133, allocations: 32.06 MB / 0.7884 GB, free: 10.81 MB / 0.5762 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: