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.8364/0.8364, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001134/0.001134, 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.573/1.573, allocations: 221.5 MB / 436.4 MB, free: 13.28 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.0009901/0.0009899, allocations: 76.12 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001796/0.001796, allocations: 275 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.563e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4764, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.56/5.036, allocations: 1.895 GB / 2.652 GB, free: 124.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/5.036, allocations: 91.02 kB / 2.652 GB, free: 124.2 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 5.688/10.72, allocations: 1.65 GB / 4.302 GB, free: 67.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.773e-06/10.72, allocations: 0 / 4.302 GB, free: 67.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001845/10.72, allocations: 65.33 kB / 4.302 GB, free: 67.84 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.01135/10.74, allocations: 3.244 MB / 4.305 GB, free: 66.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/10.74, allocations: 8.875 kB / 4.305 GB, free: 66.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006005/10.74, allocations: 0.7959 MB / 4.306 GB, free: 66.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003887/10.75, allocations: 1.66 MB / 4.307 GB, free: 65.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.673e-05/10.75, allocations: 78.06 kB / 4.307 GB, free: 65.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00042/10.75, allocations: 149.2 kB / 4.308 GB, free: 65.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003761/10.75, allocations: 2.347 MB / 4.31 GB, free: 65.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/10.75, allocations: 2.619 MB / 4.312 GB, free: 65.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/10.75, allocations: 8.656 kB / 4.312 GB, free: 65.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/10.75, allocations: 7.344 kB / 4.312 GB, free: 65.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/10.75, allocations: 113.6 kB / 4.313 GB, free: 65.33 MB / 0.7448 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.01229/10.77, allocations: 12.12 MB / 4.324 GB, free: 58.16 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002635/10.77, allocations: 2.603 MB / 4.327 GB, free: 57.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/10.77, allocations: 1.183 MB / 4.328 GB, free: 57.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000898/10.77, allocations: 1.38 MB / 4.329 GB, free: 55.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/10.77, allocations: 54.62 kB / 4.329 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 4.418e-06/10.77, allocations: 1.422 kB / 4.329 GB, free: 55.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.003382/10.78, allocations: 2.003 MB / 4.331 GB, free: 55.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/10.78, allocations: 71.69 kB / 4.331 GB, free: 55.38 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/10.78, allocations: 0.858 MB / 4.332 GB, free: 55.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001385/10.78, allocations: 31.83 kB / 4.332 GB, free: 55.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004611/10.78, allocations: 0.9545 MB / 4.333 GB, free: 54.79 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004681/10.78, allocations: 0.6481 MB / 4.334 GB, free: 54.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/10.78, allocations: 0 / 4.334 GB, free: 54.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/10.78, allocations: 383 kB / 4.334 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009285/10.78, allocations: 0.7633 MB / 4.335 GB, free: 54.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/10.78, allocations: 1.002 MB / 4.336 GB, free: 53.83 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/10.78, allocations: 0.9416 MB / 4.337 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/10.78, allocations: 3.25 kB / 4.337 GB, free: 53.74 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.003255/10.78, allocations: 2.096 MB / 4.339 GB, free: 52.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/10.78, allocations: 6.906 kB / 4.339 GB, free: 52.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/10.78, allocations: 3.688 kB / 4.339 GB, free: 52.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/10.78, allocations: 12.38 kB / 4.339 GB, free: 52.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001631/10.79, allocations: 394.5 kB / 4.339 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/10.79, allocations: 10.81 kB / 4.339 GB, free: 52.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/10.79, allocations: 243.3 kB / 4.34 GB, free: 52.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/10.79, allocations: 67.27 kB / 4.34 GB, free: 52.85 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 () * 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.0002987/10.79, allocations: 142.3 kB / 4.34 GB, free: 52.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/10.79, allocations: 177.8 kB / 4.34 GB, free: 52.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/10.79, allocations: 2.172 MB / 4.342 GB, free: 51.81 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/10.79, allocations: 18.38 kB / 4.342 GB, free: 51.81 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/10.79, allocations: 0 / 4.342 GB, free: 51.81 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002368/10.8, allocations: 1.845 MB / 4.344 GB, free: 51.13 MB / 0.7448 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 postOpt removeSimpleEquations (simulation): time 0.007822/10.8, allocations: 5.093 MB / 4.349 GB, free: 48.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/10.8, allocations: 3.5 kB / 4.349 GB, free: 48.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/10.81, allocations: 458.7 kB / 4.349 GB, free: 48.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/10.81, allocations: 10.25 kB / 4.349 GB, free: 48.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/10.81, allocations: 32.03 kB / 4.349 GB, free: 48.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.126e-05/10.81, allocations: 10.66 kB / 4.349 GB, free: 48.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/10.81, allocations: 7.094 kB / 4.349 GB, free: 48.74 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/10.81, allocations: 3.694 MB / 4.353 GB, free: 45.62 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/10.81, allocations: 0.4953 MB / 4.353 GB, free: 45.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003005/10.81, allocations: 11.61 kB / 4.353 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/10.81, allocations: 184.2 kB / 4.354 GB, free: 45.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/10.81, allocations: 124.8 kB / 4.354 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/10.81, allocations: 74.58 kB / 4.354 GB, free: 44.91 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000896/10.81, allocations: 0.6555 MB / 4.355 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/10.81, allocations: 0 / 4.355 GB, free: 44.31 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002924/10.82, allocations: 1.069 MB / 4.356 GB, free: 43.26 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 () * 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.00547/10.82, allocations: 4.593 MB / 4.36 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002656/10.83, allocations: 1.935 MB / 4.362 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/10.83, allocations: 0 / 4.362 GB, free: 37.61 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001145/10.83, allocations: 1.051 MB / 4.363 GB, free: 36.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00493/10.83, allocations: 0.9895 MB / 4.364 GB, free: 35.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006472/10.84, allocations: 4.414 MB / 4.368 GB, free: 32.03 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/10.84, allocations: 1.873 MB / 4.37 GB, free: 30.53 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002463/10.84, allocations: 0.6128 MB / 4.371 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/10.84, allocations: 182.7 kB / 4.371 GB, free: 29.92 MB / 0.7448 GB Notification: Performance of SimCode: time 8.32e-07/10.84, allocations: 3.938 kB / 4.371 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.5268/11.37, allocations: 56.91 MB / 4.426 GB, free: 87.74 MB / 0.7605 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)