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 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.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.82/0.82, allocations: 140.1 MB / 156 MB, free: 5.176 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.00111/0.00111, allocations: 178.8 kB / 188.5 MB, free: 15.82 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.898/1.898, allocations: 205.4 MB / 426.3 MB, free: 8.441 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.001055/0.001054, allocations: 94.34 kB / 0.4945 GB, free: 8.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001976/0.001976, allocations: 276.5 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005909/0.000591, allocations: 16 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5262, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.727/6.253, allocations: 2.059 GB / 2.798 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/6.254, allocations: 97.25 kB / 2.798 GB, free: 230.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 6.038/12.29, allocations: 1.644 GB / 4.442 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.945e-06/12.29, allocations: 7.031 kB / 4.442 GB, free: 66.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003576/12.29, allocations: 63.52 kB / 4.442 GB, free: 66.83 MB / 0.7448 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.01806/12.31, allocations: 3.546 MB / 4.445 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/12.31, allocations: 10.53 kB / 4.445 GB, free: 65.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/12.32, allocations: 0.7947 MB / 4.446 GB, free: 65.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006114/12.32, allocations: 1.733 MB / 4.448 GB, free: 64.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/12.32, allocations: 186.6 kB / 4.448 GB, free: 64.94 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001324/12.33, allocations: 255.2 kB / 4.448 GB, free: 64.93 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00998/12.34, allocations: 3.046 MB / 4.451 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/12.34, allocations: 6.281 kB / 4.451 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009156/12.34, allocations: 107.8 kB / 4.451 GB, free: 64.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002238/12.34, allocations: 117 kB / 4.451 GB, free: 64.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007413/12.34, allocations: 2.726 MB / 4.454 GB, free: 64.57 MB / 0.7448 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.01763/12.36, allocations: 12.39 MB / 4.466 GB, free: 57.46 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002935/12.37, allocations: 2.081 MB / 4.468 GB, free: 57.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001788/12.37, allocations: 1.228 MB / 4.469 GB, free: 57.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/12.37, allocations: 1.386 MB / 4.471 GB, free: 55.53 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/12.37, allocations: 53.31 kB / 4.471 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 5.721e-06/12.37, allocations: 0 / 4.471 GB, free: 55.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.00518/12.37, allocations: 2.799 MB / 4.474 GB, free: 55.3 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/12.37, allocations: 72.16 kB / 4.474 GB, free: 55.24 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/12.38, allocations: 1.303 MB / 4.475 GB, free: 55.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002207/12.38, allocations: 64.45 kB / 4.475 GB, free: 55.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/12.38, allocations: 0.9496 MB / 4.476 GB, free: 54.67 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007611/12.38, allocations: 0.6795 MB / 4.477 GB, free: 54.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/12.38, allocations: 30 kB / 4.477 GB, free: 54.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001497/12.38, allocations: 371.4 kB / 4.477 GB, free: 53.92 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/12.38, allocations: 0.7699 MB / 4.478 GB, free: 53.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001317/12.38, allocations: 1.023 MB / 4.479 GB, free: 53.71 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/12.38, allocations: 1.857 MB / 4.481 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/12.38, allocations: 5.719 kB / 4.481 GB, free: 53.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003847/12.39, allocations: 2.142 MB / 4.483 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/12.39, allocations: 6.812 kB / 4.483 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/12.39, allocations: 3.625 kB / 4.483 GB, free: 53.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/12.39, allocations: 17.03 kB / 4.483 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/12.39, allocations: 377.9 kB / 4.483 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/12.39, allocations: 11.31 kB / 4.483 GB, free: 53.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/12.39, allocations: 295.1 kB / 4.483 GB, free: 53.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/12.39, allocations: 62.89 kB / 4.483 GB, free: 53.32 MB / 0.7448 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 () * Number of clocked 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.001779/12.39, allocations: 0.5956 MB / 4.484 GB, free: 53.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/12.39, allocations: 195.2 kB / 4.484 GB, free: 53.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/12.4, allocations: 2.248 MB / 4.486 GB, free: 52.99 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/12.4, allocations: 20.16 kB / 4.486 GB, free: 52.99 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/12.4, allocations: 1.812 kB / 4.486 GB, free: 52.99 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002684/12.4, allocations: 1.856 MB / 4.488 GB, free: 52.88 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009508/12.41, allocations: 5.074 MB / 4.493 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/12.41, allocations: 3.438 kB / 4.493 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/12.41, allocations: 440.4 kB / 4.494 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.068e-05/12.41, allocations: 14.75 kB / 4.494 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/12.41, allocations: 54.02 kB / 4.494 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.611e-05/12.41, allocations: 8.938 kB / 4.494 GB, free: 52.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/12.41, allocations: 10.41 kB / 4.494 GB, free: 52.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/12.42, allocations: 3.554 MB / 4.497 GB, free: 51.85 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002264/12.42, allocations: 0.5033 MB / 4.498 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004867/12.42, allocations: 41.53 kB / 4.498 GB, free: 51.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002178/12.42, allocations: 209.6 kB / 4.498 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002443/12.42, allocations: 130.9 kB / 4.498 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/12.42, allocations: 63.08 kB / 4.498 GB, free: 51.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001629/12.43, allocations: 0.8894 MB / 4.499 GB, free: 51.51 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.91e-07/12.43, allocations: 3.969 kB / 4.499 GB, free: 51.51 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005418/12.43, allocations: 1.228 MB / 4.5 GB, free: 51.39 MB / 0.7448 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 () * Number of clocked 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.009146/12.44, allocations: 4.225 MB / 4.504 GB, free: 49.43 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005175/12.45, allocations: 1.961 MB / 4.506 GB, free: 49.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/12.45, allocations: 0 / 4.506 GB, free: 49.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/12.45, allocations: 1.058 MB / 4.507 GB, free: 49.38 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008345/12.46, allocations: 1.184 MB / 4.508 GB, free: 49.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/12.47, allocations: 6.384 MB / 4.515 GB, free: 46.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003005/12.47, allocations: 1.825 MB / 4.516 GB, free: 46.12 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004439/12.48, allocations: 0.6263 MB / 4.517 GB, free: 46.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/12.48, allocations: 183 kB / 4.517 GB, free: 46.1 MB / 0.7448 GB Notification: Performance of SimCode: time 1.613e-06/12.48, allocations: 3.375 kB / 4.517 GB, free: 46.1 MB / 0.7448 GB Notification: Performance of Templates: time 0.1429/12.62, allocations: 84.33 MB / 4.599 GB, free: 20.8 MB / 0.7448 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)