Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic,fileNamePrefix="IDEAS_dev_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.01014/0.01014, allocations: 170.5 kB / 15.11 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.7673/0.7673, allocations: 135.2 MB / 151 MB, free: 13.86 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.611/1.611, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.001074/0.001075, allocations: 102.1 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004521, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5114/0.5119, allocations: 82.31 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.38/5.892, allocations: 1.9 GB / 2.55 GB, free: 37.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/5.893, allocations: 90.39 kB / 2.55 GB, free: 37.03 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.332/10.22, allocations: 1.036 GB / 3.585 GB, free: 32.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/10.22, allocations: 0 / 3.585 GB, free: 32.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001528/10.23, allocations: 63.92 kB / 3.585 GB, free: 32.34 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.009672/10.23, allocations: 2.969 MB / 3.588 GB, free: 29.31 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/10.23, allocations: 8.031 kB / 3.588 GB, free: 29.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000875/10.24, allocations: 286.5 kB / 3.589 GB, free: 29.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004886/10.24, allocations: 0.6642 MB / 3.589 GB, free: 28.35 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00424/10.24, allocations: 1.632 MB / 3.591 GB, free: 26.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/10.24, allocations: 143.8 kB / 3.591 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/10.25, allocations: 203.9 kB / 3.591 GB, free: 26.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/10.25, allocations: 2.308 MB / 3.594 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.187e-05/10.25, allocations: 0 / 3.594 GB, free: 23.99 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/10.25, allocations: 87.97 kB / 3.594 GB, free: 23.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.67e-05/10.25, allocations: 92.28 kB / 3.594 GB, free: 23.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003571/10.25, allocations: 2.488 MB / 3.596 GB, free: 21.32 MB / 0.698 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.01155/10.26, allocations: 8.011 MB / 3.604 GB, free: 12.79 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002984/10.27, allocations: 2.266 MB / 3.606 GB, free: 10.48 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/10.27, allocations: 1.556 MB / 3.608 GB, free: 8.598 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/10.27, allocations: 68.38 kB / 3.608 GB, free: 8.523 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.927e-06/10.27, allocations: 0 / 3.608 GB, free: 8.523 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.0152/10.28, allocations: 6.697 MB / 3.614 GB, free: 1.715 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/10.28, allocations: 154.5 kB / 3.614 GB, free: 1.535 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001418/10.29, allocations: 1.058 MB / 3.615 GB, free: 480 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/10.29, allocations: 69.64 kB / 3.616 GB, free: 404 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000612/10.29, allocations: 0.7647 MB / 3.616 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008962/10.29, allocations: 0.7661 MB / 3.617 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/10.29, allocations: 40 kB / 3.617 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002256/10.29, allocations: 381.9 kB / 3.617 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/10.29, allocations: 0.8549 MB / 3.618 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001724/10.29, allocations: 1.126 MB / 3.619 GB, free: 12.35 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.05871/10.35, allocations: 9.618 MB / 3.629 GB, free: 2.691 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/10.35, allocations: 4 kB / 3.629 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.006445/10.36, allocations: 2.365 MB / 3.631 GB, free: 328 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/10.36, allocations: 16.08 kB / 3.631 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/10.36, allocations: 8 kB / 3.631 GB, free: 304 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.161e-05/10.36, allocations: 19.95 kB / 3.631 GB, free: 284 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/10.36, allocations: 419.4 kB / 3.631 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.385e-05/10.36, allocations: 19.98 kB / 3.632 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00286/10.36, allocations: 159.3 kB / 3.632 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003859/10.36, allocations: 79.98 kB / 3.632 GB, free: 15.62 MB / 0.7292 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 () * 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.001902/10.36, allocations: 0.5714 MB / 3.632 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008705/10.36, allocations: 197.7 kB / 3.632 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/10.37, allocations: 2.499 MB / 3.635 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.548e-05/10.37, allocations: 27.95 kB / 3.635 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/10.37, allocations: 0 / 3.635 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003641/10.37, allocations: 2.062 MB / 3.637 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/10.39, allocations: 5.292 MB / 3.642 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-05/10.39, allocations: 4 kB / 3.642 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002266/10.39, allocations: 475.3 kB / 3.643 GB, free: 4.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.855e-05/10.39, allocations: 16 kB / 3.643 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002183/10.39, allocations: 60.33 kB / 3.643 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.385e-05/10.39, allocations: 23.94 kB / 3.643 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/10.39, allocations: 8 kB / 3.643 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5503/10.94, allocations: 4.586 MB / 3.647 GB, free: 105.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/10.94, allocations: 0.4952 MB / 3.648 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/10.94, allocations: 50.41 kB / 3.648 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002591/10.95, allocations: 153 kB / 3.648 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/10.95, allocations: 150.3 kB / 3.648 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002141/10.95, allocations: 80.48 kB / 3.648 GB, free: 105.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001802/10.95, allocations: 0.8326 MB / 3.649 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/10.95, allocations: 0.5312 kB / 3.649 GB, free: 105.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004771/10.95, allocations: 0.9277 MB / 3.65 GB, free: 105.4 MB / 0.7292 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 () * 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.01358/10.97, allocations: 9.434 MB / 3.659 GB, free: 101.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004068/10.97, allocations: 2.165 MB / 3.661 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.712e-05/10.97, allocations: 3.812 kB / 3.661 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/10.97, allocations: 1.156 MB / 3.662 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005732/10.98, allocations: 1.102 MB / 3.663 GB, free: 101.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/11, allocations: 16.81 MB / 3.68 GB, free: 93.55 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/11, allocations: 1.697 MB / 3.681 GB, free: 92.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003033/11.01, allocations: 0.7441 MB / 3.682 GB, free: 92.79 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/11.01, allocations: 0.8392 MB / 3.683 GB, free: 92.78 MB / 0.7292 GB Notification: Performance of SimCode: time 8.31e-07/11.01, allocations: 0 / 3.683 GB, free: 92.78 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.14/11.15, allocations: 91.89 MB / 3.773 GB, free: 89.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/11.15, allocations: 226.8 kB / 3.773 GB, free: 89.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.146/16.29, allocations: 3.062 kB / 3.773 GB, free: 89.23 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Airflow_Multizone_Validation_OpenDoorBuoyancyDynamic.fmu > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.OpenDoorBuoyancyDynamic.pipe 2>&1)