Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.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.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") translateModel(BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8791/0.8791, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001834/0.001834, allocations: 176.6 kB / 191.5 MB, free: 5.762 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.82/1.82, allocations: 223.2 MB / 447.7 MB, free: 6.559 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.001199/0.001199, allocations: 92.28 kB / 0.5188 GB, free: 2.906 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001993/0.001993, allocations: 275 kB / 0.6005 GB, free: 48.97 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.0004944, allocations: 12 kB / 0.6929 GB, free: 2.312 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5233, allocations: 82.78 MB / 0.7737 GB, free: 26.21 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.015/5.539, allocations: 1.88 GB / 2.654 GB, free: 104.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/5.539, allocations: 98.44 kB / 2.654 GB, free: 104.6 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 2.928/8.468, allocations: 0.6686 GB / 3.323 GB, free: 112.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.943e-06/8.468, allocations: 0 / 3.323 GB, free: 112.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000103/8.468, allocations: 28.86 kB / 3.323 GB, free: 112.7 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.005738/8.473, allocations: 1.488 MB / 3.324 GB, free: 112.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/8.474, allocations: 14.31 kB / 3.324 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/8.475, allocations: 149.2 kB / 3.324 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/8.476, allocations: 0.5567 MB / 3.325 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.979e-05/8.476, allocations: 55.78 kB / 3.325 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/8.477, allocations: 68.03 kB / 3.325 GB, free: 111.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/8.478, allocations: 0.8299 MB / 3.326 GB, free: 111.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/8.478, allocations: 0 / 3.326 GB, free: 111.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-05/8.478, allocations: 31.02 kB / 3.326 GB, free: 111.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-05/8.478, allocations: 46.8 kB / 3.326 GB, free: 111.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/8.48, allocations: 0.7241 MB / 3.327 GB, free: 111.8 MB / 0.698 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.005961/8.486, allocations: 4.595 MB / 3.331 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/8.487, allocations: 468.5 kB / 3.332 GB, free: 108.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/8.488, allocations: 0.7643 MB / 3.332 GB, free: 107.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/8.488, allocations: 38.08 kB / 3.332 GB, free: 107.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=40): time 3.897e-06/8.488, allocations: 0 / 3.332 GB, free: 107.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=40): time 0.001429/8.489, allocations: 0.6117 MB / 3.333 GB, free: 107.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/8.489, allocations: 61.03 kB / 3.333 GB, free: 107.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/8.49, allocations: 0.7759 MB / 3.334 GB, free: 107.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.452e-05/8.49, allocations: 35.89 kB / 3.334 GB, free: 107.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/8.491, allocations: 389.2 kB / 3.334 GB, free: 107.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/8.491, allocations: 133.5 kB / 3.334 GB, free: 107.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/8.491, allocations: 10.91 kB / 3.334 GB, free: 107.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.911e-05/8.491, allocations: 330.4 kB / 3.335 GB, free: 106.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/8.491, allocations: 189.6 kB / 3.335 GB, free: 106.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/8.492, allocations: 285.7 kB / 3.335 GB, free: 106.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003632/8.492, allocations: 223.1 kB / 3.335 GB, free: 106.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/8.492, allocations: 0 / 3.335 GB, free: 106.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001035/8.493, allocations: 0.5937 MB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/8.493, allocations: 6.875 kB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/8.493, allocations: 3.719 kB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/8.493, allocations: 3.594 kB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/8.494, allocations: 106.8 kB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/8.494, allocations: 10.47 kB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/8.495, allocations: 108.8 kB / 3.336 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.742e-05/8.495, allocations: 33.19 kB / 3.336 GB, free: 106.7 MB / 0.698 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 () * Number of clocked 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.0003851/8.495, allocations: 239.2 kB / 3.336 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/8.495, allocations: 82.75 kB / 3.337 GB, free: 106.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/8.496, allocations: 0.554 MB / 3.337 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/8.496, allocations: 6.969 kB / 3.337 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/8.496, allocations: 7.891 kB / 3.337 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/8.496, allocations: 3.844 kB / 3.337 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003597/8.5, allocations: 2.065 MB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/8.5, allocations: 7.531 kB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/8.501, allocations: 92.09 kB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/8.501, allocations: 15.58 kB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.154e-05/8.501, allocations: 15 kB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.51e-05/8.501, allocations: 16.53 kB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/8.501, allocations: 11 kB / 3.339 GB, free: 105.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/8.502, allocations: 1.293 MB / 3.341 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000549/8.503, allocations: 227.5 kB / 3.341 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002248/8.503, allocations: 15.69 kB / 3.341 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007939/8.504, allocations: 56.95 kB / 3.341 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001129/8.504, allocations: 43.77 kB / 3.341 GB, free: 104.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/8.504, allocations: 22.59 kB / 3.341 GB, free: 104.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008085/8.505, allocations: 0.6302 MB / 3.341 GB, free: 104.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/8.505, allocations: 0 / 3.341 GB, free: 104.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001975/8.507, allocations: 450.6 kB / 3.342 GB, free: 104.7 MB / 0.698 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 () * Number of clocked 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.004453/8.511, allocations: 2.061 MB / 3.344 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001501/8.513, allocations: 444.8 kB / 3.344 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/8.513, allocations: 0 / 3.344 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000662/8.513, allocations: 237.5 kB / 3.345 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/8.517, allocations: 479.9 kB / 3.345 GB, free: 104 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/8.521, allocations: 1.806 MB / 3.347 GB, free: 103 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/8.522, allocations: 1.023 MB / 3.348 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001148/8.523, allocations: 185.3 kB / 3.348 GB, free: 102.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/8.524, allocations: 65.22 kB / 3.348 GB, free: 102.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.033e-06/8.524, allocations: 2.734 kB / 3.348 GB, free: 102.3 MB / 0.698 GB Notification: Performance of Templates: time 0.06487/8.588, allocations: 39.55 MB / 3.387 GB, free: 100.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.DoorOpenClosed.pipe 2>&1)