Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7438/0.7438, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 175.9 kB / 187.3 MB, free: 11.91 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 221.3 MB / 441.4 MB, free: 4.676 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.0008235/0.0008235, allocations: 99.92 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 270.4 kB / 0.5939 GB, free: 7.996 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.499e-05, allocations: 4 kB / 0.6835 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3923, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.277/4.669, allocations: 1.883 GB / 2.648 GB, free: 164.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/4.669, allocations: 83.95 kB / 2.648 GB, free: 164.4 MB / 0.698 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 1.915/6.584, allocations: 462.4 MB / 3.099 GB, free: 147.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.346e-06/6.584, allocations: 0 / 3.099 GB, free: 147.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000152/6.584, allocations: 24.03 kB / 3.099 GB, free: 147.3 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005889/6.59, allocations: 1.513 MB / 3.101 GB, free: 146.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/6.59, allocations: 8.531 kB / 3.101 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005298/6.591, allocations: 155.9 kB / 3.101 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009358/6.592, allocations: 157.5 kB / 3.101 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/6.594, allocations: 0.6359 MB / 3.102 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/6.594, allocations: 67.89 kB / 3.102 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002459/6.594, allocations: 82.84 kB / 3.102 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/6.596, allocations: 1.167 MB / 3.103 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/6.596, allocations: 3.047 kB / 3.103 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/6.596, allocations: 42.89 kB / 3.103 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/6.596, allocations: 48.05 kB / 3.103 GB, free: 146.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00234/6.599, allocations: 1.441 MB / 3.105 GB, free: 146.4 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.004763/6.604, allocations: 3.328 MB / 3.108 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001823/6.605, allocations: 1.488 MB / 3.109 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/6.606, allocations: 0.7311 MB / 3.11 GB, free: 145.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/6.607, allocations: 1.543 MB / 3.111 GB, free: 143.6 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/6.608, allocations: 0.736 MB / 3.112 GB, free: 143.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 3.757e-06/6.608, allocations: 0 / 3.112 GB, free: 143.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.002547/6.611, allocations: 1.442 MB / 3.114 GB, free: 143.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/6.611, allocations: 99.64 kB / 3.114 GB, free: 143.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/6.612, allocations: 0.6775 MB / 3.114 GB, free: 143.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.824e-05/6.612, allocations: 45.61 kB / 3.114 GB, free: 143.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/6.613, allocations: 351.6 kB / 3.115 GB, free: 143 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004221/6.613, allocations: 429.3 kB / 3.115 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.807e-05/6.613, allocations: 27.72 kB / 3.115 GB, free: 142.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001857/6.613, allocations: 406.8 kB / 3.116 GB, free: 142.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/6.614, allocations: 0.5192 MB / 3.116 GB, free: 142.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/6.615, allocations: 0.6381 MB / 3.117 GB, free: 142.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/6.616, allocations: 0.6485 MB / 3.117 GB, free: 142.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/6.616, allocations: 0 / 3.117 GB, free: 142.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00282/6.619, allocations: 1.518 MB / 3.119 GB, free: 142.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/6.619, allocations: 41.09 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/6.619, allocations: 1.219 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.932e-05/6.619, allocations: 6.219 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001292/6.621, allocations: 225.2 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.917e-05/6.621, allocations: 9.328 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/6.622, allocations: 136.2 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002354/6.622, allocations: 50.53 kB / 3.119 GB, free: 142.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.0004072/6.623, allocations: 188.9 kB / 3.119 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/6.623, allocations: 102.1 kB / 3.12 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/6.627, allocations: 1.69 MB / 3.121 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/6.627, allocations: 12.19 kB / 3.121 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/6.627, allocations: 0 / 3.121 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/6.627, allocations: 12.23 kB / 3.121 GB, free: 141.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007641/6.635, allocations: 3.845 MB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/6.635, allocations: 10.09 kB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009146/6.636, allocations: 211.4 kB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-05/6.636, allocations: 15.97 kB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/6.636, allocations: 40.53 kB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.809e-05/6.636, allocations: 17.34 kB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.09e-05/6.636, allocations: 15.72 kB / 3.125 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/6.64, allocations: 3.008 MB / 3.128 GB, free: 140 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/6.641, allocations: 342.9 kB / 3.129 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/6.642, allocations: 34.67 kB / 3.129 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/6.643, allocations: 61.86 kB / 3.129 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/6.643, allocations: 96.84 kB / 3.129 GB, free: 139.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/6.643, allocations: 55.03 kB / 3.129 GB, free: 139.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001064/6.644, allocations: 0.5474 MB / 3.129 GB, free: 139.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/6.644, allocations: 0 / 3.129 GB, free: 139.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002449/6.647, allocations: 0.5168 MB / 3.13 GB, free: 139.7 MB / 0.698 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.007347/6.654, allocations: 6.945 MB / 3.137 GB, free: 135.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002504/6.657, allocations: 1.339 MB / 3.138 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/6.657, allocations: 0 / 3.138 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/6.658, allocations: 0.7435 MB / 3.139 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/6.66, allocations: 385.1 kB / 3.139 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005645/6.666, allocations: 2.225 MB / 3.141 GB, free: 135.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008964/6.667, allocations: 1.122 MB / 3.142 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001534/6.669, allocations: 436.5 kB / 3.143 GB, free: 134.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006794/6.669, allocations: 366.6 kB / 3.143 GB, free: 134.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.104e-06/6.669, allocations: 6.344 kB / 3.143 GB, free: 134.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09732/6.767, allocations: 52.92 MB / 3.195 GB, free: 127.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002401/6.767, allocations: 206.5 kB / 3.195 GB, free: 127 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.333/11.1, allocations: 4 kB / 3.195 GB, free: 127 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorPressure.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)