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-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.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.001237/0.001237, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001336/0.001337, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.09/1.09, allocations: 135.2 MB / 426.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006221/0.0006227, allocations: 8 kB / 0.5068 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3414, allocations: 82.32 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.7897/1.131, allocations: 141.6 MB / 0.7255 GB, free: 7.914 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01539/1.147, allocations: 7.665 MB / 0.733 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/1.149, allocations: 35 kB / 0.733 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/1.152, allocations: 0.5979 MB / 0.7336 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006832/1.159, allocations: 1.511 MB / 0.7351 GB, free: 1.242 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004822/1.164, allocations: 1.227 MB / 0.7363 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00453/1.168, allocations: 1.637 MB / 0.7379 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/1.17, allocations: 0.7242 MB / 0.7386 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002376/1.173, allocations: 0.7611 MB / 0.7393 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001971/1.175, allocations: 0.6712 MB / 0.74 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/1.175, allocations: 44.59 kB / 0.74 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003398/1.178, allocations: 0.8701 MB / 0.7409 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005163/1.179, allocations: 211.7 kB / 0.7411 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006645/1.18, allocations: 245.1 kB / 0.7413 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/1.182, allocations: 1.21 MB / 0.7425 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.182, allocations: 0 / 0.7425 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/1.182, allocations: 0 / 0.7425 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.421e-05/1.182, allocations: 0 / 0.7425 GB, free: 13.07 MB / 0.5606 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.003431/1.186, allocations: 1.378 MB / 0.7438 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/1.186, allocations: 8.031 kB / 0.7438 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/1.186, allocations: 134.5 kB / 0.744 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/1.188, allocations: 0.7893 MB / 0.7447 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/1.188, allocations: 58 kB / 0.7448 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/1.188, allocations: 87.98 kB / 0.7449 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/1.19, allocations: 0.8576 MB / 0.7457 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/1.19, allocations: 0 / 0.7457 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/1.19, allocations: 35.98 kB / 0.7458 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.19, allocations: 20 kB / 0.7458 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/1.191, allocations: 0.6362 MB / 0.7464 GB, free: 8.926 MB / 0.5606 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.005311/1.197, allocations: 3.981 MB / 0.7503 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/1.198, allocations: 0.58 MB / 0.7508 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/1.199, allocations: 1.232 MB / 0.7521 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006064/1.2, allocations: 331 kB / 0.7524 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=63): time 3.276e-06/1.2, allocations: 0 / 0.7524 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of matching and sorting (n=63): time 0.002473/1.202, allocations: 1.143 MB / 0.7535 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/1.202, allocations: 89.62 kB / 0.7536 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/1.203, allocations: 0.8767 MB / 0.7544 GB, free: 60 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/1.203, allocations: 37.7 kB / 0.7545 GB, free: 16 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003948/1.204, allocations: 464.2 kB / 0.7549 GB, free: 15.56 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/1.204, allocations: 228.8 kB / 0.7551 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/1.204, allocations: 12 kB / 0.7551 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001284/1.204, allocations: 330 kB / 0.7554 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003983/1.205, allocations: 201.2 kB / 0.7556 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004727/1.205, allocations: 316.4 kB / 0.7559 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/1.206, allocations: 246.1 kB / 0.7562 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.206, allocations: 3.938 kB / 0.7562 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001403/1.207, allocations: 0.7133 MB / 0.7569 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003822/1.207, allocations: 0.8793 MB / 0.7577 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/1.207, allocations: 4 kB / 0.7577 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/1.208, allocations: 100.8 kB / 0.7578 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000452/1.209, allocations: 123.8 kB / 0.758 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005969/1.209, allocations: 0.6549 MB / 0.7586 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007661/1.21, allocations: 99.39 kB / 0.7587 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/1.21, allocations: 27.98 kB / 0.7587 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/1.21, allocations: 4 kB / 0.7587 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001051/1.211, allocations: 0.5752 MB / 0.7593 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.211, allocations: 4 kB / 0.7593 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004461/1.212, allocations: 105 kB / 0.7594 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/1.212, allocations: 115.9 kB / 0.7595 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005447/1.213, allocations: 0.67 MB / 0.7601 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/1.213, allocations: 83.42 kB / 0.7602 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/1.213, allocations: 27.98 kB / 0.7603 GB, free: 9.898 MB / 0.5762 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 ($whenCondition1,$PRE.mRoo_flow.nextTimeEvent,mRoo_flow.nextTimeEvent,$PRE.mRoo_flow.nextTimeEventScaled,mRoo_flow.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004688/1.214, allocations: 331.2 kB / 0.7606 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/1.214, allocations: 98.78 kB / 0.7607 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/1.216, allocations: 0.9507 MB / 0.7616 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.216, allocations: 11.98 kB / 0.7616 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.216, allocations: 3.938 kB / 0.7616 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001245/1.217, allocations: 0.8554 MB / 0.7624 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/1.22, allocations: 1.865 MB / 0.7643 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.22, allocations: 0 / 0.7643 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004208/1.221, allocations: 99.89 kB / 0.7644 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005959/1.221, allocations: 165.7 kB / 0.7645 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/1.221, allocations: 20 kB / 0.7645 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008976/1.222, allocations: 1.249 MB / 0.7658 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.222, allocations: 4.125 kB / 0.7658 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/1.224, allocations: 1.303 MB / 0.767 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004541/1.225, allocations: 275.6 kB / 0.7673 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/1.225, allocations: 16 kB / 0.7673 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/1.225, allocations: 63.8 kB / 0.7674 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/1.226, allocations: 63.11 kB / 0.7674 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/1.226, allocations: 23.98 kB / 0.7675 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007689/1.226, allocations: 0.613 MB / 0.7681 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.226, allocations: 0 / 0.7681 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00154/1.228, allocations: 0.5573 MB / 0.7686 GB, free: 1.09 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001635/1.23, allocations: 0.6976 MB / 0.7693 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001904/1.232, allocations: 0.9187 MB / 0.7702 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/1.232, allocations: 4.25 kB / 0.7702 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007518/1.232, allocations: 399.3 kB / 0.7706 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001926/1.234, allocations: 414 kB / 0.771 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/1.238, allocations: 2.535 MB / 0.7734 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008325/1.239, allocations: 1.098 MB / 0.7745 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008678/1.24, allocations: 219 kB / 0.7747 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/1.24, allocations: 79.41 kB / 0.7748 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/1.24, allocations: 0 / 0.7748 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of Templates: time 0.03702/1.277, allocations: 19.6 MB / 0.7939 GB, free: 7.504 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: