Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009209/0.0009211, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001051/0.001051, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.061/1.061, allocations: 143.4 MB / 434.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000512/0.0005123, allocations: 12 kB / 0.5161 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2472, allocations: 83.41 MB / 0.5975 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.5576/0.8049, allocations: 215.2 MB / 0.8077 GB, free: 4.816 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01532/0.8202, allocations: 9.807 MB / 0.8172 GB, free: 10.99 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.8225, allocations: 55.62 kB / 0.8173 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.8249, allocations: 0.8078 MB / 0.8181 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006897/0.8318, allocations: 2.652 MB / 0.8207 GB, free: 7.461 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004311/0.8361, allocations: 1.452 MB / 0.8221 GB, free: 6.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006321/0.8424, allocations: 5.272 MB / 0.8272 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002024/0.8445, allocations: 1.179 MB / 0.8284 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.848, allocations: 1.354 MB / 0.8297 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.8507, allocations: 1.413 MB / 0.8311 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002292/0.851, allocations: 75.94 kB / 0.8312 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005494/0.8565, allocations: 1.617 MB / 0.8327 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0008699/0.8574, allocations: 0.5762 MB / 0.8333 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000856/0.8582, allocations: 408.7 kB / 0.8337 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00461/0.8629, allocations: 2.693 MB / 0.8363 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.089e-05/0.8629, allocations: 0 / 0.8363 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.316e-06/0.8629, allocations: 0 / 0.8363 GB, free: 7.371 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.725e-05/0.863, allocations: 0 / 0.8363 GB, free: 7.371 MB / 0.6544 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.005528/0.8685, allocations: 2.147 MB / 0.8384 GB, free: 5.172 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.8686, allocations: 11.97 kB / 0.8384 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.8689, allocations: 202.6 kB / 0.8386 GB, free: 4.953 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.8721, allocations: 0.5244 MB / 0.8391 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.8742, allocations: 1.182 MB / 0.8403 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.823e-05/0.8743, allocations: 110.6 kB / 0.8404 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.8746, allocations: 132 kB / 0.8405 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.8776, allocations: 1.662 MB / 0.8421 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/0.8776, allocations: 3.938 kB / 0.8421 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001384/0.8778, allocations: 56 kB / 0.8422 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.536e-05/0.8779, allocations: 74.56 kB / 0.8423 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.8805, allocations: 1.447 MB / 0.8437 GB, free: 15.63 MB / 0.67 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.009536/0.8901, allocations: 6.985 MB / 0.8505 GB, free: 8.191 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.8923, allocations: 1.194 MB / 0.8517 GB, free: 6.961 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.8934, allocations: 0.6084 MB / 0.8523 GB, free: 6.348 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.8947, allocations: 0.8633 MB / 0.8531 GB, free: 5.301 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001352/0.8961, allocations: 0.6064 MB / 0.8537 GB, free: 4.68 MB / 0.67 GB Notification: Performance of pre-optimization done (n=110): time 5.21e-06/0.8961, allocations: 0 / 0.8537 GB, free: 4.68 MB / 0.67 GB Notification: Performance of matching and sorting (n=110): time 0.003923/0.9, allocations: 1.584 MB / 0.8552 GB, free: 3.094 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.9002, allocations: 94.09 kB / 0.8553 GB, free: 2.984 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002523/0.9027, allocations: 1.178 MB / 0.8565 GB, free: 1.785 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.9028, allocations: 45.7 kB / 0.8565 GB, free: 1.734 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008483/0.9037, allocations: 0.6788 MB / 0.8572 GB, free: 1.051 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005623/0.9043, allocations: 382.4 kB / 0.8576 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.999e-05/0.9043, allocations: 24 kB / 0.8576 GB, free: 0.6484 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002546/0.9046, allocations: 345.9 kB / 0.8579 GB, free: 312 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3382/1.243, allocations: 411.7 kB / 0.8583 GB, free: 207.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/1.244, allocations: 0.5553 MB / 0.8588 GB, free: 207.6 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007999/1.245, allocations: 0.4921 MB / 0.8593 GB, free: 207.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.245, allocations: 0 / 0.8593 GB, free: 207.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002166/1.247, allocations: 1.218 MB / 0.8605 GB, free: 207.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.553e-05/1.247, allocations: 169.1 kB / 0.8607 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/1.247, allocations: 2.812 kB / 0.8607 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/1.247, allocations: 11.06 kB / 0.8607 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/1.248, allocations: 214.8 kB / 0.8609 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.248, allocations: 8.438 kB / 0.8609 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.249, allocations: 189.9 kB / 0.8611 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/1.25, allocations: 40.86 kB / 0.8611 GB, free: 207.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/1.25, allocations: 6.938 kB / 0.8611 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/1.251, allocations: 1.039 MB / 0.8621 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/1.251, allocations: 2.969 kB / 0.8621 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/1.251, allocations: 9.219 kB / 0.8622 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/1.252, allocations: 212.4 kB / 0.8624 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/1.252, allocations: 5.469 kB / 0.8624 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.253, allocations: 177 kB / 0.8625 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.989e-05/1.253, allocations: 35.53 kB / 0.8626 GB, free: 207.3 MB / 0.67 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.0008042/1.254, allocations: 492.3 kB / 0.863 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/1.254, allocations: 157.7 kB / 0.8632 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/1.256, allocations: 1.244 MB / 0.8644 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.256, allocations: 14.42 kB / 0.8644 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.256, allocations: 0.5625 kB / 0.8644 GB, free: 207 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/1.258, allocations: 1.012 MB / 0.8654 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004992/1.263, allocations: 3.171 MB / 0.8685 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.263, allocations: 2.75 kB / 0.8685 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/1.264, allocations: 233.2 kB / 0.8687 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.61e-05/1.264, allocations: 9.844 kB / 0.8687 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.213e-05/1.264, allocations: 27.75 kB / 0.8688 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.157e-05/1.264, allocations: 5.719 kB / 0.8688 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.264, allocations: 6.125 kB / 0.8688 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003018/1.267, allocations: 1.916 MB / 0.8706 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008886/1.268, allocations: 358.7 kB / 0.871 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.268, allocations: 30.22 kB / 0.871 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/1.269, allocations: 113.9 kB / 0.8711 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.27, allocations: 79.48 kB / 0.8712 GB, free: 204.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.509e-05/1.27, allocations: 36.42 kB / 0.8712 GB, free: 204.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001009/1.271, allocations: 0.82 MB / 0.872 GB, free: 204.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.271, allocations: 0 / 0.872 GB, free: 204.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00188/1.273, allocations: 0.8375 MB / 0.8729 GB, free: 204.3 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 9 (roo.dynBal.medium.Xi[1],roo.dynBal.U,roo.dynBal.m,oriChiTop.mExc,oriBot.mExc,oriChiBot.mExc,sha.vol.dynBal.medium.Xi[1],sha.vol.dynBal.U,sha.vol.dynBal.m) * 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.003951/1.277, allocations: 2.96 MB / 0.8757 GB, free: 202.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002595/1.279, allocations: 1.609 MB / 0.8773 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.279, allocations: 0 / 0.8773 GB, free: 202.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/1.28, allocations: 0.5713 MB / 0.8779 GB, free: 202.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003687/1.284, allocations: 0.83 MB / 0.8787 GB, free: 201.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.299, allocations: 9.726 MB / 0.8882 GB, free: 196.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/1.3, allocations: 1.369 MB / 0.8895 GB, free: 196 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002201/1.303, allocations: 462.6 kB / 0.89 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008697/1.303, allocations: 0.6245 MB / 0.8906 GB, free: 195.4 MB / 0.67 GB Notification: Performance of SimCode: time 1.684e-06/1.303, allocations: 0 / 0.8906 GB, free: 195.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/1.409, allocations: 41.7 MB / 0.9313 GB, free: 181.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/1.409, allocations: 243.9 kB / 0.9315 GB, free: 181.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/4.603, allocations: 3.125 kB / 0.9315 GB, free: 181.4 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: