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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001951/0.001951, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.179/1.179, allocations: 133.4 MB / 146.7 MB, free: 10.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.754/2.754, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 86.14 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.563e-05/6.579e-05, allocations: 4.688 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2811/0.2812, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.27/2.552, allocations: 423.3 MB / 1.054 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004525/2.552, allocations: 87.95 kB / 1.054 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.933/4.486, allocations: 336.1 MB / 1.382 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.13e-06/4.486, allocations: 4 kB / 1.382 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003312/4.486, allocations: 24 kB / 1.382 GB, free: 130.9 MB / 0.6823 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.005149/4.491, allocations: 1.32 MB / 1.384 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.692e-05/4.491, allocations: 8.031 kB / 1.384 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004195/4.492, allocations: 130.8 kB / 1.384 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/4.493, allocations: 138.4 kB / 1.384 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/4.496, allocations: 0.9763 MB / 1.385 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.921e-05/4.497, allocations: 58 kB / 1.385 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/4.497, allocations: 87.98 kB / 1.385 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/4.499, allocations: 0.8196 MB / 1.386 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.217e-05/4.499, allocations: 4 kB / 1.386 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/4.499, allocations: 35.95 kB / 1.386 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/4.499, allocations: 23.84 kB / 1.386 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/4.501, allocations: 0.5817 MB / 1.386 GB, free: 126.6 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.007083/4.508, allocations: 3.774 MB / 1.39 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/4.51, allocations: 0.5367 MB / 1.391 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007049/4.51, allocations: 274.5 kB / 1.391 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/4.512, allocations: 1.243 MB / 1.392 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008347/4.513, allocations: 307.1 kB / 1.392 GB, free: 120 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 5.921e-06/4.513, allocations: 0 / 1.392 GB, free: 120 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.002455/4.515, allocations: 0.64 MB / 1.393 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/4.515, allocations: 81.67 kB / 1.393 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/4.517, allocations: 0.7784 MB / 1.394 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/4.517, allocations: 37.7 kB / 1.394 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005391/4.518, allocations: 464.2 kB / 1.394 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00027/4.518, allocations: 212.5 kB / 1.394 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.474e-05/4.518, allocations: 12 kB / 1.394 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001238/4.518, allocations: 330 kB / 1.395 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/4.519, allocations: 185.5 kB / 1.395 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/4.519, allocations: 333.9 kB / 1.395 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006276/4.52, allocations: 223.2 kB / 1.395 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/4.52, allocations: 0 / 1.395 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002096/4.522, allocations: 0.682 MB / 1.396 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004179/4.523, allocations: 0.8754 MB / 1.397 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/4.523, allocations: 4 kB / 1.397 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/4.524, allocations: 100.7 kB / 1.397 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008269/4.525, allocations: 123.9 kB / 1.397 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007873/4.525, allocations: 0.6602 MB / 1.398 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/4.527, allocations: 107.3 kB / 1.398 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/4.527, allocations: 27.98 kB / 1.398 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/4.527, allocations: 4.938 kB / 1.398 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001566/4.529, allocations: 0.5605 MB / 1.399 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/4.529, allocations: 4 kB / 1.399 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007392/4.529, allocations: 104.7 kB / 1.399 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/4.53, allocations: 116.2 kB / 1.399 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006872/4.531, allocations: 0.6615 MB / 1.399 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/4.532, allocations: 91.45 kB / 1.399 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-05/4.532, allocations: 28 kB / 1.4 GB, free: 112.3 MB / 0.6823 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 () * 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.0002917/4.533, allocations: 140.8 kB / 1.4 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/4.533, allocations: 102.8 kB / 1.4 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/4.536, allocations: 0.9254 MB / 1.401 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/4.536, allocations: 11.94 kB / 1.401 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/4.536, allocations: 0 / 1.401 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001575/4.537, allocations: 0.826 MB / 1.401 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00438/4.542, allocations: 1.845 MB / 1.403 GB, free: 108.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/4.542, allocations: 4.062 kB / 1.403 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007964/4.542, allocations: 107.8 kB / 1.403 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009226/4.543, allocations: 153.6 kB / 1.404 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/4.543, allocations: 23.98 kB / 1.404 GB, free: 108.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/4.545, allocations: 1.249 MB / 1.405 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/4.545, allocations: 0 / 1.405 GB, free: 106.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/4.548, allocations: 1.26 MB / 1.406 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009715/4.549, allocations: 283.5 kB / 1.406 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/4.549, allocations: 12 kB / 1.406 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/4.55, allocations: 59.95 kB / 1.406 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/4.55, allocations: 52.67 kB / 1.406 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/4.55, allocations: 23.98 kB / 1.406 GB, free: 105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001324/4.552, allocations: 0.6054 MB / 1.407 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/4.552, allocations: 0 / 1.407 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002854/4.555, allocations: 0.6196 MB / 1.408 GB, free: 103.8 MB / 0.6823 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 55 * 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.00602/4.561, allocations: 2.733 MB / 1.41 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002698/4.563, allocations: 0.9223 MB / 1.411 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/4.563, allocations: 0 / 1.411 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000987/4.564, allocations: 368.3 kB / 1.412 GB, free: 99.95 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/4.568, allocations: 427.3 kB / 1.412 GB, free: 99.53 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006252/4.575, allocations: 1.91 MB / 1.414 GB, free: 97.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007055/4.575, allocations: 1.098 MB / 1.415 GB, free: 96.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002182/4.578, allocations: 291 kB / 1.415 GB, free: 96.16 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/4.578, allocations: 395.3 kB / 1.416 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.794e-06/4.578, allocations: 0 / 1.416 GB, free: 95.77 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1019/4.68, allocations: 34.71 MB / 1.449 GB, free: 61.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/4.681, allocations: 228 kB / 1.45 GB, free: 61.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.201/10.88, allocations: 0 / 1.45 GB, free: 61.12 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftNoVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftNoVolume.pipe 2>&1)