Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.conf.json 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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.00104, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7572/0.7572, allocations: 130.7 MB / 138.7 MB, free: 3.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 221.5 MB / 391.8 MB, free: 14.16 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.0009435/0.0009435, allocations: 99.61 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.136e-05, allocations: 0 / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5763, allocations: 81.57 MB / 0.6282 GB, free: 42.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.679/5.255, allocations: 1.897 GB / 2.526 GB, free: 53.09 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/5.256, allocations: 88.56 kB / 2.526 GB, free: 53.01 MB / 0.6667 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 7.777/13.03, allocations: 1.651 GB / 4.177 GB, free: 71.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.238e-06/13.03, allocations: 4.953 kB / 4.177 GB, free: 71.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006458/13.03, allocations: 65.86 kB / 4.177 GB, free: 71.95 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.01832/13.05, allocations: 3.236 MB / 4.18 GB, free: 71.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/13.05, allocations: 10.22 kB / 4.18 GB, free: 71.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007797/13.06, allocations: 0.7965 MB / 4.181 GB, free: 70.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007068/13.07, allocations: 1.68 MB / 4.182 GB, free: 70.6 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/13.07, allocations: 78.16 kB / 4.182 GB, free: 70.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/13.07, allocations: 156.4 kB / 4.182 GB, free: 70.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008531/13.08, allocations: 2.336 MB / 4.185 GB, free: 70.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01094/13.09, allocations: 2.626 MB / 4.187 GB, free: 70.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/13.09, allocations: 11.64 kB / 4.187 GB, free: 70.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009833/13.09, allocations: 3.953 kB / 4.187 GB, free: 70.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001955/13.09, allocations: 119.9 kB / 4.187 GB, free: 70.26 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.02137/13.11, allocations: 12.12 MB / 4.199 GB, free: 63.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004191/13.11, allocations: 2.605 MB / 4.202 GB, free: 62.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/13.12, allocations: 1.185 MB / 4.203 GB, free: 62.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/13.12, allocations: 1.376 MB / 4.204 GB, free: 60.82 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.83e-05/13.12, allocations: 59.2 kB / 4.204 GB, free: 60.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 7.855e-06/13.12, allocations: 0 / 4.204 GB, free: 60.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.004947/13.12, allocations: 2.01 MB / 4.206 GB, free: 60.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/13.12, allocations: 69.88 kB / 4.206 GB, free: 60.55 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002188/13.13, allocations: 0.868 MB / 4.207 GB, free: 60.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002372/13.13, allocations: 25.7 kB / 4.207 GB, free: 60.38 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008059/13.13, allocations: 0.9701 MB / 4.208 GB, free: 60.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000789/13.13, allocations: 0.6469 MB / 4.209 GB, free: 59.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/13.13, allocations: 0 / 4.209 GB, free: 59.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001581/13.13, allocations: 367.5 kB / 4.209 GB, free: 59.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/13.13, allocations: 0.7704 MB / 4.21 GB, free: 59.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/13.13, allocations: 0.9983 MB / 4.211 GB, free: 59.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/13.13, allocations: 0.9453 MB / 4.212 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/13.13, allocations: 2.906 kB / 4.212 GB, free: 59.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004128/13.14, allocations: 2.096 MB / 4.214 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/13.14, allocations: 6.719 kB / 4.214 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/13.14, allocations: 0 / 4.214 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.646e-05/13.14, allocations: 14.59 kB / 4.214 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/13.14, allocations: 395.7 kB / 4.214 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.974e-05/13.14, allocations: 12.69 kB / 4.214 GB, free: 58.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003126/13.14, allocations: 242.4 kB / 4.215 GB, free: 58.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002502/13.14, allocations: 67.8 kB / 4.215 GB, free: 58.81 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.0004104/13.14, allocations: 131.3 kB / 4.215 GB, free: 58.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008678/13.14, allocations: 181.2 kB / 4.215 GB, free: 58.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004611/13.15, allocations: 2.177 MB / 4.217 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/13.15, allocations: 17.44 kB / 4.217 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/13.15, allocations: 3.562 kB / 4.217 GB, free: 58.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003109/13.15, allocations: 1.84 MB / 4.219 GB, free: 58.39 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.01116/13.16, allocations: 5.097 MB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/13.16, allocations: 3.938 kB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002222/13.16, allocations: 459.1 kB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.454e-05/13.16, allocations: 10.84 kB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/13.16, allocations: 35.36 kB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/13.16, allocations: 10.69 kB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/13.16, allocations: 2.688 kB / 4.224 GB, free: 57.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005943/13.17, allocations: 3.693 MB / 4.228 GB, free: 56.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001922/13.17, allocations: 0.4966 MB / 4.228 GB, free: 56.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007155/13.17, allocations: 15.5 kB / 4.228 GB, free: 56.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00276/13.18, allocations: 189.7 kB / 4.229 GB, free: 56.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/13.18, allocations: 116.3 kB / 4.229 GB, free: 56.75 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/13.18, allocations: 71.59 kB / 4.229 GB, free: 56.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001481/13.18, allocations: 0.6603 MB / 4.229 GB, free: 56.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.3e-07/13.18, allocations: 2.156 kB / 4.229 GB, free: 56.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0045/13.18, allocations: 1.067 MB / 4.23 GB, free: 56.51 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.008743/13.19, allocations: 4.599 MB / 4.235 GB, free: 54.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.004133/13.2, allocations: 1.933 MB / 4.237 GB, free: 54.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/13.2, allocations: 0 / 4.237 GB, free: 54.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/13.2, allocations: 1.053 MB / 4.238 GB, free: 54.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006642/13.2, allocations: 0.9952 MB / 4.239 GB, free: 54.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/13.22, allocations: 4.414 MB / 4.243 GB, free: 53.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/13.22, allocations: 1.881 MB / 4.245 GB, free: 52.76 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004033/13.22, allocations: 0.6105 MB / 4.246 GB, free: 52.74 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/13.22, allocations: 186.5 kB / 4.246 GB, free: 52.74 MB / 0.7448 GB Notification: Performance of SimCode: time 2.314e-06/13.22, allocations: 1.781 kB / 4.246 GB, free: 52.74 MB / 0.7448 GB Notification: Performance of Templates: time 0.1047/13.33, allocations: 56.87 MB / 4.301 GB, free: 49.06 MB / 0.7448 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)