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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 175.2 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 0.7553/0.7553, 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 1.483/1.483, allocations: 221.3 MB / 400.4 MB, free: 5.832 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.0009946/0.0009947, allocations: 94.41 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.225e-05/4.248e-05, allocations: 2.156 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1739, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/1.528, allocations: 423.3 MB / 1.054 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.529, allocations: 87.95 kB / 1.054 GB, free: 197.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.262/2.791, allocations: 336.1 MB / 1.382 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.603e-06/2.791, allocations: 0 / 1.382 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001663/2.791, allocations: 31.59 kB / 1.382 GB, free: 130.8 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.003507/2.795, allocations: 1.324 MB / 1.384 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/2.795, allocations: 8.031 kB / 1.384 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000342/2.795, allocations: 126.8 kB / 1.384 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006103/2.796, allocations: 134.4 kB / 1.384 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/2.798, allocations: 0.9815 MB / 1.385 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/2.798, allocations: 58 kB / 1.385 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/2.799, allocations: 80 kB / 1.385 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/2.8, allocations: 0.8313 MB / 1.386 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/2.8, allocations: 0 / 1.386 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-05/2.8, allocations: 35.95 kB / 1.386 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/2.8, allocations: 20 kB / 1.386 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/2.801, allocations: 0.5778 MB / 1.386 GB, free: 126.5 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.005106/2.806, allocations: 3.786 MB / 1.39 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009325/2.807, allocations: 0.5289 MB / 1.391 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/2.808, allocations: 272.9 kB / 1.391 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008008/2.808, allocations: 1.243 MB / 1.392 GB, free: 120.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004949/2.809, allocations: 315.1 kB / 1.392 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 4.458e-06/2.809, allocations: 0 / 1.392 GB, free: 119.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.001355/2.81, allocations: 0.6322 MB / 1.393 GB, free: 119.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/2.81, allocations: 85.67 kB / 1.393 GB, free: 119.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001175/2.812, allocations: 0.7707 MB / 1.394 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/2.812, allocations: 37.7 kB / 1.394 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/2.812, allocations: 464.2 kB / 1.394 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/2.812, allocations: 216.6 kB / 1.394 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/2.812, allocations: 16 kB / 1.394 GB, free: 117.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.685e-05/2.812, allocations: 326 kB / 1.395 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/2.813, allocations: 189.5 kB / 1.395 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/2.813, allocations: 326 kB / 1.395 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/2.813, allocations: 223.2 kB / 1.395 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/2.813, allocations: 0 / 1.395 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001114/2.814, allocations: 0.6823 MB / 1.396 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/2.815, allocations: 0.8752 MB / 1.397 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/2.815, allocations: 0 / 1.397 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005885/2.815, allocations: 112.7 kB / 1.397 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/2.816, allocations: 115.9 kB / 1.397 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000467/2.816, allocations: 0.6654 MB / 1.398 GB, free: 114 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008509/2.817, allocations: 103.3 kB / 1.398 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/2.817, allocations: 27.98 kB / 1.398 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/2.817, allocations: 4.938 kB / 1.398 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008909/2.818, allocations: 0.5607 MB / 1.399 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/2.818, allocations: 0 / 1.399 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/2.819, allocations: 104.7 kB / 1.399 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/2.819, allocations: 115.8 kB / 1.399 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000409/2.819, allocations: 0.6656 MB / 1.399 GB, free: 112.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007761/2.82, allocations: 87.45 kB / 1.399 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/2.82, allocations: 31.98 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.0001806/2.82, allocations: 140.8 kB / 1.4 GB, free: 112.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/2.821, allocations: 106.7 kB / 1.4 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/2.822, allocations: 0.9292 MB / 1.401 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/2.822, allocations: 8 kB / 1.401 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/2.822, allocations: 3.984 kB / 1.401 GB, free: 111.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009709/2.823, allocations: 0.8335 MB / 1.401 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003053/2.826, allocations: 1.84 MB / 1.403 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/2.826, allocations: 0 / 1.403 GB, free: 108.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004857/2.827, allocations: 111.8 kB / 1.403 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000664/2.828, allocations: 153.7 kB / 1.404 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/2.828, allocations: 23.98 kB / 1.404 GB, free: 108 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007517/2.828, allocations: 1.249 MB / 1.405 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/2.828, allocations: 0 / 1.405 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/2.83, allocations: 1.256 MB / 1.406 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005965/2.831, allocations: 279.5 kB / 1.406 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/2.831, allocations: 15.98 kB / 1.406 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007332/2.832, allocations: 59.89 kB / 1.406 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/2.832, allocations: 52.67 kB / 1.406 GB, free: 105 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/2.832, allocations: 27.98 kB / 1.406 GB, free: 105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008723/2.833, allocations: 0.6054 MB / 1.407 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.833, allocations: 0 / 1.407 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001931/2.835, allocations: 0.6167 MB / 1.408 GB, free: 103.7 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.003804/2.839, allocations: 2.74 MB / 1.41 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00162/2.84, allocations: 0.9145 MB / 1.411 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.84, allocations: 4.25 kB / 1.411 GB, free: 100.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/2.841, allocations: 368.3 kB / 1.412 GB, free: 99.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002129/2.843, allocations: 420.5 kB / 1.412 GB, free: 99.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/2.847, allocations: 1.918 MB / 1.414 GB, free: 97.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006135/2.848, allocations: 1.094 MB / 1.415 GB, free: 96.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001259/2.849, allocations: 287 kB / 1.415 GB, free: 96.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004255/2.849, allocations: 399.3 kB / 1.416 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/2.849, allocations: 0 / 1.416 GB, free: 95.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06596/2.915, allocations: 34.71 MB / 1.449 GB, free: 61.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/2.915, allocations: 221 kB / 1.45 GB, free: 61.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.332/6.248, allocations: 0 / 1.45 GB, free: 61.05 MB / 0.6823 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)