Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.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.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7786/0.7786, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001079, allocations: 189.3 kB / 187.3 MB, free: 11.88 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.474/1.474, allocations: 221.3 MB / 441.4 MB, free: 4.621 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.001008/0.001008, allocations: 96.59 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002066/0.002066, allocations: 272.6 kB / 0.5939 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.902e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4798, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.861/5.341, allocations: 1.895 GB / 2.66 GB, free: 112.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/5.341, allocations: 91.31 kB / 2.66 GB, free: 112.4 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 6.033/11.37, allocations: 1.667 GB / 4.327 GB, free: 77.76 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.022e-06/11.37, allocations: 0 / 4.327 GB, free: 77.76 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001527/11.37, allocations: 63.86 kB / 4.327 GB, free: 77.75 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 627 * Number of variables: 627 Notification: Performance of Generate backend data structure: time 0.01052/11.38, allocations: 3.242 MB / 4.33 GB, free: 76.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/11.38, allocations: 7.188 kB / 4.33 GB, free: 76.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005487/11.39, allocations: 0.8033 MB / 4.331 GB, free: 76.08 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003413/11.39, allocations: 1.658 MB / 4.332 GB, free: 75.58 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/11.39, allocations: 195.8 kB / 4.333 GB, free: 75.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/11.39, allocations: 252.3 kB / 4.333 GB, free: 75.56 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/11.4, allocations: 2.96 MB / 4.336 GB, free: 75.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.596e-05/11.4, allocations: 11.19 kB / 4.336 GB, free: 75.23 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/11.4, allocations: 103.5 kB / 4.336 GB, free: 75.23 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.976e-05/11.4, allocations: 119.8 kB / 4.336 GB, free: 75.21 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004316/11.4, allocations: 2.652 MB / 4.338 GB, free: 75.05 MB / 0.7605 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.01324/11.42, allocations: 12.37 MB / 4.351 GB, free: 64.62 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/11.42, allocations: 2.062 MB / 4.353 GB, free: 62.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/11.42, allocations: 1.213 MB / 4.354 GB, free: 61.29 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009532/11.42, allocations: 1.373 MB / 4.355 GB, free: 59.63 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/11.42, allocations: 56.56 kB / 4.355 GB, free: 59.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=197): time 3.847e-06/11.42, allocations: 0 / 4.355 GB, free: 59.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197): time 0.003172/11.42, allocations: 1.985 MB / 4.357 GB, free: 57.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/11.42, allocations: 76.19 kB / 4.357 GB, free: 57.49 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/11.43, allocations: 1.111 MB / 4.358 GB, free: 56.37 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001447/11.43, allocations: 65.7 kB / 4.358 GB, free: 56.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/11.43, allocations: 0.9557 MB / 4.359 GB, free: 55.33 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/11.43, allocations: 0.6775 MB / 4.36 GB, free: 54.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.763e-05/11.43, allocations: 36 kB / 4.36 GB, free: 54.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.563e-05/11.43, allocations: 376.8 kB / 4.36 GB, free: 54.24 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/11.43, allocations: 0.742 MB / 4.361 GB, free: 53.5 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/11.43, allocations: 1.004 MB / 4.362 GB, free: 52.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/11.43, allocations: 0.9009 MB / 4.363 GB, free: 51.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/11.43, allocations: 2.875 kB / 4.363 GB, free: 51.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.002962/11.43, allocations: 2.1 MB / 4.365 GB, free: 49.42 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/11.43, allocations: 10.56 kB / 4.365 GB, free: 49.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/11.43, allocations: 4 kB / 4.365 GB, free: 49.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/11.43, allocations: 8 kB / 4.365 GB, free: 49.4 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/11.44, allocations: 379.5 kB / 4.365 GB, free: 49.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/11.44, allocations: 11.94 kB / 4.365 GB, free: 49.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002408/11.44, allocations: 295.5 kB / 4.366 GB, free: 48.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/11.44, allocations: 59.98 kB / 4.366 GB, free: 48.69 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 219 * 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.000299/11.44, allocations: 213.2 kB / 4.366 GB, free: 48.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/11.44, allocations: 201.3 kB / 4.366 GB, free: 48.28 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/11.44, allocations: 2.202 MB / 4.368 GB, free: 46.07 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/11.44, allocations: 20 kB / 4.368 GB, free: 46.05 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/11.44, allocations: 3.719 kB / 4.368 GB, free: 46.05 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002306/11.44, allocations: 1.815 MB / 4.37 GB, free: 44.22 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009117/11.45, allocations: 5.041 MB / 4.375 GB, free: 39.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/11.45, allocations: 3.938 kB / 4.375 GB, free: 39.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/11.46, allocations: 442.4 kB / 4.375 GB, free: 38.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.082e-05/11.46, allocations: 8 kB / 4.375 GB, free: 38.63 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/11.46, allocations: 51.98 kB / 4.375 GB, free: 38.58 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/11.46, allocations: 15.94 kB / 4.375 GB, free: 38.56 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/11.46, allocations: 7.938 kB / 4.375 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004727/11.46, allocations: 3.634 MB / 4.379 GB, free: 34.81 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/11.46, allocations: 0.5022 MB / 4.379 GB, free: 34.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006638/11.46, allocations: 43.98 kB / 4.38 GB, free: 34.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/11.47, allocations: 208 kB / 4.38 GB, free: 34.05 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/11.47, allocations: 129.8 kB / 4.38 GB, free: 33.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/11.47, allocations: 63.97 kB / 4.38 GB, free: 33.87 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001692/11.47, allocations: 0.8752 MB / 4.381 GB, free: 32.99 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/11.47, allocations: 0 / 4.381 GB, free: 32.99 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.004155/11.47, allocations: 1.228 MB / 4.382 GB, free: 31.76 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 16 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (201): * Single equations (assignments): 201 * 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.005838/11.48, allocations: 4.212 MB / 4.386 GB, free: 27.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00318/11.48, allocations: 1.911 MB / 4.388 GB, free: 25.36 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/11.48, allocations: 0.6875 kB / 4.388 GB, free: 25.36 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001432/11.48, allocations: 1.046 MB / 4.389 GB, free: 24.32 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006484/11.49, allocations: 1.177 MB / 4.39 GB, free: 23.17 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007973/11.5, allocations: 4.461 MB / 4.394 GB, free: 18.71 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/11.5, allocations: 1.867 MB / 4.396 GB, free: 16.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.00332/11.5, allocations: 0.6198 MB / 4.397 GB, free: 16.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008049/11.5, allocations: 191.4 kB / 4.397 GB, free: 16.02 MB / 0.7605 GB Notification: Performance of SimCode: time 1.113e-06/11.5, allocations: 0 / 4.397 GB, free: 16.02 MB / 0.7605 GB Notification: Performance of Templates: time 0.6676/12.17, allocations: 92.49 MB / 4.487 GB, free: 93.54 MB / 0.7761 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)