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.0009385/0.0009389, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.74/0.74, allocations: 133.6 MB / 141.6 MB, free: 2.887 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.001298/0.001298, allocations: 98.7 kB / 478.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.686e-05/3.674e-05, allocations: 4 kB / 0.5535 GB, free: 8.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4956/0.4957, allocations: 82.31 MB / 0.6339 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/5.519, allocations: 1.899 GB / 2.533 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/5.519, allocations: 84.5 kB / 2.533 GB, free: 107.5 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.357/9.877, allocations: 1.024 GB / 3.558 GB, free: 85.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.825e-06/9.877, allocations: 0 / 3.558 GB, free: 85.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000296/9.877, allocations: 58.11 kB / 3.558 GB, free: 85.24 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.0101/9.887, allocations: 2.633 MB / 3.56 GB, free: 84.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/9.887, allocations: 9.719 kB / 3.56 GB, free: 84.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005443/9.893, allocations: 0.6627 MB / 3.561 GB, free: 84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005337/9.898, allocations: 1.618 MB / 3.563 GB, free: 83.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001516/9.898, allocations: 62.16 kB / 3.563 GB, free: 83.58 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009194/9.899, allocations: 120 kB / 3.563 GB, free: 83.58 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005652/9.905, allocations: 2.261 MB / 3.565 GB, free: 83.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006253/9.911, allocations: 1.997 MB / 3.567 GB, free: 83.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.701e-05/9.912, allocations: 4.219 kB / 3.567 GB, free: 83.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004896/9.912, allocations: 0 / 3.567 GB, free: 83.46 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/9.912, allocations: 91.75 kB / 3.567 GB, free: 83.45 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/9.925, allocations: 7.492 MB / 3.574 GB, free: 80.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/9.928, allocations: 2.919 MB / 3.577 GB, free: 79.54 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/9.93, allocations: 1.204 MB / 3.578 GB, free: 79.52 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/9.931, allocations: 1.561 MB / 3.58 GB, free: 77.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/9.931, allocations: 63.12 kB / 3.58 GB, free: 77.78 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 4.138e-06/9.931, allocations: 0 / 3.58 GB, free: 77.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01099/9.942, allocations: 5.183 MB / 3.585 GB, free: 76.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/9.942, allocations: 100.8 kB / 3.585 GB, free: 76.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/9.943, allocations: 0.8783 MB / 3.586 GB, free: 76.38 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/9.943, allocations: 29.23 kB / 3.586 GB, free: 76.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/9.944, allocations: 0.7654 MB / 3.587 GB, free: 76.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005969/9.945, allocations: 0.7318 MB / 3.588 GB, free: 75.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/9.945, allocations: 0 / 3.588 GB, free: 75.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001225/9.945, allocations: 391.2 kB / 3.588 GB, free: 75.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/9.946, allocations: 0.7631 MB / 3.589 GB, free: 75.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/9.947, allocations: 1.026 MB / 3.59 GB, free: 75.01 MB / 0.698 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.008875/9.956, allocations: 3.289 MB / 3.593 GB, free: 74.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/9.956, allocations: 0 / 3.593 GB, free: 74.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004508/9.96, allocations: 2.232 MB / 3.595 GB, free: 74.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/9.961, allocations: 6.719 kB / 3.595 GB, free: 74.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/9.961, allocations: 6.625 kB / 3.595 GB, free: 74.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.555e-05/9.961, allocations: 13.12 kB / 3.595 GB, free: 74.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/9.962, allocations: 426.9 kB / 3.595 GB, free: 74.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.595e-05/9.962, allocations: 18.19 kB / 3.596 GB, free: 74.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00266/9.965, allocations: 107.2 kB / 3.596 GB, free: 74.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/9.965, allocations: 74.38 kB / 3.596 GB, free: 74.02 MB / 0.698 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.0004525/9.966, allocations: 149 kB / 3.596 GB, free: 73.88 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004179/9.97, allocations: 2.079 MB / 3.598 GB, free: 73.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006309/9.971, allocations: 181.6 kB / 3.598 GB, free: 73.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004638/9.975, allocations: 2.343 MB / 3.6 GB, free: 72.22 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/9.975, allocations: 20.78 kB / 3.6 GB, free: 72.22 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/9.975, allocations: 0 / 3.6 GB, free: 72.22 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003226/9.979, allocations: 1.98 MB / 3.602 GB, free: 71.52 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 postOpt removeSimpleEquations (simulation): time 0.01028/9.989, allocations: 5.314 MB / 3.607 GB, free: 68.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/9.989, allocations: 8 kB / 3.607 GB, free: 68.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/9.991, allocations: 470.1 kB / 3.608 GB, free: 68.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.838e-05/9.991, allocations: 19.95 kB / 3.608 GB, free: 68.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001876/9.991, allocations: 30 kB / 3.608 GB, free: 68.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.502e-05/9.991, allocations: 18.56 kB / 3.608 GB, free: 68.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/9.991, allocations: 11.94 kB / 3.608 GB, free: 68.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006333/9.998, allocations: 4.182 MB / 3.612 GB, free: 64.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/9.999, allocations: 485.6 kB / 3.613 GB, free: 63.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/10, allocations: 19.61 kB / 3.613 GB, free: 63.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002434/10, allocations: 116 kB / 3.613 GB, free: 63.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002356/10, allocations: 151.7 kB / 3.613 GB, free: 63.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000216/10, allocations: 82.7 kB / 3.613 GB, free: 63.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001355/10, allocations: 0.6735 MB / 3.614 GB, free: 62.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/10, allocations: 0 / 3.614 GB, free: 62.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003482/10.01, allocations: 0.7699 MB / 3.614 GB, free: 62.11 MB / 0.698 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.01157/10.02, allocations: 9.147 MB / 3.623 GB, free: 53.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003414/10.02, allocations: 1.965 MB / 3.625 GB, free: 52.01 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/10.02, allocations: 4 kB / 3.625 GB, free: 52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/10.02, allocations: 1.054 MB / 3.626 GB, free: 51.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005955/10.03, allocations: 0.9717 MB / 3.627 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01137/10.04, allocations: 4.439 MB / 3.631 GB, free: 46.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00186/10.04, allocations: 1.696 MB / 3.633 GB, free: 45.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003536/10.05, allocations: 0.7212 MB / 3.634 GB, free: 44.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/10.05, allocations: 0.8423 MB / 3.635 GB, free: 43.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.713e-06/10.05, allocations: 0 / 3.635 GB, free: 43.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6201/10.67, allocations: 69.52 MB / 3.703 GB, free: 100.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001662/10.67, allocations: 176.5 kB / 3.703 GB, free: 100.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.581/15.25, allocations: 0 / 3.703 GB, free: 100.3 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)