Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure") translateModel(BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=96,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8077/0.8077, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 179.2 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.803/1.803, allocations: 205.4 MB / 426.3 MB, free: 8.465 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000958/0.0009577, allocations: 93.5 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001988/0.001988, allocations: 275 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005867/0.0005872, allocations: 16 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4773, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.812/6.289, allocations: 2.047 GB / 2.787 GB, free: 243.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/6.289, allocations: 87.27 kB / 2.787 GB, free: 243.4 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4975:5-4976:59:writable] Error: Variable reference_p: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4977:5-4978:64:writable] Error: Variable reference_T: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4981:5-4982:66:writable] Error: Variable p_default: Internal error - Types.typeOfValue failed: fail() [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/package.mo:4983:5-4984:69:writable] Error: Variable T_default: Internal error - Types.typeOfValue failed: fail() Notification: Performance of FrontEnd - DAE generated: time 1.227/7.517, allocations: 455.1 MB / 3.231 GB, free: 56 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.108e-06/7.517, allocations: 3.938 kB / 3.231 GB, free: 55.99 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001176/7.517, allocations: 24 kB / 3.231 GB, free: 55.97 MB / 0.6823 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.005904/7.523, allocations: 1.633 MB / 3.233 GB, free: 54.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/7.523, allocations: 12.03 kB / 3.233 GB, free: 54.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009514/7.524, allocations: 163.4 kB / 3.233 GB, free: 54.11 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/7.525, allocations: 0.6612 MB / 3.234 GB, free: 53.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/7.526, allocations: 66.31 kB / 3.234 GB, free: 53.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/7.526, allocations: 88.36 kB / 3.234 GB, free: 53.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/7.528, allocations: 1.189 MB / 3.235 GB, free: 52.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/7.528, allocations: 3.938 kB / 3.235 GB, free: 52.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/7.528, allocations: 39.98 kB / 3.235 GB, free: 52.01 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.788e-05/7.528, allocations: 45.98 kB / 3.235 GB, free: 51.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/7.531, allocations: 1.475 MB / 3.237 GB, free: 50.49 MB / 0.6823 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.00509/7.536, allocations: 3.321 MB / 3.24 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/7.538, allocations: 1.515 MB / 3.241 GB, free: 45.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009026/7.538, allocations: 0.7449 MB / 3.242 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/7.54, allocations: 1.54 MB / 3.244 GB, free: 42.85 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009676/7.541, allocations: 0.7493 MB / 3.244 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=127): time 4.208e-06/7.541, allocations: 0 / 3.244 GB, free: 42.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=127): time 0.003051/7.544, allocations: 1.998 MB / 3.246 GB, free: 40.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/7.544, allocations: 90.11 kB / 3.246 GB, free: 39.96 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/7.545, allocations: 0.7739 MB / 3.247 GB, free: 39.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/7.545, allocations: 45.7 kB / 3.247 GB, free: 39.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/7.545, allocations: 357.4 kB / 3.248 GB, free: 38.77 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/7.545, allocations: 425.8 kB / 3.248 GB, free: 38.34 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/7.545, allocations: 24 kB / 3.248 GB, free: 38.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001516/7.546, allocations: 410.7 kB / 3.248 GB, free: 37.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007051/7.546, allocations: 0.5335 MB / 3.249 GB, free: 37.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007831/7.547, allocations: 0.6523 MB / 3.25 GB, free: 36.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/7.549, allocations: 1.297 MB / 3.251 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.106e-06/7.549, allocations: 7.922 kB / 3.251 GB, free: 35.37 MB / 0.6823 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002182/7.551, allocations: 1.544 MB / 3.252 GB, free: 33.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.358e-05/7.551, allocations: 43.03 kB / 3.252 GB, free: 33.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/7.551, allocations: 7.984 kB / 3.252 GB, free: 33.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/7.551, allocations: 4 kB / 3.252 GB, free: 33.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008719/7.552, allocations: 219.7 kB / 3.253 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/7.552, allocations: 4 kB / 3.253 GB, free: 33.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/7.553, allocations: 135 kB / 3.253 GB, free: 33.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/7.553, allocations: 44 kB / 3.253 GB, free: 33.36 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,$PRE.bouPre.nextEvent,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 136 * 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.0006055/7.554, allocations: 375.1 kB / 3.253 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001876/7.554, allocations: 102.8 kB / 3.253 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/7.557, allocations: 1.701 MB / 3.255 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/7.557, allocations: 12 kB / 3.255 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/7.557, allocations: 4 kB / 3.255 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/7.557, allocations: 7.984 kB / 3.255 GB, free: 31.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005699/7.562, allocations: 3.871 MB / 3.259 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/7.562, allocations: 4 kB / 3.259 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/7.563, allocations: 219.7 kB / 3.259 GB, free: 26.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.258e-05/7.563, allocations: 11.94 kB / 3.259 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/7.563, allocations: 43.98 kB / 3.259 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/7.563, allocations: 15.94 kB / 3.259 GB, free: 26.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/7.563, allocations: 12.41 kB / 3.259 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/7.567, allocations: 2.696 MB / 3.262 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/7.568, allocations: 343.4 kB / 3.262 GB, free: 23.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/7.568, allocations: 39.92 kB / 3.262 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009099/7.569, allocations: 63.95 kB / 3.262 GB, free: 23.51 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/7.569, allocations: 100.7 kB / 3.262 GB, free: 23.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/7.569, allocations: 59.98 kB / 3.262 GB, free: 23.35 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007371/7.57, allocations: 0.5498 MB / 3.263 GB, free: 22.81 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/7.57, allocations: 0 / 3.263 GB, free: 22.81 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001865/7.572, allocations: 0.5153 MB / 3.263 GB, free: 22.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouPre.a,bouPre.b,bouPre.last,bouPre.nextEvent,bouPre.nextEventScaled) * Number of discrete states: 6 (bouPre.nextEvent,bouPre.last,bouPre.nextEventScaled,bouPre.b,bouPre.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 125 * 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.002677/7.574, allocations: 1.614 MB / 3.265 GB, free: 20.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002049/7.576, allocations: 1.358 MB / 3.266 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/7.576, allocations: 0 / 3.266 GB, free: 19.23 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000911/7.577, allocations: 0.756 MB / 3.267 GB, free: 18.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/7.58, allocations: 412.4 kB / 3.267 GB, free: 18.06 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004096/7.585, allocations: 2.691 MB / 3.27 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007167/7.585, allocations: 1.11 MB / 3.271 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001467/7.587, allocations: 427.7 kB / 3.271 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003754/7.587, allocations: 87.42 kB / 3.271 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.734e-06/7.587, allocations: 0 / 3.271 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.3781/7.965, allocations: 34.79 MB / 3.305 GB, free: 135.1 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.OpenDoorPressure.pipe 2>&1)