Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.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.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume",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.001882/0.001882, 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.188/1.188, 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.954/2.954, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.001589/0.001588, allocations: 97.61 kB / 483.3 MB, free: 5.902 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.619e-05/6.674e-05, allocations: 3 kB / 0.5601 GB, free: 87.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3279, allocations: 82.3 MB / 0.6405 GB, free: 7.77 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.088/9.416, allocations: 1.893 GB / 2.534 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/9.416, allocations: 88.77 kB / 2.534 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.644/18.06, allocations: 1.074 GB / 3.608 GB, free: 86.37 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.829e-06/18.06, allocations: 0 / 3.608 GB, free: 86.37 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0005839/18.06, allocations: 47.95 kB / 3.608 GB, free: 86.37 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.01751/18.08, allocations: 2.159 MB / 3.61 GB, free: 85.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.691e-05/18.08, allocations: 9.219 kB / 3.61 GB, free: 85.83 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001321/18.08, allocations: 200.6 kB / 3.611 GB, free: 85.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007637/18.09, allocations: 0.5157 MB / 3.611 GB, free: 85.69 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007586/18.1, allocations: 1.273 MB / 3.612 GB, free: 85.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/18.1, allocations: 105.1 kB / 3.612 GB, free: 85.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/18.1, allocations: 145.9 kB / 3.612 GB, free: 85.38 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006584/18.1, allocations: 1.607 MB / 3.614 GB, free: 85.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.683e-05/18.1, allocations: 5.688 kB / 3.614 GB, free: 85.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/18.1, allocations: 56.42 kB / 3.614 GB, free: 85.15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/18.1, allocations: 60.45 kB / 3.614 GB, free: 85.15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/18.11, allocations: 1.355 MB / 3.615 GB, free: 85.13 MB / 0.7136 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.02257/18.13, allocations: 7.159 MB / 3.622 GB, free: 81.67 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003977/18.14, allocations: 1.143 MB / 3.624 GB, free: 81.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/18.14, allocations: 0.5812 MB / 3.624 GB, free: 81.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/18.14, allocations: 0.8671 MB / 3.625 GB, free: 80.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002065/18.14, allocations: 0.5816 MB / 3.626 GB, free: 80.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 8.716e-06/18.14, allocations: 0 / 3.626 GB, free: 80.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.006131/18.15, allocations: 1.114 MB / 3.627 GB, free: 80.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/18.15, allocations: 90.62 kB / 3.627 GB, free: 80.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004589/18.15, allocations: 1.032 MB / 3.628 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005034/18.15, allocations: 49.98 kB / 3.628 GB, free: 80.01 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/18.15, allocations: 0.6747 MB / 3.628 GB, free: 79.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009962/18.16, allocations: 383 kB / 3.629 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/18.16, allocations: 20.38 kB / 3.629 GB, free: 79.64 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002088/18.16, allocations: 345.6 kB / 3.629 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/18.16, allocations: 395.4 kB / 3.63 GB, free: 79.33 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/18.16, allocations: 0.569 MB / 3.63 GB, free: 79.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/18.16, allocations: 481.8 kB / 3.631 GB, free: 79.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/18.16, allocations: 0 / 3.631 GB, free: 79.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004633/18.17, allocations: 1.176 MB / 3.632 GB, free: 79.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005362/18.17, allocations: 0.989 MB / 3.633 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/18.17, allocations: 5 kB / 3.633 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.923e-05/18.17, allocations: 7.219 kB / 3.633 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/18.17, allocations: 222.4 kB / 3.633 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-05/18.17, allocations: 12.72 kB / 3.633 GB, free: 78.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003695/18.17, allocations: 169.5 kB / 3.633 GB, free: 77.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/18.17, allocations: 38.12 kB / 3.633 GB, free: 77.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/18.17, allocations: 5.391 kB / 3.633 GB, free: 77.99 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003077/18.18, allocations: 1.014 MB / 3.634 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/18.18, allocations: 3.969 kB / 3.634 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/18.18, allocations: 7.438 kB / 3.634 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/18.18, allocations: 219.3 kB / 3.634 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/18.18, allocations: 7 kB / 3.634 GB, free: 77.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/18.18, allocations: 169.4 kB / 3.635 GB, free: 77.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001958/18.18, allocations: 37.56 kB / 3.635 GB, free: 77.94 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (126): * Single equations (assignments): 126 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005782/18.18, allocations: 166.7 kB / 3.635 GB, free: 77.83 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009103/18.18, allocations: 151.8 kB / 3.635 GB, free: 77.75 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/18.19, allocations: 1.208 MB / 3.636 GB, free: 77.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.055e-05/18.19, allocations: 12.66 kB / 3.636 GB, free: 77.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/18.19, allocations: 0 / 3.636 GB, free: 77.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002537/18.19, allocations: 0.9741 MB / 3.637 GB, free: 77.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/18.2, allocations: 3.149 MB / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/18.2, allocations: 0 / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00219/18.2, allocations: 244.1 kB / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.851e-05/18.2, allocations: 5.938 kB / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/18.2, allocations: 30.5 kB / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.852e-05/18.2, allocations: 10.78 kB / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/18.2, allocations: 3.375 kB / 3.64 GB, free: 76.99 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008907/18.21, allocations: 2.084 MB / 3.642 GB, free: 76.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002568/18.22, allocations: 365.8 kB / 3.643 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009664/18.22, allocations: 29.69 kB / 3.643 GB, free: 76.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/18.22, allocations: 122.2 kB / 3.643 GB, free: 76.28 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003283/18.22, allocations: 66.91 kB / 3.643 GB, free: 76.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/18.22, allocations: 41.08 kB / 3.643 GB, free: 76.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002507/18.22, allocations: 0.8014 MB / 3.644 GB, free: 76.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.12e-07/18.22, allocations: 2.125 kB / 3.644 GB, free: 76.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01275/18.24, allocations: 1.103 MB / 3.645 GB, free: 76.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.U,roo.dynBal.m,roo.dynBal.mXi[1],oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.U,sha.vol.dynBal.m,sha.vol.dynBal.mXi[1]) * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01881/18.26, allocations: 6.054 MB / 3.651 GB, free: 73.48 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005924/18.26, allocations: 1.609 MB / 3.652 GB, free: 73.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.059e-05/18.26, allocations: 3.312 kB / 3.652 GB, free: 73.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/18.26, allocations: 0.5363 MB / 3.653 GB, free: 73.44 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008135/18.27, allocations: 0.8092 MB / 3.654 GB, free: 73.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/18.28, allocations: 3.133 MB / 3.657 GB, free: 72.66 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/18.29, allocations: 1.404 MB / 3.658 GB, free: 71.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006602/18.29, allocations: 0.5847 MB / 3.659 GB, free: 71.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002224/18.3, allocations: 0.5995 MB / 3.659 GB, free: 71.92 MB / 0.7136 GB Notification: Performance of SimCode: time 2.975e-06/18.3, allocations: 0 / 3.659 GB, free: 71.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2432/18.54, allocations: 86.94 MB / 3.744 GB, free: 68.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003492/18.54, allocations: 202 kB / 3.744 GB, free: 68.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.374/27.91, allocations: 0 / 3.744 GB, free: 68.7 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)