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.9166/0.9166, allocations: 143.4 MB / 158.3 MB, free: 5.773 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.001588/0.001588, allocations: 185 kB / 191.5 MB, free: 5.738 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.688/1.688, allocations: 223.2 MB / 447.7 MB, free: 4.793 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.001109/0.001109, allocations: 92.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 271.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004679, allocations: 11.75 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2064, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.478/4.685, allocations: 1.895 GB / 2.669 GB, free: 132 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/4.685, allocations: 99.31 kB / 2.669 GB, free: 131.9 MB / 0.7136 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.381/11.07, allocations: 1.669 GB / 4.338 GB, free: 64.64 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.645e-06/11.07, allocations: 0 / 4.338 GB, free: 64.64 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002673/11.07, allocations: 62.95 kB / 4.338 GB, free: 64.63 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.01972/11.09, allocations: 3.577 MB / 4.341 GB, free: 63.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.121e-05/11.09, allocations: 16.98 kB / 4.341 GB, free: 63.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008254/11.09, allocations: 0.798 MB / 4.342 GB, free: 63.08 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00674/11.1, allocations: 1.666 MB / 4.344 GB, free: 62.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/11.1, allocations: 191.6 kB / 4.344 GB, free: 62.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/11.1, allocations: 253.8 kB / 4.344 GB, free: 62.62 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00724/11.11, allocations: 3.016 MB / 4.347 GB, free: 62.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.478e-05/11.11, allocations: 15 kB / 4.347 GB, free: 62.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/11.11, allocations: 101.2 kB / 4.347 GB, free: 62.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/11.11, allocations: 114.4 kB / 4.347 GB, free: 62.29 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005546/11.12, allocations: 2.724 MB / 4.35 GB, free: 62.26 MB / 0.7605 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.02596/11.14, allocations: 12.37 MB / 4.362 GB, free: 55.15 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/11.15, allocations: 2.081 MB / 4.364 GB, free: 54.73 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001517/11.15, allocations: 1.382 MB / 4.365 GB, free: 53.23 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.856e-05/11.15, allocations: 55.34 kB / 4.365 GB, free: 53.2 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=197): time 9.087e-06/11.15, allocations: 1.719 kB / 4.365 GB, free: 53.2 MB / 0.7605 GB Notification: Performance of matching and sorting (n=197): time 0.008214/11.16, allocations: 2.795 MB / 4.368 GB, free: 53.02 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/11.16, allocations: 83.3 kB / 4.368 GB, free: 52.95 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003474/11.16, allocations: 1.127 MB / 4.369 GB, free: 52.8 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004425/11.16, allocations: 64.55 kB / 4.369 GB, free: 52.77 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/11.16, allocations: 0.9539 MB / 4.37 GB, free: 52.39 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/11.16, allocations: 0.6737 MB / 4.371 GB, free: 51.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001881/11.16, allocations: 33.81 kB / 4.371 GB, free: 51.95 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002268/11.16, allocations: 380 kB / 4.371 GB, free: 51.64 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/11.17, allocations: 0.7654 MB / 4.372 GB, free: 51.64 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/11.17, allocations: 1.016 MB / 4.373 GB, free: 51.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/11.17, allocations: 0.9142 MB / 4.374 GB, free: 51.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/11.17, allocations: 3.781 kB / 4.374 GB, free: 51.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004903/11.17, allocations: 2.133 MB / 4.376 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/11.17, allocations: 12.56 kB / 4.376 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/11.17, allocations: 3.469 kB / 4.376 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.89e-05/11.17, allocations: 10.78 kB / 4.376 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/11.18, allocations: 376.9 kB / 4.376 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.085e-05/11.18, allocations: 11.28 kB / 4.376 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/11.18, allocations: 292.7 kB / 4.377 GB, free: 51.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/11.18, allocations: 69.33 kB / 4.377 GB, free: 51.16 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 () * 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.002356/11.18, allocations: 0.5962 MB / 4.377 GB, free: 51.04 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/11.18, allocations: 199.2 kB / 4.378 GB, free: 50.95 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00562/11.19, allocations: 2.237 MB / 4.38 GB, free: 50.82 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/11.19, allocations: 15.88 kB / 4.38 GB, free: 50.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/11.19, allocations: 7.188 kB / 4.38 GB, free: 50.82 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003335/11.19, allocations: 1.855 MB / 4.382 GB, free: 50.71 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/11.21, allocations: 5.073 MB / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/11.21, allocations: 1.906 kB / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/11.21, allocations: 441.1 kB / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.845e-05/11.21, allocations: 9.312 kB / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/11.21, allocations: 54.34 kB / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.819e-05/11.21, allocations: 10.88 kB / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/11.21, allocations: 0 / 4.387 GB, free: 50.08 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006761/11.22, allocations: 3.694 MB / 4.391 GB, free: 49.48 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002574/11.22, allocations: 0.5124 MB / 4.391 GB, free: 49.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008523/11.22, allocations: 37.78 kB / 4.391 GB, free: 49.26 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/11.22, allocations: 206.5 kB / 4.391 GB, free: 49.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/11.22, allocations: 117.8 kB / 4.391 GB, free: 49.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/11.22, allocations: 66.86 kB / 4.392 GB, free: 49.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002308/11.23, allocations: 0.8878 MB / 4.392 GB, free: 49.14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.9e-07/11.23, allocations: 1.875 kB / 4.392 GB, free: 49.14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006052/11.23, allocations: 1.221 MB / 4.394 GB, free: 49.02 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 () * 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.009123/11.24, allocations: 4.215 MB / 4.398 GB, free: 47.1 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005377/11.25, allocations: 1.95 MB / 4.4 GB, free: 47.05 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.628e-05/11.25, allocations: 6.625 kB / 4.4 GB, free: 47.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002447/11.25, allocations: 1.061 MB / 4.401 GB, free: 47.05 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007854/11.26, allocations: 1.156 MB / 4.402 GB, free: 47.02 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/11.27, allocations: 6.386 MB / 4.408 GB, free: 44.41 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003333/11.28, allocations: 1.871 MB / 4.41 GB, free: 43.63 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004788/11.28, allocations: 0.6249 MB / 4.41 GB, free: 43.54 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/11.28, allocations: 181.1 kB / 4.411 GB, free: 43.54 MB / 0.7605 GB Notification: Performance of SimCode: time 2.244e-06/11.28, allocations: 0 / 4.411 GB, free: 43.54 MB / 0.7605 GB Notification: Performance of Templates: time 0.1449/11.43, allocations: 83.26 MB / 4.492 GB, free: 11.81 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)