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.8611/0.8611, allocations: 143.4 MB / 158.3 MB, free: 5.812 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 173.1 kB / 191.5 MB, free: 5.781 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.731/1.731, allocations: 223.2 MB / 447.7 MB, free: 6.539 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.0009415/0.0009416, allocations: 100.2 kB / 0.5187 GB, free: 2.891 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 271.4 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004479/0.0004479, allocations: 16 kB / 0.6929 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4066/0.4071, allocations: 82.77 MB / 0.7738 GB, free: 26.22 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.129/4.536, allocations: 1.883 GB / 2.657 GB, free: 101.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/4.536, allocations: 92.83 kB / 2.657 GB, free: 101 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.627/6.163, allocations: 462.8 MB / 3.109 GB, free: 151 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.864e-06/6.163, allocations: 0 / 3.109 GB, free: 151 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.408e-05/6.163, allocations: 26.53 kB / 3.109 GB, free: 151 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.004164/6.167, allocations: 1.655 MB / 3.111 GB, free: 150.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/6.167, allocations: 7.188 kB / 3.111 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001839/6.167, allocations: 144.2 kB / 3.111 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/6.168, allocations: 162 kB / 3.111 GB, free: 150.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/6.169, allocations: 0.638 MB / 3.112 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.541e-05/6.169, allocations: 65.47 kB / 3.112 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/6.169, allocations: 88.69 kB / 3.112 GB, free: 150 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/6.171, allocations: 1.182 MB / 3.113 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/6.171, allocations: 0 / 3.113 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.652e-05/6.171, allocations: 38.7 kB / 3.113 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.234e-05/6.171, allocations: 53.34 kB / 3.113 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/6.173, allocations: 1.469 MB / 3.115 GB, free: 149.9 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.004447/6.178, allocations: 3.322 MB / 3.118 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/6.179, allocations: 1.51 MB / 3.119 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/6.18, allocations: 1.535 MB / 3.121 GB, free: 147 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000921/6.181, allocations: 0.7457 MB / 3.122 GB, free: 146.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=127): time 3.236e-06/6.181, allocations: 3.312 kB / 3.122 GB, free: 146.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=127): time 0.002925/6.184, allocations: 2.074 MB / 3.124 GB, free: 146.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/6.184, allocations: 96.83 kB / 3.124 GB, free: 146.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/6.185, allocations: 0.687 MB / 3.124 GB, free: 146.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.354e-05/6.185, allocations: 50.14 kB / 3.124 GB, free: 146.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/6.185, allocations: 351.5 kB / 3.125 GB, free: 146.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/6.186, allocations: 427.8 kB / 3.125 GB, free: 146 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/6.186, allocations: 24.91 kB / 3.125 GB, free: 146 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/6.186, allocations: 413.5 kB / 3.126 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/6.187, allocations: 0.5278 MB / 3.126 GB, free: 145.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/6.187, allocations: 0.6439 MB / 3.127 GB, free: 145.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008179/6.188, allocations: 0.6508 MB / 3.127 GB, free: 145.6 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/6.188, allocations: 0 / 3.127 GB, free: 145.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.00205/6.19, allocations: 1.55 MB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.369e-05/6.19, allocations: 33.3 kB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/6.19, allocations: 3.875 kB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/6.19, allocations: 9.953 kB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/6.191, allocations: 222.2 kB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/6.191, allocations: 10.47 kB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008556/6.192, allocations: 127.9 kB / 3.129 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/6.192, allocations: 51.66 kB / 3.129 GB, free: 145.4 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 () * Number of clocked 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.0005093/6.193, allocations: 364.5 kB / 3.13 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/6.193, allocations: 114.8 kB / 3.13 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/6.195, allocations: 1.705 MB / 3.131 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.138e-06/6.195, allocations: 15.7 kB / 3.131 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/6.195, allocations: 0 / 3.131 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/6.195, allocations: 3.797 kB / 3.131 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/6.201, allocations: 3.866 MB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/6.201, allocations: 6.969 kB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/6.202, allocations: 216.7 kB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/6.202, allocations: 10.69 kB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.745e-05/6.202, allocations: 36.78 kB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-05/6.202, allocations: 21.56 kB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/6.202, allocations: 11.28 kB / 3.135 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003546/6.206, allocations: 3.03 MB / 3.138 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008736/6.206, allocations: 345.5 kB / 3.139 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/6.207, allocations: 31.84 kB / 3.139 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008625/6.208, allocations: 66.2 kB / 3.139 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/6.208, allocations: 100.3 kB / 3.139 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/6.208, allocations: 52.78 kB / 3.139 GB, free: 143 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008465/6.209, allocations: 0.5484 MB / 3.14 GB, free: 142.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/6.209, allocations: 0 / 3.14 GB, free: 142.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002086/6.211, allocations: 0.515 MB / 3.14 GB, free: 142.6 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) * Number of clocked states: 0 () * 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.006323/6.217, allocations: 6.975 MB / 3.147 GB, free: 138 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002155/6.219, allocations: 1.361 MB / 3.148 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/6.219, allocations: 0 / 3.148 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009353/6.22, allocations: 0.755 MB / 3.149 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002105/6.222, allocations: 386.3 kB / 3.149 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/6.233, allocations: 7.844 MB / 3.157 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006745/6.234, allocations: 1.126 MB / 3.158 GB, free: 131.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001497/6.235, allocations: 429.3 kB / 3.158 GB, free: 130.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005252/6.236, allocations: 363.1 kB / 3.159 GB, free: 130.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/6.236, allocations: 0 / 3.159 GB, free: 130.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07429/6.31, allocations: 48.78 MB / 3.206 GB, free: 85.44 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/6.31, allocations: 231.7 kB / 3.207 GB, free: 85.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/9.864, allocations: 4 kB / 3.207 GB, free: 85.2 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)