Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.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.OpenDoorTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature",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.7215/0.7215, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.0009277/0.0009275, allocations: 179.5 kB / 187.2 MB, free: 11.89 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.272/1.272, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0008573/0.0008573, allocations: 99.17 kB / 0.5124 GB, free: 24.11 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001738/0.001738, allocations: 269.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.093e-05/3.096e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3626, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.841/4.204, allocations: 1.883 GB / 2.648 GB, free: 124.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/4.204, allocations: 81.39 kB / 2.648 GB, free: 124 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.613/5.817, allocations: 462.4 MB / 3.099 GB, free: 149.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.113e-06/5.817, allocations: 0 / 3.099 GB, free: 149.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.747e-05/5.817, allocations: 24.06 kB / 3.099 GB, free: 149.9 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.004665/5.822, allocations: 1.499 MB / 3.101 GB, free: 149.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/5.822, allocations: 13 kB / 3.101 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004381/5.822, allocations: 145.2 kB / 3.101 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/5.823, allocations: 160.1 kB / 3.101 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/5.825, allocations: 0.6339 MB / 3.102 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.309e-05/5.825, allocations: 67.16 kB / 3.102 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/5.825, allocations: 89.03 kB / 3.102 GB, free: 148.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/5.827, allocations: 1.161 MB / 3.103 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.291e-05/5.827, allocations: 6.219 kB / 3.103 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.923e-05/5.827, allocations: 40.19 kB / 3.103 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/5.827, allocations: 47.88 kB / 3.103 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/5.829, allocations: 1.45 MB / 3.105 GB, free: 148.8 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.005318/5.835, allocations: 3.599 MB / 3.108 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/5.837, allocations: 1.446 MB / 3.109 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008485/5.838, allocations: 0.7011 MB / 3.11 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007375/5.838, allocations: 0.9646 MB / 3.111 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/5.839, allocations: 0.7091 MB / 3.112 GB, free: 146.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=123): time 4.999e-06/5.839, allocations: 3.844 kB / 3.112 GB, free: 146.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.002419/5.842, allocations: 1.405 MB / 3.113 GB, free: 146.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/5.842, allocations: 92.64 kB / 3.113 GB, free: 146 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/5.843, allocations: 0.7401 MB / 3.114 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.287e-05/5.843, allocations: 51.7 kB / 3.114 GB, free: 145.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/5.843, allocations: 365.1 kB / 3.114 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/5.844, allocations: 414.4 kB / 3.115 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/5.844, allocations: 24.81 kB / 3.115 GB, free: 145.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/5.844, allocations: 347 kB / 3.115 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/5.844, allocations: 0.5141 MB / 3.116 GB, free: 145.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008559/5.845, allocations: 0.6621 MB / 3.116 GB, free: 145.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/5.846, allocations: 0.6412 MB / 3.117 GB, free: 145.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/5.846, allocations: 5.812 kB / 3.117 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002181/5.848, allocations: 1.532 MB / 3.118 GB, free: 144.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.485e-05/5.848, allocations: 36.94 kB / 3.118 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/5.848, allocations: 9.703 kB / 3.118 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/5.849, allocations: 7.531 kB / 3.118 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008724/5.849, allocations: 224.4 kB / 3.119 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/5.849, allocations: 10.45 kB / 3.119 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/5.85, allocations: 137.7 kB / 3.119 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/5.851, allocations: 51.81 kB / 3.119 GB, free: 144.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,$PRE.bouTem.nextEvent,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * 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.0002111/5.851, allocations: 189.2 kB / 3.119 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/5.851, allocations: 108.4 kB / 3.119 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/5.854, allocations: 1.646 MB / 3.121 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/5.854, allocations: 9.562 kB / 3.121 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/5.854, allocations: 0 / 3.121 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/5.854, allocations: 5.672 kB / 3.121 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/5.859, allocations: 3.417 MB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/5.859, allocations: 3.938 kB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/5.859, allocations: 208.8 kB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.61e-05/5.859, allocations: 9.969 kB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/5.86, allocations: 45.45 kB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.406e-05/5.86, allocations: 13.81 kB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/5.86, allocations: 9.094 kB / 3.124 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003354/5.863, allocations: 2.852 MB / 3.127 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007522/5.864, allocations: 342.8 kB / 3.127 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002648/5.864, allocations: 32 kB / 3.127 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008544/5.865, allocations: 54.92 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/5.865, allocations: 88.89 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.895e-05/5.865, allocations: 52.06 kB / 3.128 GB, free: 142.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008066/5.866, allocations: 0.5911 MB / 3.128 GB, free: 142.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.412e-06/5.866, allocations: 0 / 3.128 GB, free: 142.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001789/5.868, allocations: 0.5074 MB / 3.129 GB, free: 142.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * 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.006153/5.874, allocations: 6.445 MB / 3.135 GB, free: 139.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00194/5.876, allocations: 1.313 MB / 3.136 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/5.876, allocations: 3.656 kB / 3.136 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008673/5.877, allocations: 0.7202 MB / 3.137 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/5.879, allocations: 415.1 kB / 3.137 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/5.884, allocations: 2.203 MB / 3.14 GB, free: 138.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006705/5.885, allocations: 1.12 MB / 3.141 GB, free: 137.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001463/5.886, allocations: 431 kB / 3.141 GB, free: 137.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006277/5.887, allocations: 371.9 kB / 3.141 GB, free: 137.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/5.887, allocations: 0 / 3.141 GB, free: 137.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08618/5.973, allocations: 53.99 MB / 3.194 GB, free: 106.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002268/5.973, allocations: 215.6 kB / 3.194 GB, free: 106.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.919/9.892, allocations: 0 / 3.194 GB, free: 106.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature_fmu --startTime=0 --stopTime=28800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)