Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume") translateModel(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.009101/0.009101, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001673/0.001673, allocations: 197.4 kB / 16.67 MB, free: 5.973 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.687/1.687, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.6 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002562/0.002562, allocations: 67.89 kB / 0.5862 GB, free: 2.734 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7621, allocations: 81.02 MB / 0.6654 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.271/1.033, allocations: 167.5 MB / 0.829 GB, free: 8.816 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02005/1.053, allocations: 8.897 MB / 0.8377 GB, free: 15.9 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003267/1.057, allocations: 43.75 kB / 0.8377 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/1.06, allocations: 0.6406 MB / 0.8383 GB, free: 15.21 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006868/1.067, allocations: 1.504 MB / 0.8398 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004828/1.072, allocations: 1.188 MB / 0.841 GB, free: 12.52 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006816/1.079, allocations: 2.704 MB / 0.8436 GB, free: 9.805 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00279/1.081, allocations: 0.9608 MB / 0.8445 GB, free: 8.824 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004601/1.086, allocations: 1.022 MB / 0.8455 GB, free: 7.801 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002987/1.089, allocations: 0.9883 MB / 0.8465 GB, free: 6.809 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005998/1.09, allocations: 96 kB / 0.8466 GB, free: 6.715 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/1.094, allocations: 1.049 MB / 0.8476 GB, free: 5.664 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008297/1.094, allocations: 290.9 kB / 0.8479 GB, free: 5.379 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002199/1.097, allocations: 0.6024 MB / 0.8485 GB, free: 4.773 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006651/1.103, allocations: 1.757 MB / 0.8502 GB, free: 3.016 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/1.103, allocations: 0 / 0.8502 GB, free: 3.016 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.206e-06/1.103, allocations: 0 / 0.8502 GB, free: 3.016 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001084/1.103, allocations: 0 / 0.8502 GB, free: 3.016 MB / 0.67 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.005603/1.109, allocations: 1.612 MB / 0.8518 GB, free: 1.348 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.109, allocations: 11.97 kB / 0.8518 GB, free: 1.336 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006693/1.11, allocations: 140.1 kB / 0.8519 GB, free: 1.199 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/1.112, allocations: 0.8949 MB / 0.8528 GB, free: 268 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.036e-05/1.112, allocations: 58 kB / 0.8528 GB, free: 212 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/1.112, allocations: 76 kB / 0.8529 GB, free: 136 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/1.114, allocations: 0.8733 MB / 0.8538 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.752e-05/1.115, allocations: 4 kB / 0.8538 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.115, allocations: 32 kB / 0.8538 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/1.115, allocations: 23.94 kB / 0.8538 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001446/1.116, allocations: 0.6362 MB / 0.8545 GB, free: 14.52 MB / 0.6856 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.005542/1.122, allocations: 3.959 MB / 0.8583 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/1.123, allocations: 0.573 MB / 0.8589 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005223/1.124, allocations: 299 kB / 0.8592 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/1.125, allocations: 1.239 MB / 0.8604 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000684/1.126, allocations: 335.1 kB / 0.8607 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=63): time 3.676e-06/1.126, allocations: 0 / 0.8607 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of matching and sorting (n=63): time 0.002698/1.128, allocations: 1.135 MB / 0.8618 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.022e-05/1.128, allocations: 85.61 kB / 0.8619 GB, free: 6.297 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.13, allocations: 0.8689 MB / 0.8627 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.13, allocations: 41.7 kB / 0.8628 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/1.13, allocations: 472.8 kB / 0.8632 GB, free: 4.891 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002492/1.13, allocations: 230 kB / 0.8634 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/1.131, allocations: 114.3 kB / 0.8635 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.131, allocations: 333.9 kB / 0.8639 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/1.131, allocations: 215.4 kB / 0.8641 GB, free: 4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/1.132, allocations: 312.4 kB / 0.8644 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009541/1.133, allocations: 0.5269 MB / 0.8649 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.133, allocations: 3.938 kB / 0.8649 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001488/1.134, allocations: 0.7099 MB / 0.8656 GB, free: 2.383 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.539e-05/1.134, allocations: 8 kB / 0.8656 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/1.134, allocations: 7.984 kB / 0.8656 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000702/1.135, allocations: 109.1 kB / 0.8657 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004458/1.135, allocations: 115.8 kB / 0.8658 GB, free: 2.145 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006925/1.136, allocations: 0.6693 MB / 0.8665 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.137, allocations: 59.55 kB / 0.8665 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.838e-05/1.137, allocations: 27.98 kB / 0.8665 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007013/1.138, allocations: 389.3 kB / 0.8669 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004796/1.138, allocations: 304.4 kB / 0.8672 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008615/1.139, allocations: 0.5152 MB / 0.8677 GB, free: 108 kB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/1.139, allocations: 0 / 0.8677 GB, free: 108 kB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.5831/1.722, allocations: 0.6916 MB / 0.8684 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/1.722, allocations: 6.406 kB / 0.8684 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/1.722, allocations: 2.844 kB / 0.8684 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006045/1.723, allocations: 104.1 kB / 0.8685 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004654/1.723, allocations: 117.1 kB / 0.8686 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005681/1.724, allocations: 0.6658 MB / 0.8693 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/1.724, allocations: 45.33 kB / 0.8693 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.725, allocations: 24.88 kB / 0.8693 GB, free: 191.3 MB / 0.6856 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.0002478/1.725, allocations: 219.9 kB / 0.8695 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/1.725, allocations: 104.7 kB / 0.8696 GB, free: 191.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/1.727, allocations: 0.9427 MB / 0.8706 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/1.727, allocations: 9 kB / 0.8706 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.727, allocations: 0 / 0.8706 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/1.729, allocations: 0.8602 MB / 0.8714 GB, free: 190.4 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003803/1.733, allocations: 1.852 MB / 0.8732 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.733, allocations: 5.453 kB / 0.8732 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/1.733, allocations: 97.67 kB / 0.8733 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007263/1.734, allocations: 151 kB / 0.8735 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/1.734, allocations: 24.84 kB / 0.8735 GB, free: 189.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/1.735, allocations: 1.244 MB / 0.8747 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/1.735, allocations: 5.531 kB / 0.8747 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/1.738, allocations: 1.28 MB / 0.876 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006682/1.739, allocations: 259.5 kB / 0.8762 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.739, allocations: 21.53 kB / 0.8762 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/1.739, allocations: 25.31 kB / 0.8762 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/1.74, allocations: 48.97 kB / 0.8763 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/1.74, allocations: 25.14 kB / 0.8763 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001278/1.741, allocations: 0.6135 MB / 0.8769 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.11e-07/1.741, allocations: 0 / 0.8769 GB, free: 187.2 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00236/1.743, allocations: 0.5618 MB / 0.8775 GB, free: 187.1 MB / 0.6856 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.002847/1.746, allocations: 0.7181 MB / 0.8782 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00303/1.749, allocations: 0.9338 MB / 0.8791 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.749, allocations: 0.5 kB / 0.8791 GB, free: 186.7 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/1.75, allocations: 388.2 kB / 0.8794 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.753, allocations: 464.9 kB / 0.8799 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003847/1.756, allocations: 2.089 MB / 0.8819 GB, free: 185.3 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006618/1.757, allocations: 1.069 MB / 0.883 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009578/1.758, allocations: 208.3 kB / 0.8832 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/1.758, allocations: 80.47 kB / 0.8832 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.102e-06/1.758, allocations: 1.125 kB / 0.8832 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.04985/1.808, allocations: 21.16 MB / 0.9039 GB, free: 174.1 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)