Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001217/0.001217, allocations: 110.6 kB / 16.41 MB, free: 6.445 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.001217/0.001217, allocations: 187 kB / 17.34 MB, free: 5.742 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8141/0.8141, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 58.38 kB / 0.582 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1738, allocations: 80.21 MB / 0.6603 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.7483/0.9221, allocations: 235.8 MB / 0.8906 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.9409, allocations: 10.4 MB / 0.9008 GB, free: 15.48 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003206/0.9441, allocations: 63.62 kB / 0.9009 GB, free: 15.42 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.9478, allocations: 1.189 MB / 0.902 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.9578, allocations: 3.648 MB / 0.9056 GB, free: 10.56 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005798/0.9637, allocations: 2.072 MB / 0.9076 GB, free: 8.496 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006627/0.9703, allocations: 4.45 MB / 0.912 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002724/0.9731, allocations: 1.574 MB / 0.9135 GB, free: 2.426 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003595/0.9767, allocations: 1.627 MB / 0.9151 GB, free: 0.793 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003647/0.9804, allocations: 1.5 MB / 0.9166 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007558/0.9811, allocations: 184 kB / 0.9167 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007565/0.9887, allocations: 3.238 MB / 0.9199 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.99, allocations: 0.6934 MB / 0.9206 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002509/0.9925, allocations: 1.065 MB / 0.9216 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008984/1.001, allocations: 3.833 MB / 0.9253 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.994e-06/1.002, allocations: 0 / 0.9253 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.713e-06/1.002, allocations: 0 / 0.9253 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000116/1.002, allocations: 0 / 0.9253 GB, free: 6.262 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.007321/1.009, allocations: 2.482 MB / 0.9278 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.009, allocations: 12.03 kB / 0.9278 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/1.013, allocations: 0.5167 MB / 0.9283 GB, free: 3.191 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/1.016, allocations: 1.296 MB / 0.9296 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/1.016, allocations: 102.7 kB / 0.9297 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000355/1.016, allocations: 136 kB / 0.9298 GB, free: 1.605 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003535/1.02, allocations: 1.67 MB / 0.9314 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.576e-05/1.02, allocations: 7.906 kB / 0.9314 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.02, allocations: 59.98 kB / 0.9315 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/1.02, allocations: 74.52 kB / 0.9315 GB, free: 15.73 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002922/1.023, allocations: 1.443 MB / 0.933 GB, free: 14.28 MB / 0.7012 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.01031/1.033, allocations: 6.957 MB / 0.9398 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/1.035, allocations: 1.177 MB / 0.9409 GB, free: 5.641 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009716/1.036, allocations: 0.6084 MB / 0.9415 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009309/1.037, allocations: 0.8671 MB / 0.9423 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/1.038, allocations: 0.6063 MB / 0.9429 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=110): time 3.086e-06/1.038, allocations: 4 kB / 0.9429 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of matching and sorting (n=110): time 0.003365/1.042, allocations: 1.572 MB / 0.9445 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/1.042, allocations: 86.11 kB / 0.9446 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/1.044, allocations: 1.19 MB / 0.9457 GB, free: 476 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001554/1.044, allocations: 49.7 kB / 0.9458 GB, free: 420 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007784/1.045, allocations: 0.6894 MB / 0.9464 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000502/1.045, allocations: 386.3 kB / 0.9468 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003659/1.046, allocations: 178.6 kB / 0.947 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.046, allocations: 341.9 kB / 0.9473 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008189/1.047, allocations: 428.6 kB / 0.9477 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009255/1.048, allocations: 0.5657 MB / 0.9483 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/1.049, allocations: 1.013 MB / 0.9493 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/1.05, allocations: 3.938 kB / 0.9493 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002346/1.052, allocations: 1.203 MB / 0.9504 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/1.052, allocations: 12.23 kB / 0.9504 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.052, allocations: 10.91 kB / 0.9505 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/1.052, allocations: 8 kB / 0.9505 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/1.053, allocations: 215.7 kB / 0.9507 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/1.053, allocations: 8 kB / 0.9507 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.054, allocations: 98.94 kB / 0.9508 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/1.054, allocations: 36 kB / 0.9508 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/1.056, allocations: 0.7339 MB / 0.9515 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008227/1.057, allocations: 0.5535 MB / 0.9521 GB, free: 9.809 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001523/1.058, allocations: 0.9932 MB / 0.953 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.058, allocations: 4 kB / 0.953 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.002182/1.06, allocations: 1.183 MB / 0.9542 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/1.06, allocations: 8 kB / 0.9542 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.06, allocations: 3.938 kB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/1.06, allocations: 11.94 kB / 0.9542 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009339/1.061, allocations: 216 kB / 0.9544 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/1.061, allocations: 4 kB / 0.9544 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/1.063, allocations: 81.36 kB / 0.9545 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/1.063, allocations: 43.98 kB / 0.9545 GB, free: 7.227 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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.0003209/1.063, allocations: 236.1 kB / 0.9548 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003896/1.063, allocations: 150.2 kB / 0.9549 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/1.066, allocations: 1.252 MB / 0.9561 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.066, allocations: 8 kB / 0.9561 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.066, allocations: 4 kB / 0.9561 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/1.067, allocations: 1.007 MB / 0.9571 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/1.073, allocations: 3.163 MB / 0.9602 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.073, allocations: 320 / 0.9602 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.074, allocations: 239.7 kB / 0.9604 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.9e-05/1.074, allocations: 4 kB / 0.9604 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/1.074, allocations: 28 kB / 0.9605 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.189e-05/1.074, allocations: 11.94 kB / 0.9605 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.074, allocations: 15.86 kB / 0.9605 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003245/1.077, allocations: 1.991 MB / 0.9624 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007915/1.078, allocations: 358.9 kB / 0.9628 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003267/1.079, allocations: 24 kB / 0.9628 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.08, allocations: 39.91 kB / 0.9628 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.08, allocations: 76.91 kB / 0.9629 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.669e-05/1.08, allocations: 35.98 kB / 0.963 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00125/1.081, allocations: 0.8258 MB / 0.9638 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.081, allocations: 0 / 0.9638 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002218/1.083, allocations: 0.8377 MB / 0.9646 GB, free: 12.72 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (110): * Single equations (assignments): 108 * 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.001421/1.085, allocations: 0.5805 MB / 0.9651 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002962/1.088, allocations: 1.619 MB / 0.9667 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.088, allocations: 0 / 0.9667 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000945/1.089, allocations: 0.5734 MB / 0.9673 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.093, allocations: 0.8712 MB / 0.9681 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005938/1.099, allocations: 3.376 MB / 0.9714 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.1, allocations: 1.364 MB / 0.9728 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005662/1.101, allocations: 123.4 kB / 0.9729 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of SimCode: time 1.473e-06/1.101, allocations: 0 / 0.9729 GB, free: 4.355 MB / 0.7325 GB Notification: Performance of Templates: time 0.04037/1.141, allocations: 25.57 MB / 0.9979 GB, free: 10.9 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)