Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="IBPSA_latest_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.001346/0.001345, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 176.5 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.2 MB / 240.5 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7876/0.7876, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003554, allocations: 12 kB / 493 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 77.12 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume): time 0.6265/0.8223, allocations: 193.5 MB / 0.7457 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.8414, allocations: 10.33 MB / 0.7558 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002748/0.8442, allocations: 51.62 kB / 0.7558 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00388/0.8481, allocations: 1.062 MB / 0.7569 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.859, allocations: 2.968 MB / 0.7598 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006155/0.8652, allocations: 1.587 MB / 0.7613 GB, free: 8.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006239/0.8715, allocations: 2.539 MB / 0.7638 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.8739, allocations: 1.204 MB / 0.765 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.8765, allocations: 1.246 MB / 0.7662 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.8778, allocations: 0.9377 MB / 0.7671 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.8779, allocations: 80 kB / 0.7672 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003603/0.8816, allocations: 1.349 MB / 0.7685 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005831/0.8822, allocations: 0.5297 MB / 0.769 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.8827, allocations: 404.7 kB / 0.7694 GB, free: 220 kB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00309/0.8858, allocations: 2.377 MB / 0.7717 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.8858, allocations: 0 / 0.7717 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8858, allocations: 0 / 0.7717 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.88e-05/0.8859, allocations: 0 / 0.7717 GB, free: 13.84 MB / 0.5919 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.004645/0.8905, allocations: 2.094 MB / 0.7738 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.8906, allocations: 8.031 kB / 0.7738 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003123/0.8909, allocations: 202.6 kB / 0.774 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003287/0.8942, allocations: 0.5362 MB / 0.7745 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.8963, allocations: 1.171 MB / 0.7756 GB, free: 9.707 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/0.8964, allocations: 102.6 kB / 0.7757 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.8966, allocations: 132 kB / 0.7759 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00268/0.8993, allocations: 1.662 MB / 0.7775 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.8993, allocations: 7.938 kB / 0.7775 GB, free: 7.738 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.8995, allocations: 59.98 kB / 0.7775 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.368e-05/0.8995, allocations: 66.58 kB / 0.7776 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.902, allocations: 1.447 MB / 0.779 GB, free: 6.16 MB / 0.5919 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.008456/0.9104, allocations: 6.969 MB / 0.7858 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.9122, allocations: 1.208 MB / 0.787 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006224/0.9128, allocations: 0.6931 MB / 0.7877 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009596/0.9138, allocations: 0.6025 MB / 0.7883 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=110): time 3.407e-06/0.9138, allocations: 0 / 0.7883 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of matching and sorting (n=110): time 0.002802/0.9166, allocations: 1.58 MB / 0.7898 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.9167, allocations: 90.11 kB / 0.7899 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.918, allocations: 1.182 MB / 0.7911 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-05/0.9181, allocations: 49.7 kB / 0.7911 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/0.9186, allocations: 0.6736 MB / 0.7918 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/0.919, allocations: 386.4 kB / 0.7921 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/0.919, allocations: 20 kB / 0.7921 GB, free: 8 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.9192, allocations: 345.9 kB / 0.7925 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/0.9199, allocations: 429.8 kB / 0.7929 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007999/0.9207, allocations: 0.5478 MB / 0.7934 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/0.9215, allocations: 494.9 kB / 0.7939 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.9216, allocations: 0 / 0.7939 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002089/0.9237, allocations: 1.219 MB / 0.7951 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004353/0.9241, allocations: 0.9821 MB / 0.796 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.9241, allocations: 7.984 kB / 0.7961 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.9242, allocations: 8 kB / 0.7961 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.9252, allocations: 215.7 kB / 0.7963 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.9252, allocations: 12 kB / 0.7963 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.9267, allocations: 182.9 kB / 0.7965 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.236e-05/0.9268, allocations: 39.98 kB / 0.7965 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.9268, allocations: 0 / 0.7965 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001788/0.9286, allocations: 1.046 MB / 0.7975 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.9287, allocations: 4 kB / 0.7975 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.9287, allocations: 4 kB / 0.7975 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.9296, allocations: 211.7 kB / 0.7977 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.602e-05/0.9296, allocations: 8 kB / 0.7977 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.9311, allocations: 183.1 kB / 0.7979 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-05/0.9312, allocations: 39.94 kB / 0.7979 GB, free: 1.961 MB / 0.6075 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.001035/0.9323, allocations: 488.8 kB / 0.7984 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002609/0.9325, allocations: 150.2 kB / 0.7986 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.9349, allocations: 1.243 MB / 0.7998 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.9349, allocations: 19.92 kB / 0.7998 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.935, allocations: 0 / 0.7998 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/0.9367, allocations: 1.007 MB / 0.8008 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005489/0.9422, allocations: 3.174 MB / 0.8039 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.9422, allocations: 0 / 0.8039 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.9433, allocations: 240 kB / 0.8041 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.9434, allocations: 4 kB / 0.8041 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/0.9435, allocations: 28 kB / 0.8041 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.337e-05/0.9435, allocations: 11.94 kB / 0.8041 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9435, allocations: 0 / 0.8041 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.9474, allocations: 2.057 MB / 0.8061 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.9487, allocations: 358.9 kB / 0.8065 GB, free: 8.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/0.9491, allocations: 28 kB / 0.8065 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.9506, allocations: 115.2 kB / 0.8066 GB, free: 8.766 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.9508, allocations: 84.88 kB / 0.8067 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.018e-05/0.9509, allocations: 35.98 kB / 0.8067 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001485/0.9524, allocations: 0.8141 MB / 0.8075 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9524, allocations: 0 / 0.8075 GB, free: 7.828 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002968/0.9553, allocations: 0.8338 MB / 0.8084 GB, free: 6.992 MB / 0.6231 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.005898/0.9612, allocations: 3.767 MB / 0.812 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003734/0.965, allocations: 1.604 MB / 0.8136 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.9651, allocations: 0 / 0.8136 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.9662, allocations: 0.5677 MB / 0.8142 GB, free: 1.141 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/0.9711, allocations: 0.8141 MB / 0.8149 GB, free: 344 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/0.9955, allocations: 11.13 MB / 0.8258 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001717/0.9973, allocations: 1.399 MB / 0.8272 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003144/1, allocations: 455.6 kB / 0.8276 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/1.002, allocations: 0.632 MB / 0.8282 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of SimCode: time 1.633e-06/1.002, allocations: 0 / 0.8282 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5408/1.543, allocations: 41.53 MB / 0.8688 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/1.543, allocations: 229.5 kB / 0.869 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/4.484, allocations: 0 / 0.869 GB, free: 216.1 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1) Environment - environmentSimulation: