Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.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.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",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.001798/0.001798, allocations: 174.7 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.9249/0.9249, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.699/1.699, allocations: 221.3 MB / 400.4 MB, free: 5.758 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.001129/0.001129, allocations: 99.69 kB / 483.3 MB, free: 5.828 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.865e-05/3.867e-05, allocations: 4.812 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1929, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.875/6.068, allocations: 1.9 GB / 2.541 GB, free: 199.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/6.068, allocations: 86.56 kB / 2.541 GB, free: 199.7 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 3.893/9.961, allocations: 1.035 GB / 3.575 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.753e-06/9.961, allocations: 0 / 3.575 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003311/9.961, allocations: 63.86 kB / 3.576 GB, free: 9.812 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.01247/9.974, allocations: 2.626 MB / 3.578 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/9.974, allocations: 8.031 kB / 3.578 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001406/9.975, allocations: 278.5 kB / 3.578 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005837/9.981, allocations: 0.6682 MB / 3.579 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/9.987, allocations: 1.621 MB / 3.581 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/9.987, allocations: 147.8 kB / 3.581 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/9.988, allocations: 195.9 kB / 3.581 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007849/9.996, allocations: 2.289 MB / 3.583 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-05/9.996, allocations: 0 / 3.583 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005918/9.997, allocations: 76 kB / 3.583 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/9.997, allocations: 88.28 kB / 3.583 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5937/10.59, allocations: 2.447 MB / 3.586 GB, free: 84.08 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.01917/10.61, allocations: 7.997 MB / 3.594 GB, free: 81.04 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004835/10.62, allocations: 2.243 MB / 3.596 GB, free: 80.91 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002961/10.62, allocations: 1.305 MB / 3.597 GB, free: 80.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/10.62, allocations: 1.564 MB / 3.599 GB, free: 79.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.703e-05/10.62, allocations: 63.14 kB / 3.599 GB, free: 79.13 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=222): time 6.342e-06/10.62, allocations: 0 / 3.599 GB, free: 79.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226): time 0.01675/10.64, allocations: 5.787 MB / 3.604 GB, free: 77.65 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/10.64, allocations: 155 kB / 3.604 GB, free: 77.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/10.64, allocations: 1.044 MB / 3.605 GB, free: 77.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002884/10.64, allocations: 69.58 kB / 3.605 GB, free: 77.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009184/10.64, allocations: 0.7605 MB / 3.606 GB, free: 77.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001031/10.64, allocations: 0.7661 MB / 3.607 GB, free: 76.69 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/10.64, allocations: 38.41 kB / 3.607 GB, free: 76.69 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002262/10.64, allocations: 384.9 kB / 3.607 GB, free: 76.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001862/10.64, allocations: 0.8291 MB / 3.608 GB, free: 76.38 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/10.65, allocations: 1.12 MB / 3.609 GB, free: 76.14 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.06067/10.71, allocations: 9.625 MB / 3.619 GB, free: 75.9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.423e-05/10.71, allocations: 3.125 kB / 3.619 GB, free: 75.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006541/10.71, allocations: 2.343 MB / 3.621 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/10.71, allocations: 7.594 kB / 3.621 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/10.71, allocations: 6.719 kB / 3.621 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5e-05/10.71, allocations: 18.23 kB / 3.621 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/10.72, allocations: 429.3 kB / 3.621 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-05/10.72, allocations: 18 kB / 3.621 GB, free: 75.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003007/10.72, allocations: 154 kB / 3.622 GB, free: 75.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003881/10.72, allocations: 74.92 kB / 3.622 GB, free: 75.71 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: 21 * 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.0007043/10.72, allocations: 223.2 kB / 3.622 GB, free: 75.61 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008439/10.72, allocations: 192.6 kB / 3.622 GB, free: 75.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004894/10.73, allocations: 2.474 MB / 3.624 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.532e-05/10.73, allocations: 30.83 kB / 3.624 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.998e-05/10.73, allocations: 0 / 3.624 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003097/10.73, allocations: 2.052 MB / 3.626 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/10.74, allocations: 5.285 MB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/10.74, allocations: 10.22 kB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002036/10.74, allocations: 473.1 kB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.715e-05/10.74, allocations: 18.36 kB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/10.74, allocations: 63.98 kB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.395e-05/10.74, allocations: 20.94 kB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.836e-06/10.74, allocations: 9.594 kB / 3.632 GB, free: 74.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00627/10.75, allocations: 4.547 MB / 3.637 GB, free: 73.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/10.75, allocations: 0.4943 MB / 3.637 GB, free: 73.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006386/10.75, allocations: 51.39 kB / 3.637 GB, free: 73.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/10.75, allocations: 157.7 kB / 3.637 GB, free: 73.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/10.75, allocations: 148.7 kB / 3.637 GB, free: 73.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/10.75, allocations: 80.2 kB / 3.638 GB, free: 73.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001668/10.76, allocations: 0.818 MB / 3.638 GB, free: 72.97 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.61e-07/10.76, allocations: 0 / 3.638 GB, free: 72.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004026/10.76, allocations: 0.9283 MB / 3.639 GB, free: 72.97 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (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],dooDis.mExcBA,dooDis.mExcAB) * 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.01077/10.77, allocations: 9.38 MB / 3.648 GB, free: 68.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003487/10.77, allocations: 2.132 MB / 3.651 GB, free: 68.55 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/10.77, allocations: 3.25 kB / 3.651 GB, free: 68.55 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001611/10.78, allocations: 1.14 MB / 3.652 GB, free: 68.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006075/10.78, allocations: 1.102 MB / 3.653 GB, free: 68.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/10.79, allocations: 4.659 MB / 3.657 GB, free: 67.48 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001817/10.79, allocations: 1.696 MB / 3.659 GB, free: 66.74 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003301/10.8, allocations: 0.7554 MB / 3.66 GB, free: 66.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001621/10.8, allocations: 0.8298 MB / 3.66 GB, free: 66.71 MB / 0.7136 GB Notification: Performance of SimCode: time 1.393e-06/10.8, allocations: 0 / 3.66 GB, free: 66.71 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/10.96, allocations: 98.25 MB / 3.756 GB, free: 61.13 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/10.96, allocations: 201.3 kB / 3.757 GB, free: 60.89 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.801/16.76, allocations: 7.375 kB / 3.757 GB, free: 60.89 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)