Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.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.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009019/0.009019, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001933/0.001933, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8077/0.8077, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 76.03 kB / 0.5813 GB, free: 23.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2052, allocations: 80.2 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.7377/0.9429, allocations: 167.6 MB / 0.8233 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01563/0.9586, allocations: 8.899 MB / 0.832 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/0.9615, allocations: 40.94 kB / 0.832 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.9641, allocations: 0.6419 MB / 0.8327 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.9703, allocations: 1.525 MB / 0.8341 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.9748, allocations: 1.191 MB / 0.8353 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006332/0.9811, allocations: 2.703 MB / 0.8379 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/0.9839, allocations: 0.9699 MB / 0.8389 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.9878, allocations: 1.029 MB / 0.8399 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.9905, allocations: 0.9919 MB / 0.8409 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0005342/0.9911, allocations: 99.67 kB / 0.841 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004233/0.9953, allocations: 1.047 MB / 0.842 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007029/0.996, allocations: 281.1 kB / 0.8423 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001977/0.998, allocations: 0.6062 MB / 0.8428 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005178/1.003, allocations: 1.748 MB / 0.8445 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.003, allocations: 0 / 0.8445 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.324e-06/1.003, allocations: 0 / 0.8445 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.909e-05/1.003, allocations: 0 / 0.8445 GB, free: 6.121 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.005317/1.009, allocations: 1.564 MB / 0.8461 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/1.009, allocations: 9.375 kB / 0.8461 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008786/1.01, allocations: 146.6 kB / 0.8462 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002956/1.013, allocations: 0.8906 MB / 0.8471 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.094e-05/1.013, allocations: 58.66 kB / 0.8472 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/1.013, allocations: 74.59 kB / 0.8472 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002427/1.015, allocations: 0.8678 MB / 0.8481 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/1.015, allocations: 1.781 kB / 0.8481 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.016, allocations: 44.17 kB / 0.8481 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.016, allocations: 17.44 kB / 0.8481 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/1.018, allocations: 0.6308 MB / 0.8487 GB, free: 3.184 MB / 0.6075 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.007593/1.025, allocations: 3.959 MB / 0.8526 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/1.027, allocations: 0.5719 MB / 0.8532 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/1.027, allocations: 287.3 kB / 0.8534 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.028, allocations: 1.235 MB / 0.8547 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/1.029, allocations: 335 kB / 0.855 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=63): time 3.126e-06/1.029, allocations: 0 / 0.855 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63): time 0.002662/1.032, allocations: 1.134 MB / 0.8561 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/1.032, allocations: 85.67 kB / 0.8562 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.033, allocations: 0.8688 MB / 0.857 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.683e-05/1.033, allocations: 49.69 kB / 0.8571 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/1.033, allocations: 464.1 kB / 0.8575 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/1.034, allocations: 220.8 kB / 0.8577 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/1.034, allocations: 110.3 kB / 0.8578 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.034, allocations: 334 kB / 0.8581 GB, free: 9.777 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/1.034, allocations: 211.4 kB / 0.8583 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005163/1.035, allocations: 312.4 kB / 0.8586 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009271/1.036, allocations: 0.5269 MB / 0.8591 GB, free: 8.664 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/1.036, allocations: 7.938 kB / 0.8592 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001628/1.038, allocations: 0.7132 MB / 0.8599 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/1.038, allocations: 8 kB / 0.8599 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/1.038, allocations: 3.984 kB / 0.8599 GB, free: 7.922 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/1.038, allocations: 109.1 kB / 0.86 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/1.039, allocations: 119.8 kB / 0.8601 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008477/1.04, allocations: 0.6576 MB / 0.8607 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/1.041, allocations: 75.36 kB / 0.8608 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-05/1.041, allocations: 20 kB / 0.8608 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008881/1.042, allocations: 397.3 kB / 0.8612 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000524/1.042, allocations: 304.3 kB / 0.8615 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008892/1.043, allocations: 0.5152 MB / 0.862 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.48e-06/1.043, allocations: 0 / 0.862 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.001522/1.045, allocations: 0.6783 MB / 0.8626 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/1.045, allocations: 4 kB / 0.8627 GB, free: 4.957 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.045, allocations: 4.281 kB / 0.8627 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/1.045, allocations: 108.7 kB / 0.8628 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/1.046, allocations: 115.8 kB / 0.8629 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000628/1.046, allocations: 0.6615 MB / 0.8635 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006663/1.047, allocations: 43.58 kB / 0.8636 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/1.047, allocations: 33.39 kB / 0.8636 GB, free: 3.969 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002762/1.047, allocations: 220.1 kB / 0.8638 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002737/1.048, allocations: 102.7 kB / 0.8639 GB, free: 3.645 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/1.05, allocations: 0.9357 MB / 0.8648 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/1.05, allocations: 7.984 kB / 0.8648 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/1.05, allocations: 4 kB / 0.8648 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001331/1.051, allocations: 0.8503 MB / 0.8657 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0035/1.055, allocations: 1.857 MB / 0.8675 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/1.055, allocations: 4.875 kB / 0.8675 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004391/1.055, allocations: 95.89 kB / 0.8676 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005948/1.056, allocations: 155.4 kB / 0.8677 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/1.056, allocations: 19.92 kB / 0.8677 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/1.057, allocations: 1.25 MB / 0.869 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.057, allocations: 0 / 0.869 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/1.059, allocations: 1.277 MB / 0.8702 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005195/1.06, allocations: 263.5 kB / 0.8704 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.06, allocations: 19.94 kB / 0.8705 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/1.061, allocations: 19.98 kB / 0.8705 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/1.061, allocations: 48.59 kB / 0.8705 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.099e-05/1.061, allocations: 23.98 kB / 0.8706 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009141/1.062, allocations: 0.613 MB / 0.8712 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.3e-07/1.062, allocations: 0 / 0.8712 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001668/1.063, allocations: 0.5612 MB / 0.8717 GB, free: 11.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc) * 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 (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,9), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/1.065, allocations: 0.7097 MB / 0.8724 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002042/1.067, allocations: 0.938 MB / 0.8733 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/1.067, allocations: 4 kB / 0.8733 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/1.068, allocations: 387.5 kB / 0.8737 GB, free: 9.566 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.07, allocations: 461.5 kB / 0.8741 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/1.074, allocations: 2.043 MB / 0.8761 GB, free: 7.062 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007294/1.074, allocations: 1.069 MB / 0.8772 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007872/1.075, allocations: 213.8 kB / 0.8774 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/1.075, allocations: 79.41 kB / 0.8774 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of SimCode: time 1.232e-06/1.075, allocations: 0 / 0.8774 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.04144/1.117, allocations: 21.17 MB / 0.8981 GB, free: 0.7148 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)