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.8685/0.8685, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001248/0.001247, allocations: 180.2 kB / 182.2 MB, free: 9.43 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.498/1.498, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009954/0.0009955, allocations: 95.78 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 290.7 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.291e-05, allocations: 8 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.494, allocations: 82.77 MB / 0.7575 GB, free: 31.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.006/5.5, allocations: 1.883 GB / 2.64 GB, free: 136.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/5.501, allocations: 84.14 kB / 2.64 GB, free: 136.1 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.795/7.296, allocations: 456.4 MB / 3.086 GB, free: 151.5 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/7.296, allocations: 0 / 3.086 GB, free: 151.5 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.816e-05/7.296, allocations: 21.09 kB / 3.086 GB, free: 151.5 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.00469/7.301, allocations: 1.512 MB / 3.087 GB, free: 151 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/7.301, allocations: 7.812 kB / 3.087 GB, free: 151 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007789/7.301, allocations: 159.7 kB / 3.088 GB, free: 150.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/7.303, allocations: 0.6378 MB / 3.088 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/7.303, allocations: 27.44 kB / 3.088 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/7.303, allocations: 57.23 kB / 3.088 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/7.305, allocations: 1.314 MB / 3.09 GB, free: 150.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/7.306, allocations: 1.043 MB / 3.091 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.755e-05/7.306, allocations: 7.328 kB / 3.091 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/7.306, allocations: 4.625 kB / 3.091 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.747e-05/7.306, allocations: 47.91 kB / 3.091 GB, free: 150.6 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.004861/7.311, allocations: 3.393 MB / 3.094 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/7.313, allocations: 1.365 MB / 3.095 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/7.314, allocations: 0.6632 MB / 3.096 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007826/7.315, allocations: 0.9595 MB / 3.097 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008868/7.315, allocations: 0.6731 MB / 3.097 GB, free: 148.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=123): time 3.055e-06/7.316, allocations: 0 / 3.097 GB, free: 148.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.002909/7.318, allocations: 1.424 MB / 3.099 GB, free: 148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/7.318, allocations: 91.11 kB / 3.099 GB, free: 147.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006738/7.319, allocations: 0.5206 MB / 3.099 GB, free: 147.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.9e-05/7.319, allocations: 28.48 kB / 3.099 GB, free: 147.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/7.32, allocations: 386.7 kB / 3.1 GB, free: 147.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003157/7.32, allocations: 391.2 kB / 3.1 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/7.32, allocations: 3 kB / 3.1 GB, free: 147.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001394/7.32, allocations: 398.1 kB / 3.101 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/7.321, allocations: 497.6 kB / 3.101 GB, free: 147.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008313/7.322, allocations: 0.6723 MB / 3.102 GB, free: 146.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/7.323, allocations: 0.7094 MB / 3.102 GB, free: 146.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/7.323, allocations: 3.281 kB / 3.102 GB, free: 146.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002765/7.326, allocations: 1.539 MB / 3.104 GB, free: 146.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.906e-05/7.326, allocations: 38.05 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/7.326, allocations: 2.625 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/7.326, allocations: 13.2 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/7.327, allocations: 233 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.658e-05/7.327, allocations: 14.11 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009882/7.328, allocations: 86.09 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/7.328, allocations: 56.08 kB / 3.104 GB, free: 146.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0002557/7.328, allocations: 166.5 kB / 3.105 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002665/7.331, allocations: 1.406 MB / 3.106 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/7.331, allocations: 100.9 kB / 3.106 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/7.334, allocations: 1.614 MB / 3.108 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/7.334, allocations: 12.03 kB / 3.108 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/7.334, allocations: 1.875 kB / 3.108 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/7.334, allocations: 7.266 kB / 3.108 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005564/7.34, allocations: 3.217 MB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/7.34, allocations: 6.25 kB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008414/7.341, allocations: 209 kB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.958e-05/7.341, allocations: 10.41 kB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.772e-05/7.341, allocations: 26.77 kB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/7.341, allocations: 9.812 kB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.199e-05/7.341, allocations: 14.12 kB / 3.111 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003792/7.345, allocations: 2.825 MB / 3.114 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/7.346, allocations: 324.9 kB / 3.114 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/7.346, allocations: 13.77 kB / 3.114 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/7.346, allocations: 35.81 kB / 3.114 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/7.347, allocations: 92.34 kB / 3.114 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/7.347, allocations: 44.75 kB / 3.114 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000531/7.347, allocations: 412.9 kB / 3.115 GB, free: 144.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.347, allocations: 7.375 kB / 3.115 GB, free: 144.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0017/7.349, allocations: 460.8 kB / 3.115 GB, free: 144.6 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.007288/7.356, allocations: 6.582 MB / 3.122 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001868/7.358, allocations: 1.254 MB / 3.123 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/7.358, allocations: 3.281 kB / 3.123 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007747/7.359, allocations: 0.6849 MB / 3.123 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/7.36, allocations: 225.5 kB / 3.124 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/7.364, allocations: 2.055 MB / 3.126 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006269/7.365, allocations: 1.121 MB / 3.127 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001273/7.366, allocations: 403.4 kB / 3.127 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/7.367, allocations: 361.9 kB / 3.127 GB, free: 139.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.373e-06/7.367, allocations: 0 / 3.127 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06339/7.43, allocations: 32.16 MB / 3.159 GB, free: 138.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/7.431, allocations: 187.4 kB / 3.159 GB, free: 138.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.178/10.61, allocations: 0 / 3.159 GB, free: 138.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)