Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.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.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic",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.009449/0.009448, allocations: 172.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.757/0.757, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.0009358/0.0009357, allocations: 91.11 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.000365, allocations: 12 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5177, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.507/5.025, allocations: 1.9 GB / 2.55 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.025, allocations: 91.95 kB / 2.55 GB, free: 75.46 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3938:5-3939:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3940:5-3941:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3944:5-3945:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Media/package.mo:3946:5-3947:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 4.217/9.242, allocations: 1.036 GB / 3.586 GB, free: 93.98 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/9.242, allocations: 0 / 3.586 GB, free: 93.98 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001467/9.242, allocations: 56.39 kB / 3.586 GB, free: 93.98 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.00861/9.25, allocations: 2.966 MB / 3.589 GB, free: 92.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/9.251, allocations: 11.78 kB / 3.589 GB, free: 92.6 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006241/9.251, allocations: 288.6 kB / 3.589 GB, free: 92.55 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004718/9.256, allocations: 0.6698 MB / 3.59 GB, free: 92.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003939/9.26, allocations: 1.611 MB / 3.591 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/9.26, allocations: 150.8 kB / 3.592 GB, free: 91.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/9.26, allocations: 204.8 kB / 3.592 GB, free: 91.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003897/9.264, allocations: 2.309 MB / 3.594 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.649e-05/9.264, allocations: 3.906 kB / 3.594 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/9.264, allocations: 78.78 kB / 3.594 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.558e-05/9.265, allocations: 92.62 kB / 3.594 GB, free: 91.81 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003617/9.268, allocations: 2.49 MB / 3.597 GB, free: 91.51 MB / 0.7136 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.01139/9.28, allocations: 7.85 MB / 3.604 GB, free: 85.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/9.282, allocations: 2.239 MB / 3.606 GB, free: 83.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/9.283, allocations: 1.559 MB / 3.608 GB, free: 81.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/9.283, allocations: 60.44 kB / 3.608 GB, free: 81.42 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=222): time 3.667e-06/9.284, allocations: 2.375 kB / 3.608 GB, free: 81.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226): time 0.009805/9.293, allocations: 6.2 MB / 3.614 GB, free: 75.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/9.293, allocations: 109.2 kB / 3.614 GB, free: 75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/9.295, allocations: 1.058 MB / 3.615 GB, free: 73.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/9.295, allocations: 69.7 kB / 3.615 GB, free: 73.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/9.295, allocations: 0.7639 MB / 3.616 GB, free: 73.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/9.296, allocations: 0.7604 MB / 3.617 GB, free: 72.33 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.828e-05/9.296, allocations: 42.72 kB / 3.617 GB, free: 72.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001135/9.296, allocations: 381.9 kB / 3.617 GB, free: 71.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/9.297, allocations: 0.8511 MB / 3.618 GB, free: 71.06 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/9.299, allocations: 1.128 MB / 3.619 GB, free: 69.86 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouA.dynBal.medium.p = bouA.dynBal.p_start (bou.p = bouA.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: bouADis.dynBal.medium.p = bouADis.dynBal.p_start (bouDis.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.05457/9.353, allocations: 9.62 MB / 3.629 GB, free: 60.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/9.353, allocations: 0 / 3.629 GB, free: 60.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.003579/9.357, allocations: 2.373 MB / 3.631 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/9.357, allocations: 8 kB / 3.631 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/9.357, allocations: 4 kB / 3.631 GB, free: 58.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/9.357, allocations: 16 kB / 3.631 GB, free: 58.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/9.359, allocations: 419.4 kB / 3.631 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/9.359, allocations: 19.98 kB / 3.631 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/9.361, allocations: 151.8 kB / 3.631 GB, free: 57.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/9.361, allocations: 75.94 kB / 3.631 GB, free: 57.39 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: bouA.dynBal.medium.p = bouA.dynBal.p_start bouADis.dynBal.medium.p = bouADis.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 254 * 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.001232/9.362, allocations: 0.5636 MB / 3.632 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/9.363, allocations: 197.7 kB / 3.632 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003604/9.366, allocations: 2.511 MB / 3.635 GB, free: 54.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/9.366, allocations: 24 kB / 3.635 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/9.366, allocations: 0 / 3.635 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002399/9.369, allocations: 2.085 MB / 3.637 GB, free: 51.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008134/9.377, allocations: 5.275 MB / 3.642 GB, free: 46.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/9.377, allocations: 8 kB / 3.642 GB, free: 46.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/9.379, allocations: 467.9 kB / 3.642 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.815e-05/9.379, allocations: 20 kB / 3.642 GB, free: 46.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/9.379, allocations: 55.98 kB / 3.642 GB, free: 46.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/9.379, allocations: 23.92 kB / 3.642 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/9.379, allocations: 7.953 kB / 3.642 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/9.384, allocations: 4.424 MB / 3.647 GB, free: 41.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/9.386, allocations: 0.4946 MB / 3.647 GB, free: 40.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/9.386, allocations: 55.98 kB / 3.647 GB, free: 40.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/9.388, allocations: 147.7 kB / 3.647 GB, free: 40.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/9.388, allocations: 149.6 kB / 3.648 GB, free: 40.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/9.388, allocations: 75.98 kB / 3.648 GB, free: 40.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001084/9.389, allocations: 0.8317 MB / 3.648 GB, free: 39.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.41e-07/9.389, allocations: 3.609 kB / 3.648 GB, free: 39.58 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002951/9.392, allocations: 0.9295 MB / 3.649 GB, free: 38.65 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 12 (dooDis.mExcAB,dooDis.mExcBA,bouADis.dynBal.U,bouADis.dynBal.mXi[1],bouBDis.dynBal.U,bouBDis.dynBal.m,bouBDis.dynBal.mXi[1],bouA.dynBal.U,bouA.dynBal.mXi[1],bouB.dynBal.U,bouB.dynBal.m,bouB.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 230 * 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 Backend phase and start with SimCode phase: time 0.009529/9.402, allocations: 9.112 MB / 3.658 GB, free: 29.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003025/9.405, allocations: 2.167 MB / 3.66 GB, free: 27.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/9.405, allocations: 0 / 3.66 GB, free: 27.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/9.406, allocations: 1.164 MB / 3.662 GB, free: 26.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00504/9.411, allocations: 1.098 MB / 3.663 GB, free: 25.12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02267/9.434, allocations: 16.5 MB / 3.679 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/9.436, allocations: 1.694 MB / 3.68 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003274/9.439, allocations: 0.7445 MB / 3.681 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/9.44, allocations: 0.839 MB / 3.682 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of SimCode: time 8.82e-07/9.44, allocations: 3.375 kB / 3.682 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.634/11.07, allocations: 91.96 MB / 3.772 GB, free: 101.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/11.07, allocations: 225.7 kB / 3.772 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.224/16.3, allocations: 0 / 3.772 GB, free: 101.5 MB / 0.7292 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyPressureDynamic.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyPressureDynamic.pipe 2>&1)