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.8196/0.8196, allocations: 143.3 MB / 158.3 MB, free: 5.648 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.001653/0.001653, allocations: 191.4 kB / 191.5 MB, free: 5.664 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.423/1.423, allocations: 223.2 MB / 447.7 MB, free: 4.852 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.0009648/0.000965, allocations: 92.33 kB / 0.5187 GB, free: 1.207 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002051/0.002051, allocations: 274.4 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004332, allocations: 14.12 kB / 0.6929 GB, free: 59.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 82.8 MB / 0.7738 GB, free: 13.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.155/4.338, allocations: 1.883 GB / 2.657 GB, free: 144.3 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/4.338, allocations: 86.98 kB / 2.657 GB, free: 144.2 MB / 0.7136 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.678/6.017, allocations: 462.8 MB / 3.109 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.322e-06/6.017, allocations: 0 / 3.109 GB, free: 150.5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.386e-05/6.017, allocations: 25.69 kB / 3.109 GB, free: 150.5 MB / 0.7136 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.004966/6.022, allocations: 1.651 MB / 3.111 GB, free: 150 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.333e-05/6.022, allocations: 8.844 kB / 3.111 GB, free: 150 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000277/6.022, allocations: 144.3 kB / 3.111 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006992/6.023, allocations: 164.1 kB / 3.111 GB, free: 149.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/6.024, allocations: 0.6461 MB / 3.112 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.397e-05/6.024, allocations: 69.75 kB / 3.112 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/6.024, allocations: 89.77 kB / 3.112 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/6.026, allocations: 1.176 MB / 3.113 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/6.026, allocations: 4.562 kB / 3.113 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/6.027, allocations: 35.28 kB / 3.113 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/6.027, allocations: 51.3 kB / 3.113 GB, free: 149.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/6.029, allocations: 1.467 MB / 3.115 GB, free: 149.6 MB / 0.7136 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.006268/6.035, allocations: 3.6 MB / 3.118 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/6.037, allocations: 1.451 MB / 3.12 GB, free: 148.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008143/6.038, allocations: 0.9605 MB / 3.12 GB, free: 147.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009895/6.039, allocations: 0.7147 MB / 3.121 GB, free: 147 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=123): time 3.367e-06/6.039, allocations: 0 / 3.121 GB, free: 147 MB / 0.7136 GB Notification: Performance of matching and sorting (n=123): time 0.003053/6.042, allocations: 2.028 MB / 3.123 GB, free: 146.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/6.042, allocations: 88.67 kB / 3.123 GB, free: 146.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009448/6.043, allocations: 0.7479 MB / 3.124 GB, free: 146.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/6.043, allocations: 45.42 kB / 3.124 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003452/6.044, allocations: 370.6 kB / 3.124 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003574/6.044, allocations: 409.3 kB / 3.125 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/6.044, allocations: 26.59 kB / 3.125 GB, free: 146.2 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.765e-05/6.044, allocations: 352.7 kB / 3.125 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007192/6.045, allocations: 0.5228 MB / 3.126 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007735/6.046, allocations: 0.6715 MB / 3.126 GB, free: 145.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008464/6.047, allocations: 0.6452 MB / 3.127 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/6.047, allocations: 0 / 3.127 GB, free: 145.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002062/6.049, allocations: 1.548 MB / 3.128 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/6.049, allocations: 47.8 kB / 3.128 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.049, allocations: 3.281 kB / 3.128 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/6.049, allocations: 7.656 kB / 3.128 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008796/6.05, allocations: 220.2 kB / 3.129 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/6.05, allocations: 12.48 kB / 3.129 GB, free: 145.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/6.051, allocations: 135.5 kB / 3.129 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/6.051, allocations: 55.7 kB / 3.129 GB, free: 145.5 MB / 0.7136 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 () * Number of clocked 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.0005433/6.051, allocations: 378 kB / 3.129 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/6.051, allocations: 100.8 kB / 3.129 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/6.054, allocations: 1.665 MB / 3.131 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/6.054, allocations: 17.97 kB / 3.131 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/6.054, allocations: 0 / 3.131 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/6.054, allocations: 7.797 kB / 3.131 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/6.059, allocations: 3.424 MB / 3.134 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/6.059, allocations: 12.53 kB / 3.134 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008181/6.06, allocations: 202.3 kB / 3.135 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/6.06, allocations: 11.69 kB / 3.135 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.595e-05/6.06, allocations: 43.56 kB / 3.135 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.091e-05/6.06, allocations: 14.03 kB / 3.135 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/6.06, allocations: 6.781 kB / 3.135 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/6.063, allocations: 2.878 MB / 3.137 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000804/6.064, allocations: 347.7 kB / 3.138 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/6.064, allocations: 35.95 kB / 3.138 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007141/6.065, allocations: 54.33 kB / 3.138 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/6.065, allocations: 91.77 kB / 3.138 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/6.065, allocations: 50.61 kB / 3.138 GB, free: 143.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007111/6.066, allocations: 0.5975 MB / 3.139 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/6.066, allocations: 0 / 3.139 GB, free: 143.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001672/6.067, allocations: 0.5116 MB / 3.139 GB, free: 143.4 MB / 0.7136 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) * Number of clocked states: 0 () * 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.005177/6.073, allocations: 6.458 MB / 3.145 GB, free: 140.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001765/6.074, allocations: 1.334 MB / 3.147 GB, free: 140 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/6.074, allocations: 6.969 kB / 3.147 GB, free: 140 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007815/6.075, allocations: 0.7269 MB / 3.147 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/6.077, allocations: 431.8 kB / 3.148 GB, free: 139.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009883/6.087, allocations: 8.689 MB / 3.156 GB, free: 136.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005195/6.088, allocations: 1.125 MB / 3.157 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001329/6.089, allocations: 438.3 kB / 3.158 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005257/6.09, allocations: 364 kB / 3.158 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of SimCode: time 2.104e-06/6.09, allocations: 0 / 3.158 GB, free: 135.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07219/6.162, allocations: 49.88 MB / 3.207 GB, free: 134.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/6.162, allocations: 231.2 kB / 3.207 GB, free: 134.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.604/9.766, allocations: 5.719 kB / 3.207 GB, free: 134.3 MB / 0.7136 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)