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.001007/0.001007, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7765/0.7765, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.5 MB / 395.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009551/0.0009552, allocations: 98.03 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.707e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.464/0.4641, allocations: 82.3 MB / 0.6339 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8843/1.348, allocations: 422.7 MB / 1.047 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.349, allocations: 94.14 kB / 1.047 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.514/2.863, allocations: 334.1 MB / 1.373 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.433e-06/2.863, allocations: 0 / 1.373 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001374/2.863, allocations: 27.94 kB / 1.373 GB, free: 145.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.002937/2.866, allocations: 1.334 MB / 1.374 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/2.866, allocations: 7.875 kB / 1.374 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/2.867, allocations: 136.1 kB / 1.374 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/2.869, allocations: 0.9671 MB / 1.375 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/2.869, allocations: 30.08 kB / 1.375 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/2.869, allocations: 52.44 kB / 1.376 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009622/2.87, allocations: 0.5199 MB / 1.376 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/2.871, allocations: 0.7164 MB / 1.377 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/2.871, allocations: 7.75 kB / 1.377 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-05/2.871, allocations: 0.6875 kB / 1.377 GB, free: 144.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/2.871, allocations: 19.06 kB / 1.377 GB, free: 144.8 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.004271/2.876, allocations: 3.624 MB / 1.38 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/2.876, allocations: 495.7 kB / 1.381 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/2.877, allocations: 263.1 kB / 1.381 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007756/2.878, allocations: 1.24 MB / 1.382 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004237/2.878, allocations: 292.2 kB / 1.382 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=63): time 2.545e-06/2.878, allocations: 0.9375 kB / 1.382 GB, free: 141.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=63): time 0.001566/2.88, allocations: 0.628 MB / 1.383 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/2.88, allocations: 88.7 kB / 1.383 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008161/2.88, allocations: 0.6455 MB / 1.384 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/2.881, allocations: 29.08 kB / 1.384 GB, free: 141.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/2.881, allocations: 467.4 kB / 1.384 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/2.881, allocations: 212.9 kB / 1.384 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/2.881, allocations: 3.656 kB / 1.384 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.961e-05/2.881, allocations: 337.5 kB / 1.385 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/2.881, allocations: 174 kB / 1.385 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/2.882, allocations: 306.6 kB / 1.385 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/2.882, allocations: 259.9 kB / 1.386 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/2.882, allocations: 0 / 1.386 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001339/2.884, allocations: 0.6547 MB / 1.386 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001738/2.884, allocations: 0.8795 MB / 1.387 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/2.884, allocations: 0 / 1.387 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003099/2.884, allocations: 85.08 kB / 1.387 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000444/2.885, allocations: 116.7 kB / 1.387 GB, free: 139.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000542/2.885, allocations: 0.6797 MB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006963/2.886, allocations: 80.56 kB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-05/2.886, allocations: 28.56 kB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/2.886, allocations: 3.938 kB / 1.388 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001148/2.887, allocations: 0.5345 MB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/2.887, allocations: 3.031 kB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000204/2.888, allocations: 85.48 kB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004105/2.888, allocations: 119.4 kB / 1.389 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005438/2.888, allocations: 0.6777 MB / 1.389 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006528/2.889, allocations: 69.3 kB / 1.389 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-05/2.889, allocations: 28.5 kB / 1.389 GB, free: 138.2 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.0001683/2.889, allocations: 128.8 kB / 1.39 GB, free: 138.1 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001319/2.891, allocations: 0.6262 MB / 1.39 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/2.891, allocations: 88.97 kB / 1.39 GB, free: 138 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/2.893, allocations: 0.8837 MB / 1.391 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/2.893, allocations: 11.59 kB / 1.391 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/2.893, allocations: 3.5 kB / 1.391 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001184/2.894, allocations: 0.8095 MB / 1.392 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/2.897, allocations: 1.706 MB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/2.897, allocations: 0 / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/2.897, allocations: 108.6 kB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004017/2.898, allocations: 141.1 kB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/2.898, allocations: 11.09 kB / 1.394 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000783/2.899, allocations: 1.266 MB / 1.395 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.899, allocations: 2.438 kB / 1.395 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/2.9, allocations: 1.216 MB / 1.396 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/2.901, allocations: 271.5 kB / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/2.901, allocations: 0 / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/2.902, allocations: 56.38 kB / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.106e-05/2.902, allocations: 51.33 kB / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/2.902, allocations: 25.09 kB / 1.397 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006441/2.903, allocations: 0.5039 MB / 1.397 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/2.903, allocations: 0.75 kB / 1.397 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002025/2.905, allocations: 0.5984 MB / 1.398 GB, free: 135.5 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.003939/2.908, allocations: 2.677 MB / 1.4 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001573/2.91, allocations: 0.862 MB / 1.401 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/2.91, allocations: 3.5 kB / 1.401 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000569/2.911, allocations: 351.2 kB / 1.402 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/2.913, allocations: 359.9 kB / 1.402 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/2.916, allocations: 1.839 MB / 1.404 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/2.917, allocations: 1.097 MB / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001167/2.918, allocations: 271.4 kB / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/2.918, allocations: 387.2 kB / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/2.918, allocations: 0 / 1.405 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0577/2.976, allocations: 28.78 MB / 1.433 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/2.976, allocations: 171.9 kB / 1.434 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.078/6.054, allocations: 2.953 kB / 1.434 GB, free: 131.8 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)