Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 180.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.708/1.708, allocations: 205.2 MB / 0.626 GB, free: 7.148 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 90 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.336e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7529, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.462/6.215, allocations: 2.078 GB / 3.051 GB, free: 6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/6.215, allocations: 84.52 kB / 3.051 GB, free: 5.957 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 2.376/8.591, allocations: 449.3 MB / 3.49 GB, free: 230.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/8.591, allocations: 0 / 3.49 GB, free: 230.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.932e-05/8.591, allocations: 30.12 kB / 3.49 GB, free: 230.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004874/8.596, allocations: 1.504 MB / 3.491 GB, free: 230.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/8.596, allocations: 9.438 kB / 3.491 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000809/8.597, allocations: 157.1 kB / 3.492 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/8.598, allocations: 0.6425 MB / 3.492 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/8.598, allocations: 28.28 kB / 3.492 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/8.598, allocations: 53.91 kB / 3.492 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002496/8.601, allocations: 1.317 MB / 3.494 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/8.603, allocations: 1.051 MB / 3.495 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/8.603, allocations: 0 / 3.495 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.457e-05/8.603, allocations: 8.469 kB / 3.495 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.461e-05/8.603, allocations: 48.5 kB / 3.495 GB, free: 229.8 MB / 0.948 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.005509/8.608, allocations: 3.104 MB / 3.498 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002193/8.611, allocations: 1.425 MB / 3.499 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/8.612, allocations: 0.6917 MB / 3.5 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001316/8.613, allocations: 1.542 MB / 3.501 GB, free: 227 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/8.614, allocations: 0.7053 MB / 3.502 GB, free: 226.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=127): time 4.768e-06/8.614, allocations: 0 / 3.502 GB, free: 226.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=127): time 0.003462/8.618, allocations: 1.45 MB / 3.503 GB, free: 226.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/8.618, allocations: 95.83 kB / 3.503 GB, free: 226.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000696/8.619, allocations: 499.2 kB / 3.504 GB, free: 226.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.696e-05/8.619, allocations: 29.14 kB / 3.504 GB, free: 226.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/8.619, allocations: 371 kB / 3.504 GB, free: 226.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/8.619, allocations: 409.3 kB / 3.505 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-05/8.619, allocations: 7.781 kB / 3.505 GB, free: 226.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001425/8.62, allocations: 393.5 kB / 3.505 GB, free: 225.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006521/8.62, allocations: 0.4957 MB / 3.506 GB, free: 225.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/8.621, allocations: 0.6503 MB / 3.506 GB, free: 225.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/8.622, allocations: 0.7085 MB / 3.507 GB, free: 225.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/8.622, allocations: 0 / 3.507 GB, free: 225.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002702/8.625, allocations: 1.536 MB / 3.508 GB, free: 225.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/8.625, allocations: 39.83 kB / 3.508 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/8.625, allocations: 2.781 kB / 3.508 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/8.625, allocations: 13.73 kB / 3.508 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009283/8.626, allocations: 222.8 kB / 3.509 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.348e-05/8.626, allocations: 10.53 kB / 3.509 GB, free: 225.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009637/8.627, allocations: 93.94 kB / 3.509 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/8.627, allocations: 52.06 kB / 3.509 GB, free: 225.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 1 * 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.0002366/8.628, allocations: 157.7 kB / 3.509 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002663/8.63, allocations: 1.445 MB / 3.51 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/8.63, allocations: 102 kB / 3.51 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/8.634, allocations: 1.655 MB / 3.512 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/8.634, allocations: 13.97 kB / 3.512 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/8.634, allocations: 0 / 3.512 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/8.634, allocations: 7.688 kB / 3.512 GB, free: 225.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/8.64, allocations: 3.577 MB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/8.64, allocations: 7.188 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/8.641, allocations: 214.1 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.821e-05/8.641, allocations: 14.5 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.303e-05/8.641, allocations: 21.53 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.55e-05/8.641, allocations: 16.72 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.126e-05/8.641, allocations: 12 kB / 3.516 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/8.645, allocations: 2.99 MB / 3.519 GB, free: 223.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007828/8.646, allocations: 322.2 kB / 3.519 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001589/8.646, allocations: 14.38 kB / 3.519 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/8.647, allocations: 44.03 kB / 3.519 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/8.647, allocations: 99.39 kB / 3.519 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/8.647, allocations: 55.52 kB / 3.519 GB, free: 223.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005972/8.648, allocations: 400.2 kB / 3.52 GB, free: 223.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.648, allocations: 0 / 3.52 GB, free: 223.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002004/8.65, allocations: 458.8 kB / 3.52 GB, free: 223.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 1 * 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.00816/8.658, allocations: 7.089 MB / 3.527 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002163/8.66, allocations: 1.274 MB / 3.528 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/8.66, allocations: 3.656 kB / 3.528 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009031/8.661, allocations: 0.7106 MB / 3.529 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/8.663, allocations: 235.7 kB / 3.529 GB, free: 219.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/8.667, allocations: 2.093 MB / 3.531 GB, free: 218.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005876/8.667, allocations: 1.129 MB / 3.532 GB, free: 217.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001331/8.669, allocations: 401.5 kB / 3.533 GB, free: 217.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/8.669, allocations: 356.2 kB / 3.533 GB, free: 217.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/8.669, allocations: 0 / 3.533 GB, free: 217.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06742/8.737, allocations: 32.19 MB / 3.565 GB, free: 216.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/8.737, allocations: 165.2 kB / 3.565 GB, free: 216.7 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.423/12.16, allocations: 4 kB / 3.565 GB, free: 216.7 MB / 0.948 GB (rm -f Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Airflow_Multizone_Validation_OpenDoorPressure.fmu > Buildings_8_Buildings.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)