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.001512/0.001512, allocations: 180.9 kB / 7.651 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.8256/0.8256, allocations: 133.6 MB / 141.6 MB, free: 2.848 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.656/1.656, allocations: 221.5 MB / 395.4 MB, free: 10.74 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.0008622/0.0008622, allocations: 104.9 kB / 478.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.714e-05, allocations: 4 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.466/0.466, allocations: 82.29 MB / 0.6339 GB, free: 40.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.098/5.564, allocations: 1.899 GB / 2.533 GB, free: 98.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/5.564, allocations: 88.7 kB / 2.533 GB, free: 98.13 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.162/9.726, allocations: 1.024 GB / 3.557 GB, free: 86.49 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.036e-06/9.726, allocations: 6.688 kB / 3.557 GB, free: 86.49 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001821/9.726, allocations: 60.95 kB / 3.557 GB, free: 86.48 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.009982/9.736, allocations: 2.63 MB / 3.56 GB, free: 85.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/9.736, allocations: 11.31 kB / 3.56 GB, free: 85.32 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/9.742, allocations: 0.6571 MB / 3.561 GB, free: 85.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004716/9.746, allocations: 1.62 MB / 3.562 GB, free: 84.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.25e-05/9.747, allocations: 62.81 kB / 3.562 GB, free: 84.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004433/9.747, allocations: 116.4 kB / 3.562 GB, free: 84.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004106/9.751, allocations: 2.264 MB / 3.565 GB, free: 84.72 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/9.755, allocations: 2.008 MB / 3.567 GB, free: 84.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/9.755, allocations: 3.281 kB / 3.567 GB, free: 84.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/9.755, allocations: 3.938 kB / 3.567 GB, free: 84.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/9.755, allocations: 86.94 kB / 3.567 GB, free: 84.59 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.01186/9.767, allocations: 7.651 MB / 3.574 GB, free: 81.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/9.77, allocations: 2.939 MB / 3.577 GB, free: 80.38 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001608/9.772, allocations: 1.216 MB / 3.578 GB, free: 80.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/9.773, allocations: 1.565 MB / 3.58 GB, free: 78.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/9.773, allocations: 62.62 kB / 3.58 GB, free: 78.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=222): time 3.827e-06/9.773, allocations: 0 / 3.58 GB, free: 78.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=226): time 0.01129/9.784, allocations: 5.662 MB / 3.585 GB, free: 77.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/9.784, allocations: 158.5 kB / 3.585 GB, free: 76.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/9.786, allocations: 0.8715 MB / 3.586 GB, free: 76.68 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/9.786, allocations: 29.27 kB / 3.586 GB, free: 76.64 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/9.786, allocations: 0.7609 MB / 3.587 GB, free: 76.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005645/9.787, allocations: 0.7443 MB / 3.588 GB, free: 75.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-05/9.787, allocations: 0 / 3.588 GB, free: 75.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001268/9.787, allocations: 388.8 kB / 3.588 GB, free: 75.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009974/9.788, allocations: 0.761 MB / 3.589 GB, free: 74.83 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/9.789, allocations: 1.036 MB / 3.59 GB, free: 74.27 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 (bou1.p = bouADis.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008676/9.798, allocations: 3.28 MB / 3.593 GB, free: 73.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/9.798, allocations: 0 / 3.593 GB, free: 73.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=254) (initialization): time 0.004129/9.802, allocations: 2.223 MB / 3.595 GB, free: 72.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/9.802, allocations: 12.81 kB / 3.595 GB, free: 72.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/9.802, allocations: 7.75 kB / 3.595 GB, free: 72.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.752e-05/9.802, allocations: 18.97 kB / 3.595 GB, free: 72.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/9.804, allocations: 428.3 kB / 3.596 GB, free: 72.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.982e-05/9.804, allocations: 22.03 kB / 3.596 GB, free: 72.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/9.807, allocations: 115.2 kB / 3.596 GB, free: 72.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001883/9.807, allocations: 73 kB / 3.596 GB, free: 72.41 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: 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.0004158/9.807, allocations: 144.2 kB / 3.596 GB, free: 72.27 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003862/9.811, allocations: 2.084 MB / 3.598 GB, free: 71.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/9.812, allocations: 185.8 kB / 3.598 GB, free: 71.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/9.816, allocations: 2.321 MB / 3.601 GB, free: 69.38 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/9.816, allocations: 24 kB / 3.601 GB, free: 69.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/9.816, allocations: 2.719 kB / 3.601 GB, free: 69.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002925/9.819, allocations: 1.977 MB / 3.602 GB, free: 67.63 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.009283/9.828, allocations: 5.343 MB / 3.608 GB, free: 63.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/9.828, allocations: 8 kB / 3.608 GB, free: 63.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/9.83, allocations: 475.1 kB / 3.608 GB, free: 62.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.322e-05/9.83, allocations: 16 kB / 3.608 GB, free: 62.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/9.83, allocations: 31.69 kB / 3.608 GB, free: 62.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/9.83, allocations: 16 kB / 3.608 GB, free: 62.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/9.83, allocations: 11.94 kB / 3.608 GB, free: 62.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005252/9.836, allocations: 4.349 MB / 3.612 GB, free: 58.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/9.837, allocations: 496.3 kB / 3.613 GB, free: 58.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002446/9.837, allocations: 12 kB / 3.613 GB, free: 58.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/9.839, allocations: 112.6 kB / 3.613 GB, free: 57.99 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/9.839, allocations: 149.6 kB / 3.613 GB, free: 57.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/9.839, allocations: 78.98 kB / 3.613 GB, free: 57.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009907/9.84, allocations: 0.6745 MB / 3.614 GB, free: 57.21 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.84, allocations: 0 / 3.614 GB, free: 57.21 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002819/9.843, allocations: 0.7822 MB / 3.615 GB, free: 56.45 MB / 0.698 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.01061/9.854, allocations: 9.456 MB / 3.624 GB, free: 47.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003029/9.857, allocations: 1.966 MB / 3.626 GB, free: 45.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.564e-05/9.857, allocations: 4 kB / 3.626 GB, free: 45.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/9.858, allocations: 1.053 MB / 3.627 GB, free: 44.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005712/9.864, allocations: 0.9726 MB / 3.628 GB, free: 43.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008792/9.872, allocations: 4.441 MB / 3.632 GB, free: 39.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/9.874, allocations: 1.694 MB / 3.634 GB, free: 37.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002897/9.877, allocations: 0.7276 MB / 3.635 GB, free: 37.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/9.878, allocations: 0.8312 MB / 3.635 GB, free: 36.22 MB / 0.698 GB Notification: Performance of SimCode: time 9.71e-07/9.878, allocations: 4 kB / 3.635 GB, free: 36.21 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6189/10.5, allocations: 69.44 MB / 3.703 GB, free: 102.7 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/10.5, allocations: 168 kB / 3.703 GB, free: 102.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.634/15.13, allocations: 0 / 3.703 GB, free: 102.5 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)