Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Validation.DoorOpenClosed,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed",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.001656/0.001656, allocations: 174.3 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7944/0.7944, allocations: 133.4 MB / 146.7 MB, free: 10.8 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.756/1.756, allocations: 221.3 MB / 400.4 MB, free: 5.797 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 94.11 kB / 483.3 MB, free: 5.852 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.544e-05/4.549e-05, allocations: 6.641 kB / 0.5601 GB, free: 87.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1859, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.304/5.49, allocations: 1.883 GB / 2.524 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/5.49, allocations: 91.06 kB / 2.524 GB, free: 11.2 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 2.93/8.42, allocations: 0.6681 GB / 3.192 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.435e-06/8.42, allocations: 3.891 kB / 3.192 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.552e-05/8.42, allocations: 29.97 kB / 3.192 GB, free: 111.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.004703/8.425, allocations: 1.349 MB / 3.193 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/8.425, allocations: 9.438 kB / 3.193 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003468/8.426, allocations: 123.7 kB / 3.194 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/8.426, allocations: 154.3 kB / 3.194 GB, free: 110.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/8.428, allocations: 0.5506 MB / 3.194 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/8.428, allocations: 53.03 kB / 3.194 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/8.428, allocations: 70.28 kB / 3.194 GB, free: 110.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/8.43, allocations: 0.8155 MB / 3.195 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/8.43, allocations: 0 / 3.195 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-05/8.43, allocations: 28.69 kB / 3.195 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.153e-05/8.43, allocations: 46.45 kB / 3.195 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/8.431, allocations: 0.6795 MB / 3.196 GB, free: 110.3 MB / 0.6823 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.005231/8.436, allocations: 4.6 MB / 3.2 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000948/8.437, allocations: 456.5 kB / 3.201 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/8.437, allocations: 170.7 kB / 3.201 GB, free: 107 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005316/8.438, allocations: 0.7619 MB / 3.202 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/8.438, allocations: 37.39 kB / 3.202 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/8.438, allocations: 2.406 kB / 3.202 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=40): time 0.0009842/8.439, allocations: 439.5 kB / 3.202 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/8.439, allocations: 63.25 kB / 3.202 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/8.44, allocations: 0.7685 MB / 3.203 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/8.44, allocations: 36.33 kB / 3.203 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/8.44, allocations: 396.1 kB / 3.203 GB, free: 105.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/8.441, allocations: 128.5 kB / 3.204 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/8.441, allocations: 11.59 kB / 3.204 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/8.441, allocations: 328 kB / 3.204 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/8.441, allocations: 171.5 kB / 3.204 GB, free: 104.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/8.441, allocations: 273.9 kB / 3.204 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/8.442, allocations: 210.5 kB / 3.204 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/8.442, allocations: 0 / 3.204 GB, free: 104.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008753/8.442, allocations: 0.5625 MB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/8.443, allocations: 7.688 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/8.443, allocations: 3.406 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/8.443, allocations: 3.906 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/8.443, allocations: 104.4 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.286e-05/8.443, allocations: 7.906 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/8.444, allocations: 106.1 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.949e-05/8.444, allocations: 20.81 kB / 3.205 GB, free: 104.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001192/8.444, allocations: 132.5 kB / 3.205 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/8.444, allocations: 85.03 kB / 3.205 GB, free: 104 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008826/8.445, allocations: 0.5297 MB / 3.206 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/8.445, allocations: 5.656 kB / 3.206 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/8.445, allocations: 4.125 kB / 3.206 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/8.445, allocations: 3.891 kB / 3.206 GB, free: 103.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003148/8.448, allocations: 2.04 MB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/8.448, allocations: 10.91 kB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003965/8.449, allocations: 93.23 kB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/8.449, allocations: 10.34 kB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/8.449, allocations: 14.59 kB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/8.449, allocations: 11.25 kB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/8.449, allocations: 7.844 kB / 3.208 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/8.45, allocations: 1.252 MB / 3.209 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000472/8.451, allocations: 227.8 kB / 3.21 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/8.451, allocations: 23.8 kB / 3.21 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007802/8.452, allocations: 51.09 kB / 3.21 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/8.452, allocations: 50.06 kB / 3.21 GB, free: 101 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/8.452, allocations: 26.7 kB / 3.21 GB, free: 101 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000751/8.453, allocations: 0.6114 MB / 3.21 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/8.453, allocations: 0 / 3.21 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001723/8.454, allocations: 446.8 kB / 3.211 GB, free: 100.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 1 (lea.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.005198/8.459, allocations: 5.525 MB / 3.216 GB, free: 96.34 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007651/8.46, allocations: 427.4 kB / 3.217 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/8.46, allocations: 0 / 3.217 GB, free: 96.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003292/8.461, allocations: 211.8 kB / 3.217 GB, free: 96.09 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/8.463, allocations: 485.4 kB / 3.217 GB, free: 95.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003003/8.466, allocations: 1.392 MB / 3.219 GB, free: 94.99 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005377/8.467, allocations: 1.022 MB / 3.22 GB, free: 94.07 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008902/8.467, allocations: 183.3 kB / 3.22 GB, free: 93.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004137/8.468, allocations: 295.3 kB / 3.22 GB, free: 93.63 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/8.468, allocations: 0 / 3.22 GB, free: 93.63 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0942/8.562, allocations: 58.91 MB / 3.278 GB, free: 35.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/8.562, allocations: 186.3 kB / 3.278 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.029/12.59, allocations: 3.938 kB / 3.278 GB, free: 35.37 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Airflow_Multizone_Validation_DoorOpenClosed.fmu > IDEAS_IDEAS.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)