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: translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8409/0.8409, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001225/0.001225, allocations: 180.8 kB / 182.2 MB, free: 9.453 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.492/1.492, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009441/0.0009441, allocations: 88.11 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.00181/0.00181, allocations: 277.8 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.39e-05, allocations: 0 / 0.6765 GB, free: 12.88 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4299, allocations: 82.77 MB / 0.7574 GB, free: 32.06 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.282/4.712, allocations: 1.883 GB / 2.64 GB, free: 176.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/4.713, allocations: 87.83 kB / 2.64 GB, free: 176.7 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.615/6.328, allocations: 456.4 MB / 3.086 GB, free: 147.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/6.328, allocations: 0 / 3.086 GB, free: 147.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.98e-05/6.328, allocations: 21.75 kB / 3.086 GB, free: 147.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.003856/6.332, allocations: 1.509 MB / 3.087 GB, free: 147.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/6.332, allocations: 10.41 kB / 3.087 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/6.332, allocations: 164 kB / 3.087 GB, free: 147.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/6.334, allocations: 0.6285 MB / 3.088 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/6.334, allocations: 35.61 kB / 3.088 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/6.334, allocations: 54.06 kB / 3.088 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001869/6.336, allocations: 1.319 MB / 3.089 GB, free: 147.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/6.337, allocations: 1.038 MB / 3.09 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/6.337, allocations: 0 / 3.09 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.274e-05/6.337, allocations: 3.953 kB / 3.09 GB, free: 147.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-05/6.337, allocations: 49.36 kB / 3.09 GB, free: 147.1 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.004555/6.342, allocations: 3.39 MB / 3.094 GB, free: 145.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/6.343, allocations: 1.358 MB / 3.095 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/6.344, allocations: 0.6658 MB / 3.096 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007923/6.345, allocations: 0.964 MB / 3.097 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009309/6.346, allocations: 0.677 MB / 3.097 GB, free: 144.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=123): time 3.176e-06/6.346, allocations: 0 / 3.097 GB, free: 144.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=123): time 0.003158/6.349, allocations: 1.416 MB / 3.099 GB, free: 144.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/6.349, allocations: 91.61 kB / 3.099 GB, free: 144.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006335/6.35, allocations: 0.5239 MB / 3.099 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.658e-05/6.35, allocations: 25.7 kB / 3.099 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/6.35, allocations: 387.3 kB / 3.1 GB, free: 144.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/6.35, allocations: 403.5 kB / 3.1 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/6.35, allocations: 0 / 3.1 GB, free: 143.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/6.351, allocations: 395.2 kB / 3.101 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/6.351, allocations: 497.8 kB / 3.101 GB, free: 143.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006733/6.352, allocations: 0.6714 MB / 3.102 GB, free: 143.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/6.353, allocations: 0.7135 MB / 3.102 GB, free: 143.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/6.353, allocations: 0 / 3.102 GB, free: 143.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00256/6.356, allocations: 1.543 MB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/6.356, allocations: 33.48 kB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/6.356, allocations: 3.906 kB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/6.356, allocations: 11.78 kB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/6.357, allocations: 233 kB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/6.357, allocations: 11.14 kB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/6.358, allocations: 91.16 kB / 3.104 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/6.358, allocations: 52.03 kB / 3.104 GB, free: 143.2 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.0002309/6.358, allocations: 163.4 kB / 3.104 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/6.358, allocations: 89.53 kB / 3.105 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003068/6.361, allocations: 1.611 MB / 3.106 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/6.361, allocations: 10.84 kB / 3.106 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/6.361, allocations: 9.047 kB / 3.106 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/6.361, allocations: 7.297 kB / 3.106 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/6.367, allocations: 3.224 MB / 3.109 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/6.367, allocations: 7.469 kB / 3.109 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007917/6.367, allocations: 206.2 kB / 3.109 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/6.367, allocations: 11.53 kB / 3.109 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.369e-05/6.368, allocations: 30.02 kB / 3.11 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/6.368, allocations: 14.38 kB / 3.11 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/6.368, allocations: 11.38 kB / 3.11 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/6.371, allocations: 2.829 MB / 3.112 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/6.372, allocations: 321.6 kB / 3.113 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/6.372, allocations: 14.39 kB / 3.113 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006414/6.373, allocations: 30.97 kB / 3.113 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/6.373, allocations: 89.33 kB / 3.113 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/6.373, allocations: 51.53 kB / 3.113 GB, free: 141.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004904/6.373, allocations: 416.2 kB / 3.113 GB, free: 141.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/6.373, allocations: 0 / 3.113 GB, free: 141.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001688/6.375, allocations: 453.1 kB / 3.114 GB, free: 141.2 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.00276/6.378, allocations: 1.786 MB / 3.115 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001728/6.38, allocations: 1.257 MB / 3.117 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/6.38, allocations: 0 / 3.117 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007675/6.38, allocations: 0.6848 MB / 3.117 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/6.382, allocations: 218.5 kB / 3.117 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/6.384, allocations: 1.808 MB / 3.119 GB, free: 140.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/6.385, allocations: 1.126 MB / 3.12 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001141/6.386, allocations: 404.1 kB / 3.121 GB, free: 139.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/6.386, allocations: 76.5 kB / 3.121 GB, free: 139.4 MB / 0.698 GB Notification: Performance of SimCode: time 5.41e-07/6.386, allocations: 0 / 3.121 GB, free: 139.4 MB / 0.698 GB Notification: Performance of Templates: time 0.03041/6.417, allocations: 21.02 MB / 3.141 GB, free: 139.1 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.makefile (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 & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1)