Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam") translateModel(IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.01111/0.01111, allocations: 169.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8159/0.8159, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 223.2 MB / 406.9 MB, free: 3.191 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.001182/0.001182, allocations: 104.3 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003688/0.0003689, allocations: 15.94 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5144, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.876/5.39, allocations: 1.898 GB / 2.548 GB, free: 39.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/5.39, allocations: 102.2 kB / 2.548 GB, free: 39.14 MB / 0.6823 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.87/12.26, allocations: 1.67 GB / 4.218 GB, free: 60.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.459e-06/12.26, allocations: 0 / 4.218 GB, free: 60.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002969/12.26, allocations: 69.61 kB / 4.218 GB, free: 60.68 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.28, allocations: 3.582 MB / 4.221 GB, free: 59.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.491e-05/12.28, allocations: 10.19 kB / 4.221 GB, free: 59.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007717/12.29, allocations: 0.7918 MB / 4.222 GB, free: 59.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006365/12.29, allocations: 1.704 MB / 4.224 GB, free: 59.2 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001774/12.29, allocations: 185.7 kB / 4.224 GB, free: 59.19 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00056/12.29, allocations: 253.2 kB / 4.224 GB, free: 59.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006233/12.3, allocations: 3.024 MB / 4.227 GB, free: 58.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.173e-05/12.3, allocations: 5.656 kB / 4.227 GB, free: 58.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/12.3, allocations: 100.9 kB / 4.227 GB, free: 58.86 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/12.3, allocations: 113 kB / 4.227 GB, free: 58.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005028/12.31, allocations: 2.727 MB / 4.23 GB, free: 58.82 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.01786/12.32, allocations: 12.37 MB / 4.242 GB, free: 51.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/12.33, allocations: 2.09 MB / 4.244 GB, free: 51.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/12.33, allocations: 1.377 MB / 4.245 GB, free: 49.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/12.33, allocations: 58.22 kB / 4.245 GB, free: 49.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=197): time 5.901e-06/12.33, allocations: 3.125 kB / 4.245 GB, free: 49.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=197): time 0.005544/12.33, allocations: 2.791 MB / 4.248 GB, free: 49.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/12.33, allocations: 72.41 kB / 4.248 GB, free: 49.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/12.34, allocations: 1.144 MB / 4.249 GB, free: 49.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002412/12.34, allocations: 62.7 kB / 4.249 GB, free: 49.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007631/12.34, allocations: 0.9625 MB / 4.25 GB, free: 49.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007323/12.34, allocations: 0.6777 MB / 4.251 GB, free: 48.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.937e-05/12.34, allocations: 38.91 kB / 4.251 GB, free: 48.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001586/12.34, allocations: 384.5 kB / 4.251 GB, free: 48.25 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/12.34, allocations: 0.766 MB / 4.252 GB, free: 48.25 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/12.34, allocations: 1.017 MB / 4.253 GB, free: 48.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/12.34, allocations: 0.9146 MB / 4.254 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/12.34, allocations: 6.781 kB / 4.254 GB, free: 48.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004023/12.35, allocations: 2.131 MB / 4.256 GB, free: 47.85 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/12.35, allocations: 7.125 kB / 4.256 GB, free: 47.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/12.35, allocations: 3.625 kB / 4.256 GB, free: 47.85 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.988e-05/12.35, allocations: 10.78 kB / 4.256 GB, free: 47.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/12.35, allocations: 377.1 kB / 4.257 GB, free: 47.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/12.35, allocations: 10.88 kB / 4.257 GB, free: 47.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003238/12.35, allocations: 296 kB / 4.257 GB, free: 47.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/12.35, allocations: 62.53 kB / 4.257 GB, free: 47.77 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.001903/12.35, allocations: 0.6022 MB / 4.258 GB, free: 47.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006825/12.35, allocations: 192.2 kB / 4.258 GB, free: 47.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00404/12.36, allocations: 2.247 MB / 4.26 GB, free: 47.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/12.36, allocations: 19.78 kB / 4.26 GB, free: 47.44 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/12.36, allocations: 0 / 4.26 GB, free: 47.44 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002861/12.36, allocations: 1.859 MB / 4.262 GB, free: 47.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/12.37, allocations: 5.06 MB / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/12.37, allocations: 0 / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/12.37, allocations: 441.3 kB / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.091e-05/12.37, allocations: 15.16 kB / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/12.37, allocations: 49.16 kB / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/12.37, allocations: 13.62 kB / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/12.37, allocations: 3.719 kB / 4.267 GB, free: 46.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005926/12.38, allocations: 3.698 MB / 4.271 GB, free: 46.11 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002442/12.38, allocations: 0.5054 MB / 4.271 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006817/12.38, allocations: 45.95 kB / 4.271 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/12.39, allocations: 210.5 kB / 4.272 GB, free: 45.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/12.39, allocations: 116.8 kB / 4.272 GB, free: 45.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/12.39, allocations: 69.02 kB / 4.272 GB, free: 45.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00162/12.39, allocations: 0.895 MB / 4.273 GB, free: 45.76 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.21e-07/12.39, allocations: 1.406 kB / 4.273 GB, free: 45.76 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006266/12.39, allocations: 1.224 MB / 4.274 GB, free: 45.64 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.009264/12.4, allocations: 4.207 MB / 4.278 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00486/12.41, allocations: 1.953 MB / 4.28 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/12.41, allocations: 2.781 kB / 4.28 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/12.41, allocations: 1.053 MB / 4.281 GB, free: 43.68 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/12.42, allocations: 1.164 MB / 4.282 GB, free: 43.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/12.43, allocations: 6.394 MB / 4.288 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002597/12.43, allocations: 1.878 MB / 4.29 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00397/12.44, allocations: 0.6232 MB / 4.291 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/12.44, allocations: 184 kB / 4.291 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of SimCode: time 2.895e-06/12.44, allocations: 1.125 kB / 4.291 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of Templates: time 0.1339/12.57, allocations: 83.24 MB / 4.372 GB, free: 35.82 MB / 0.7448 GB make -j1 -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.makefile (rm -f IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; mkfifo IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe >> ../files/IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.sim & ./IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Airflow.Multizone.Validation.ThreeRoomsContam.pipe 2>&1)