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.001452/0.001452, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7577/0.7577, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.013/2.013, allocations: 221.3 MB / 400.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 87.95 kB / 483.3 MB, free: 5.797 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.657e-05, allocations: 6.656 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2004, allocations: 82.31 MB / 0.6405 GB, free: 7.691 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.382/5.582, allocations: 1.9 GB / 2.54 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/5.583, allocations: 89.86 kB / 2.541 GB, free: 29.36 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.549/10.13, allocations: 1.035 GB / 3.576 GB, free: 33.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.983e-06/10.13, allocations: 0 / 3.576 GB, free: 33.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003847/10.13, allocations: 63.98 kB / 3.576 GB, free: 33.44 MB / 0.698 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.01237/10.15, allocations: 2.629 MB / 3.579 GB, free: 30.76 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/10.15, allocations: 8.031 kB / 3.579 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001488/10.15, allocations: 286.5 kB / 3.579 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005303/10.15, allocations: 0.6643 MB / 3.58 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005059/10.16, allocations: 1.614 MB / 3.581 GB, free: 28.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/10.16, allocations: 151.8 kB / 3.581 GB, free: 27.98 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009183/10.16, allocations: 195.9 kB / 3.581 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006227/10.16, allocations: 2.272 MB / 3.584 GB, free: 25.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.263e-05/10.16, allocations: 7.938 kB / 3.584 GB, free: 25.49 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004914/10.17, allocations: 79.98 kB / 3.584 GB, free: 25.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/10.17, allocations: 92.28 kB / 3.584 GB, free: 25.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004652/10.17, allocations: 2.441 MB / 3.586 GB, free: 22.87 MB / 0.698 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.01287/10.18, allocations: 7.851 MB / 3.594 GB, free: 14.51 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/10.19, allocations: 2.202 MB / 3.596 GB, free: 12.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/10.19, allocations: 1.301 MB / 3.597 GB, free: 10.99 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/10.19, allocations: 1.56 MB / 3.599 GB, free: 9.102 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.172e-05/10.19, allocations: 64.36 kB / 3.599 GB, free: 9.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.727e-06/10.19, allocations: 0 / 3.599 GB, free: 9.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01066/10.2, allocations: 5.299 MB / 3.604 GB, free: 3.621 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/10.2, allocations: 107.2 kB / 3.604 GB, free: 3.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/10.2, allocations: 1.041 MB / 3.605 GB, free: 2.449 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002069/10.2, allocations: 69.7 kB / 3.605 GB, free: 2.375 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/10.2, allocations: 0.7492 MB / 3.606 GB, free: 1.617 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006317/10.2, allocations: 0.7738 MB / 3.607 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/10.2, allocations: 40 kB / 3.607 GB, free: 0.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001426/10.2, allocations: 385.9 kB / 3.607 GB, free: 420 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/10.2, allocations: 0.8279 MB / 3.608 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/10.21, allocations: 1.12 MB / 3.609 GB, free: 14.38 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.05865/10.27, allocations: 9.616 MB / 3.618 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/10.27, allocations: 4 kB / 3.618 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006331/10.27, allocations: 2.344 MB / 3.621 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.631e-05/10.27, allocations: 4 kB / 3.621 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/10.27, allocations: 4 kB / 3.621 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.535e-05/10.27, allocations: 19.95 kB / 3.621 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/10.27, allocations: 423.4 kB / 3.621 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-05/10.27, allocations: 16.38 kB / 3.621 GB, free: 1.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/10.28, allocations: 155.6 kB / 3.621 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003761/10.28, allocations: 75.98 kB / 3.621 GB, free: 1.684 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 () * 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.0007325/10.28, allocations: 224.5 kB / 3.622 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/10.28, allocations: 201.6 kB / 3.622 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5968/10.88, allocations: 2.478 MB / 3.624 GB, free: 90.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.336e-05/10.88, allocations: 23.8 kB / 3.624 GB, free: 90.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/10.88, allocations: 1.969 kB / 3.624 GB, free: 90.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003578/10.88, allocations: 2.054 MB / 3.626 GB, free: 90.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/10.89, allocations: 5.274 MB / 3.631 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/10.89, allocations: 7.047 kB / 3.631 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/10.89, allocations: 471.5 kB / 3.632 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.022e-05/10.89, allocations: 14.59 kB / 3.632 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/10.89, allocations: 61.67 kB / 3.632 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.371e-05/10.89, allocations: 19.17 kB / 3.632 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/10.89, allocations: 13.77 kB / 3.632 GB, free: 89.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00672/10.9, allocations: 4.367 MB / 3.636 GB, free: 88.44 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001605/10.9, allocations: 0.495 MB / 3.637 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003205/10.9, allocations: 54.8 kB / 3.637 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/10.9, allocations: 146 kB / 3.637 GB, free: 88.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/10.9, allocations: 147.6 kB / 3.637 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/10.9, allocations: 81.2 kB / 3.637 GB, free: 88.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001275/10.9, allocations: 0.8136 MB / 3.638 GB, free: 88.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/10.9, allocations: 0 / 3.638 GB, free: 88.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003065/10.91, allocations: 0.937 MB / 3.639 GB, free: 88.22 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 () * 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.01119/10.92, allocations: 9.071 MB / 3.648 GB, free: 84.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00431/10.92, allocations: 2.133 MB / 3.65 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/10.92, allocations: 1.719 kB / 3.65 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001915/10.93, allocations: 1.15 MB / 3.651 GB, free: 84.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006742/10.93, allocations: 1.099 MB / 3.652 GB, free: 84.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/10.94, allocations: 4.653 MB / 3.657 GB, free: 83.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002236/10.95, allocations: 1.696 MB / 3.658 GB, free: 82.38 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00404/10.95, allocations: 0.7512 MB / 3.659 GB, free: 82.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001788/10.95, allocations: 0.8371 MB / 3.66 GB, free: 82.35 MB / 0.7136 GB Notification: Performance of SimCode: time 1.423e-06/10.95, allocations: 1.594 kB / 3.66 GB, free: 82.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/11.17, allocations: 98.33 MB / 3.756 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/11.17, allocations: 200.9 kB / 3.756 GB, free: 78.55 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.752/16.92, allocations: 0 / 3.756 GB, free: 78.55 MB / 0.7136 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)