Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7606/0.7606, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 179.9 kB / 182.2 MB, free: 9.461 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.0008763/0.0008763, allocations: 88.05 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 279.1 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.789e-05, allocations: 4 kB / 0.6766 GB, free: 12.77 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.993/4.417, allocations: 1.89 GB / 2.647 GB, free: 128.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/4.417, allocations: 87.27 kB / 2.647 GB, free: 128 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.511/7.928, allocations: 1.062 GB / 3.709 GB, free: 89.04 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.472e-06/7.928, allocations: 0 / 3.709 GB, free: 89.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000141/7.929, allocations: 49.03 kB / 3.709 GB, free: 89.03 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.006327/7.935, allocations: 2.148 MB / 3.711 GB, free: 88.11 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/7.935, allocations: 10.5 kB / 3.711 GB, free: 88.11 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/7.939, allocations: 0.5165 MB / 3.712 GB, free: 88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/7.941, allocations: 1.251 MB / 3.713 GB, free: 87.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.04e-05/7.941, allocations: 43.06 kB / 3.713 GB, free: 87.62 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/7.941, allocations: 83.78 kB / 3.713 GB, free: 87.62 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002023/7.943, allocations: 1.191 MB / 3.714 GB, free: 87.62 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/7.946, allocations: 1.429 MB / 3.715 GB, free: 87.39 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/7.946, allocations: 3.656 kB / 3.715 GB, free: 87.39 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/7.946, allocations: 9.906 kB / 3.715 GB, free: 87.39 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/7.946, allocations: 54 kB / 3.715 GB, free: 87.39 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.008587/7.954, allocations: 7.035 MB / 3.722 GB, free: 83.91 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/7.956, allocations: 1.217 MB / 3.724 GB, free: 83.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/7.957, allocations: 0.5749 MB / 3.724 GB, free: 83.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006877/7.957, allocations: 0.8631 MB / 3.725 GB, free: 82.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007605/7.958, allocations: 0.5892 MB / 3.726 GB, free: 82.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=110): time 3.386e-06/7.958, allocations: 3.938 kB / 3.726 GB, free: 82.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110): time 0.002174/7.96, allocations: 1.142 MB / 3.727 GB, free: 82.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/7.96, allocations: 95.72 kB / 3.727 GB, free: 82.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/7.961, allocations: 0.8116 MB / 3.728 GB, free: 82.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.533e-05/7.961, allocations: 29.61 kB / 3.728 GB, free: 82.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004669/7.962, allocations: 0.6879 MB / 3.728 GB, free: 81.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/7.962, allocations: 372.6 kB / 3.729 GB, free: 81.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/7.962, allocations: 0 / 3.729 GB, free: 81.66 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/7.962, allocations: 343.7 kB / 3.729 GB, free: 81.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005156/7.963, allocations: 412 kB / 3.729 GB, free: 81.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/7.963, allocations: 0.5683 MB / 3.73 GB, free: 81.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/7.964, allocations: 0.512 MB / 3.73 GB, free: 81.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/7.964, allocations: 0 / 3.73 GB, free: 81.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.001798/7.966, allocations: 1.177 MB / 3.732 GB, free: 81.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001666/7.966, allocations: 0.9765 MB / 3.732 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/7.966, allocations: 6.5 kB / 3.732 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/7.966, allocations: 6.344 kB / 3.732 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/7.967, allocations: 227.5 kB / 3.733 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/7.967, allocations: 16.45 kB / 3.733 GB, free: 80.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/7.969, allocations: 134.2 kB / 3.733 GB, free: 80 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.453e-05/7.969, allocations: 41.41 kB / 3.733 GB, free: 80 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/7.969, allocations: 4.531 kB / 3.733 GB, free: 80 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/7.97, allocations: 1.017 MB / 3.734 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/7.97, allocations: 3.312 kB / 3.734 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/7.97, allocations: 8.125 kB / 3.734 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/7.971, allocations: 220.5 kB / 3.734 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/7.971, allocations: 7.844 kB / 3.734 GB, free: 79.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/7.973, allocations: 126.5 kB / 3.734 GB, free: 79.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.588e-05/7.973, allocations: 48.2 kB / 3.734 GB, free: 79.93 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.000239/7.973, allocations: 121.9 kB / 3.734 GB, free: 79.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001699/7.975, allocations: 1.099 MB / 3.735 GB, free: 79.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002275/7.975, allocations: 139.3 kB / 3.736 GB, free: 79.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/7.977, allocations: 1.214 MB / 3.737 GB, free: 79.53 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/7.977, allocations: 13.62 kB / 3.737 GB, free: 79.53 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/7.977, allocations: 3.219 kB / 3.737 GB, free: 79.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/7.979, allocations: 1.001 MB / 3.738 GB, free: 79.44 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00508/7.984, allocations: 3.106 MB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/7.984, allocations: 3.625 kB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/7.985, allocations: 250.9 kB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/7.985, allocations: 5.656 kB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/7.985, allocations: 24.75 kB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/7.985, allocations: 7.719 kB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/7.985, allocations: 3.094 kB / 3.741 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/7.988, allocations: 2.128 MB / 3.743 GB, free: 78.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000886/7.989, allocations: 357.7 kB / 3.744 GB, free: 78.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000362/7.989, allocations: 9.812 kB / 3.744 GB, free: 78.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/7.991, allocations: 106.8 kB / 3.744 GB, free: 78.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/7.991, allocations: 75.19 kB / 3.744 GB, free: 78.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/7.991, allocations: 38.77 kB / 3.744 GB, free: 78.1 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009465/7.992, allocations: 0.6238 MB / 3.744 GB, free: 77.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/7.992, allocations: 0 / 3.744 GB, free: 77.99 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003032/7.995, allocations: 1.005 MB / 3.745 GB, free: 77.84 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.007168/8.002, allocations: 6.38 MB / 3.752 GB, free: 74.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002629/8.005, allocations: 1.632 MB / 3.753 GB, free: 74.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/8.005, allocations: 0 / 3.753 GB, free: 74.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007712/8.006, allocations: 0.5534 MB / 3.754 GB, free: 74.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/8.01, allocations: 0.6875 MB / 3.754 GB, free: 73.91 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006583/8.016, allocations: 3.053 MB / 3.757 GB, free: 72.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009951/8.017, allocations: 1.401 MB / 3.759 GB, free: 72.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002711/8.02, allocations: 0.5543 MB / 3.759 GB, free: 71.94 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008078/8.021, allocations: 0.5914 MB / 3.76 GB, free: 71.47 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/8.021, allocations: 0 / 3.76 GB, free: 71.47 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08827/8.109, allocations: 57.21 MB / 3.816 GB, free: 23.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/8.109, allocations: 202 kB / 3.816 GB, free: 22.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.889/12, allocations: 0 / 3.816 GB, free: 22.9 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_ChimneyShaftWithVolume.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ChimneyShaftWithVolume.pipe 2>&1)