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: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.00123, allocations: 99.55 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.001345/0.001345, 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.629/1.629, allocations: 223.2 MB / 239.9 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7451/0.7451, allocations: 132.3 MB / 423.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 11.98 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4687/0.469, allocations: 81.58 MB / 0.583 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume): time 0.1678/0.6369, allocations: 141.6 MB / 0.7213 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.6495, allocations: 7.686 MB / 0.7288 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.6513, allocations: 35.75 kB / 0.7288 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.6533, allocations: 0.591 MB / 0.7294 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005636/0.659, allocations: 1.511 MB / 0.7309 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.6633, allocations: 1.228 MB / 0.7321 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003261/0.6665, allocations: 1.633 MB / 0.7337 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.6676, allocations: 0.7164 MB / 0.7344 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.6688, allocations: 0.7668 MB / 0.7351 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008758/0.6697, allocations: 0.6809 MB / 0.7358 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.6698, allocations: 44 kB / 0.7358 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002217/0.6721, allocations: 0.8622 MB / 0.7367 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.6723, allocations: 211.1 kB / 0.7369 GB, free: 2.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002853/0.6726, allocations: 245 kB / 0.7371 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.6741, allocations: 1.212 MB / 0.7383 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.6742, allocations: 0 / 0.7383 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6742, allocations: 3.938 kB / 0.7383 GB, free: 1.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.303e-05/0.6742, allocations: 4 kB / 0.7383 GB, free: 1.125 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.002524/0.6767, allocations: 1.373 MB / 0.7396 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.6768, allocations: 11.97 kB / 0.7396 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.6769, allocations: 126.8 kB / 0.7398 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002568/0.6772, allocations: 134.5 kB / 0.7399 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001274/0.6785, allocations: 0.7776 MB / 0.7407 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.101e-05/0.6785, allocations: 61.98 kB / 0.7407 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/0.6787, allocations: 76 kB / 0.7408 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.6801, allocations: 0.8577 MB / 0.7416 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.6802, allocations: 11.94 kB / 0.7416 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-05/0.6803, allocations: 32 kB / 0.7417 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.6803, allocations: 23.94 kB / 0.7417 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6815, allocations: 0.6285 MB / 0.7423 GB, free: 12.86 MB / 0.5762 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.004759/0.6863, allocations: 3.985 MB / 0.7462 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.6874, allocations: 0.5759 MB / 0.7468 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.6885, allocations: 1.243 MB / 0.748 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.6891, allocations: 331.1 kB / 0.7483 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=63): time 2.525e-06/0.6891, allocations: 0 / 0.7483 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=63): time 0.00242/0.6915, allocations: 1.143 MB / 0.7494 GB, free: 5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.6916, allocations: 85.66 kB / 0.7495 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6926, allocations: 0.8728 MB / 0.7503 GB, free: 4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.265e-05/0.6927, allocations: 41.7 kB / 0.7504 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003637/0.6931, allocations: 464.2 kB / 0.7508 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.6933, allocations: 224.7 kB / 0.751 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.6933, allocations: 12 kB / 0.751 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.6934, allocations: 334 kB / 0.7514 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.6938, allocations: 205.2 kB / 0.7516 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.6943, allocations: 312.4 kB / 0.7519 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.6948, allocations: 242.1 kB / 0.7521 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6948, allocations: 0 / 0.7521 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001229/0.6961, allocations: 0.7134 MB / 0.7528 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003345/0.6964, allocations: 0.8817 MB / 0.7536 GB, free: 496 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6964, allocations: 3.984 kB / 0.7536 GB, free: 492 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005844/0.697, allocations: 104.8 kB / 0.7537 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.6975, allocations: 123.8 kB / 0.7539 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006092/0.6981, allocations: 0.6616 MB / 0.7545 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.6987, allocations: 95.39 kB / 0.7546 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.6988, allocations: 27.98 kB / 0.7546 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.6988, allocations: 4 kB / 0.7546 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009986/0.6998, allocations: 0.5761 MB / 0.7552 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.6998, allocations: 0 / 0.7552 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.7003, allocations: 104.8 kB / 0.7553 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.7007, allocations: 111.8 kB / 0.7554 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005218/0.7012, allocations: 0.6617 MB / 0.7561 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.7018, allocations: 91.48 kB / 0.7561 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-05/0.7019, allocations: 27.98 kB / 0.7562 GB, free: 13.84 MB / 0.5919 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.0004713/0.7024, allocations: 328.9 kB / 0.7565 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.7025, allocations: 102.8 kB / 0.7566 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.7042, allocations: 0.9524 MB / 0.7575 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.7043, allocations: 15.92 kB / 0.7575 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7043, allocations: 0 / 0.7575 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001261/0.7056, allocations: 0.8582 MB / 0.7584 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.7084, allocations: 1.857 MB / 0.7602 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.7084, allocations: 4 kB / 0.7602 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.7089, allocations: 107.8 kB / 0.7603 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006311/0.7095, allocations: 165.2 kB / 0.7604 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.7096, allocations: 16 kB / 0.7605 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009156/0.7105, allocations: 1.249 MB / 0.7617 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7105, allocations: 0 / 0.7617 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.7126, allocations: 1.307 MB / 0.7629 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.7131, allocations: 283.6 kB / 0.7632 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.7132, allocations: 12 kB / 0.7632 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005389/0.7137, allocations: 63.8 kB / 0.7633 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7139, allocations: 48.55 kB / 0.7633 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.445e-05/0.7139, allocations: 27.98 kB / 0.7634 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007639/0.7147, allocations: 0.6169 MB / 0.764 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.7147, allocations: 0 / 0.764 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001409/0.7161, allocations: 0.5573 MB / 0.7645 GB, free: 5.016 MB / 0.5919 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.003822/0.72, allocations: 2.591 MB / 0.767 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.7218, allocations: 0.9225 MB / 0.7679 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.7218, allocations: 4 kB / 0.7679 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007435/0.7226, allocations: 387.6 kB / 0.7683 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.7246, allocations: 417.9 kB / 0.7687 GB, free: 0.8789 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009376/0.734, allocations: 7.373 MB / 0.7759 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006134/0.7346, allocations: 1.092 MB / 0.777 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008735/0.7355, allocations: 216.2 kB / 0.7772 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/0.736, allocations: 415.3 kB / 0.7776 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of SimCode: time 1.313e-06/0.736, allocations: 0 / 0.7776 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05286/0.7889, allocations: 29 MB / 0.8059 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/0.7893, allocations: 246.9 kB / 0.8061 GB, free: 10.67 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/3.37, allocations: 0 / 0.8061 GB, free: 10.67 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1) Environment - environmentSimulation: