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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 99.08 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.002191/0.002191, 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 2.385/2.385, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.515/1.515, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005622/0.0005624, allocations: 8 kB / 0.5069 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.299, allocations: 82.32 MB / 0.5873 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.9042/1.203, allocations: 193.5 MB / 0.7762 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02573/1.229, allocations: 10.33 MB / 0.7863 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004719/1.234, allocations: 55.62 kB / 0.7864 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005338/1.239, allocations: 1.062 MB / 0.7874 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01498/1.254, allocations: 2.964 MB / 0.7903 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.009316/1.264, allocations: 1.571 MB / 0.7918 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009348/1.273, allocations: 2.554 MB / 0.7943 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004057/1.277, allocations: 1.194 MB / 0.7955 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005288/1.282, allocations: 1.25 MB / 0.7967 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003382/1.286, allocations: 0.9377 MB / 0.7976 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007962/1.287, allocations: 76 kB / 0.7977 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007665/1.294, allocations: 1.361 MB / 0.799 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0016/1.296, allocations: 0.5258 MB / 0.7996 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/1.298, allocations: 408.7 kB / 0.7999 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00703/1.305, allocations: 2.374 MB / 0.8023 GB, free: 256 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/1.305, allocations: 0 / 0.8023 GB, free: 256 kB / 0.6075 GB Notification: Performance of FrontEnd: time 3.486e-06/1.305, allocations: 0 / 0.8023 GB, free: 256 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001645/1.305, allocations: 0 / 0.8023 GB, free: 256 kB / 0.6075 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.01067/1.316, allocations: 2.095 MB / 0.8043 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/1.316, allocations: 8.031 kB / 0.8043 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009878/1.317, allocations: 198.6 kB / 0.8045 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006999/1.324, allocations: 0.5323 MB / 0.805 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/1.329, allocations: 1.175 MB / 0.8062 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002122/1.329, allocations: 106.7 kB / 0.8063 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006776/1.33, allocations: 136 kB / 0.8064 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006662/1.337, allocations: 1.658 MB / 0.808 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/1.337, allocations: 3.906 kB / 0.808 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003509/1.337, allocations: 59.98 kB / 0.8081 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001941/1.337, allocations: 70.56 kB / 0.8082 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005459/1.343, allocations: 1.439 MB / 0.8096 GB, free: 8.586 MB / 0.6231 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.0164/1.359, allocations: 6.95 MB / 0.8163 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/1.362, allocations: 1.196 MB / 0.8175 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009418/1.363, allocations: 0.6931 MB / 0.8182 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/1.365, allocations: 0.5986 MB / 0.8188 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=110): time 6.973e-06/1.365, allocations: 0 / 0.8188 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=110): time 0.005429/1.371, allocations: 1.58 MB / 0.8203 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.041e-05/1.371, allocations: 90.11 kB / 0.8204 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/1.374, allocations: 1.187 MB / 0.8216 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000199/1.374, allocations: 49.7 kB / 0.8216 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009871/1.375, allocations: 0.6698 MB / 0.8223 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/1.376, allocations: 390.3 kB / 0.8226 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/1.376, allocations: 20 kB / 0.8227 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.376, allocations: 349.9 kB / 0.823 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/1.378, allocations: 417.8 kB / 0.8234 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/1.379, allocations: 0.569 MB / 0.8239 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.381, allocations: 490.9 kB / 0.8244 GB, free: 8.617 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/1.381, allocations: 4 kB / 0.8244 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003662/1.384, allocations: 1.21 MB / 0.8256 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006051/1.385, allocations: 0.9822 MB / 0.8266 GB, free: 6.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.385, allocations: 7.984 kB / 0.8266 GB, free: 6.348 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.156e-05/1.385, allocations: 4 kB / 0.8266 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.387, allocations: 219.7 kB / 0.8268 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.603e-05/1.387, allocations: 11.95 kB / 0.8268 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002761/1.389, allocations: 169.7 kB / 0.827 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.39, allocations: 40 kB / 0.827 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.39, allocations: 4 kB / 0.827 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002902/1.393, allocations: 1.031 MB / 0.828 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.393, allocations: 2.656 kB / 0.828 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.393, allocations: 8 kB / 0.828 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/1.394, allocations: 217.9 kB / 0.8282 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.889e-05/1.394, allocations: 11.92 kB / 0.8282 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.397, allocations: 155 kB / 0.8284 GB, free: 4.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/1.397, allocations: 36 kB / 0.8284 GB, free: 4.461 MB / 0.6387 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 () * Number of clocked 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.001623/1.399, allocations: 492.8 kB / 0.8289 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007705/1.399, allocations: 150.2 kB / 0.829 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/1.404, allocations: 1.236 MB / 0.8302 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/1.404, allocations: 16 kB / 0.8302 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.404, allocations: 3.938 kB / 0.8303 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002904/1.407, allocations: 1.007 MB / 0.8312 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009401/1.416, allocations: 3.168 MB / 0.8343 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.416, allocations: 4 kB / 0.8343 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/1.418, allocations: 232.1 kB / 0.8346 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.813e-05/1.418, allocations: 4 kB / 0.8346 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001366/1.418, allocations: 31.94 kB / 0.8346 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-05/1.418, allocations: 19.56 kB / 0.8346 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.418, allocations: 4 kB / 0.8346 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005724/1.424, allocations: 2.131 MB / 0.8367 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/1.426, allocations: 362.9 kB / 0.837 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005409/1.426, allocations: 20 kB / 0.8371 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/1.428, allocations: 119.4 kB / 0.8372 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/1.429, allocations: 84.83 kB / 0.8373 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.429, allocations: 35.98 kB / 0.8373 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002215/1.431, allocations: 0.8219 MB / 0.8381 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.41e-07/1.431, allocations: 0 / 0.8381 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004067/1.435, allocations: 0.8338 MB / 0.8389 GB, free: 9.41 MB / 0.6544 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 108 * 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.008236/1.443, allocations: 3.834 MB / 0.8426 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004888/1.448, allocations: 1.608 MB / 0.8442 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/1.448, allocations: 0 / 0.8442 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/1.45, allocations: 0.5719 MB / 0.8448 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006851/1.457, allocations: 0.8079 MB / 0.8456 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/1.49, allocations: 11.09 MB / 0.8564 GB, free: 7.195 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/1.493, allocations: 1.399 MB / 0.8578 GB, free: 5.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003948/1.497, allocations: 451.6 kB / 0.8582 GB, free: 5.324 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001805/1.498, allocations: 0.6281 MB / 0.8588 GB, free: 4.695 MB / 0.67 GB Notification: Performance of SimCode: time 2.114e-06/1.498, allocations: 0 / 0.8588 GB, free: 4.695 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6347/2.133, allocations: 41.62 MB / 0.8994 GB, free: 209.1 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0008865/2.134, allocations: 225.8 kB / 0.8997 GB, free: 208.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.851/6.985, allocations: 0 / 0.8997 GB, free: 208.9 MB / 0.67 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) Environment - environmentSimulation: