Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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) 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 Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 293 MB / 309 MB, free: 4.832 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 168.6 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 0.6383 GB, free: 8.219 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007969/0.0007969, allocations: 94.56 kB / 0.7527 GB, free: 62.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2394, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.326/1.565, allocations: 444.3 MB / 1.424 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/1.565, allocations: 98.06 kB / 1.424 GB, free: 268.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.393/3.958, allocations: 0.689 GB / 2.113 GB, free: 145.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.705e-06/3.958, allocations: 1.031 kB / 2.113 GB, free: 145.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003441/3.958, allocations: 38.33 kB / 2.113 GB, free: 145.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.007214/3.966, allocations: 2.12 MB / 2.116 GB, free: 145.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/3.966, allocations: 10.03 kB / 2.116 GB, free: 145.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002058/3.968, allocations: 353.3 kB / 2.116 GB, free: 145.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02115/3.989, allocations: 7.901 MB / 2.124 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/3.989, allocations: 72.34 kB / 2.124 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003823/3.989, allocations: 87.22 kB / 2.124 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/3.992, allocations: 1.04 MB / 2.125 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/3.992, allocations: 9.938 kB / 2.125 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001461/3.993, allocations: 33.09 kB / 2.125 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/3.993, allocations: 19.59 kB / 2.125 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00202/3.995, allocations: 0.7841 MB / 2.126 GB, free: 144.3 MB / 0.948 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.007502/4.002, allocations: 4.688 MB / 2.13 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/4.003, allocations: 0.5249 MB / 2.131 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/4.004, allocations: 300.2 kB / 2.131 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002652/4.007, allocations: 1.653 MB / 2.133 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007986/4.008, allocations: 444.6 kB / 2.133 GB, free: 140.9 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007353/4.008, allocations: 79.48 kB / 2.133 GB, free: 140.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 5.911e-06/4.008, allocations: 0 / 2.133 GB, free: 140.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002932/4.011, allocations: 1.245 MB / 2.134 GB, free: 140.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/4.011, allocations: 112.6 kB / 2.134 GB, free: 140.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/4.014, allocations: 1.23 MB / 2.136 GB, free: 140.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.592e-05/4.014, allocations: 42.14 kB / 2.136 GB, free: 140.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000614/4.014, allocations: 0.6485 MB / 2.136 GB, free: 140.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/4.014, allocations: 158.6 kB / 2.136 GB, free: 140 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/4.015, allocations: 11.66 kB / 2.136 GB, free: 140 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.051e-05/4.015, allocations: 328.1 kB / 2.137 GB, free: 139.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006237/4.015, allocations: 273.4 kB / 2.137 GB, free: 139.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007476/4.016, allocations: 0.5385 MB / 2.138 GB, free: 139.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00138/4.017, allocations: 0.816 MB / 2.138 GB, free: 139.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/4.017, allocations: 3.219 kB / 2.138 GB, free: 139.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002125/4.02, allocations: 1.018 MB / 2.139 GB, free: 138.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/4.02, allocations: 332 kB / 2.14 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/4.02, allocations: 6.094 kB / 2.14 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000474/4.02, allocations: 86.7 kB / 2.14 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/4.021, allocations: 154.4 kB / 2.14 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000556/4.021, allocations: 1.133 MB / 2.141 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/4.023, allocations: 85.98 kB / 2.141 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/4.023, allocations: 51.91 kB / 2.141 GB, free: 137.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/4.023, allocations: 3.219 kB / 2.141 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001718/4.024, allocations: 0.8721 MB / 2.142 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/4.024, allocations: 6.688 kB / 2.142 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002717/4.025, allocations: 83.78 kB / 2.142 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/4.025, allocations: 157.4 kB / 2.142 GB, free: 137.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004898/4.026, allocations: 1.123 MB / 2.143 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/4.027, allocations: 77.78 kB / 2.143 GB, free: 136.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/4.027, allocations: 46.14 kB / 2.143 GB, free: 136.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009103/4.028, allocations: 0.4896 MB / 2.144 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/4.028, allocations: 135.8 kB / 2.144 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/4.03, allocations: 1.018 MB / 2.145 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/4.03, allocations: 9.672 kB / 2.145 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.974e-06/4.03, allocations: 0 / 2.145 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/4.03, allocations: 0 / 2.145 GB, free: 136 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.004018/4.034, allocations: 2.082 MB / 2.147 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/4.034, allocations: 2.719 kB / 2.147 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/4.035, allocations: 102.7 kB / 2.147 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/4.035, allocations: 86.41 kB / 2.147 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.752e-05/4.035, allocations: 21.03 kB / 2.147 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004755/4.036, allocations: 1.117 MB / 2.148 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/4.036, allocations: 3.938 kB / 2.148 GB, free: 134.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/4.038, allocations: 1.106 MB / 2.149 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006275/4.038, allocations: 299.1 kB / 2.15 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/4.039, allocations: 15.31 kB / 2.15 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008839/4.039, allocations: 77.02 kB / 2.15 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/4.04, allocations: 44.16 kB / 2.15 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-05/4.04, allocations: 38.97 kB / 2.15 GB, free: 133.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001402/4.041, allocations: 0.8353 MB / 2.151 GB, free: 133.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/4.041, allocations: 2.906 kB / 2.151 GB, free: 133.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003108/4.044, allocations: 0.7439 MB / 2.151 GB, free: 133.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00221/4.046, allocations: 0.9673 MB / 2.152 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002686/4.049, allocations: 1.239 MB / 2.154 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/4.049, allocations: 0 / 2.154 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007976/4.05, allocations: 434.3 kB / 2.154 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/4.053, allocations: 0.6216 MB / 2.155 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005574/4.059, allocations: 2.657 MB / 2.157 GB, free: 132 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/4.06, allocations: 1.208 MB / 2.158 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001723/4.062, allocations: 293.1 kB / 2.159 GB, free: 131.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002913/4.062, allocations: 103.2 kB / 2.159 GB, free: 131.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.074e-06/4.062, allocations: 0 / 2.159 GB, free: 131.3 MB / 0.948 GB Notification: Performance of Templates: time 0.05179/4.114, allocations: 30.77 MB / 2.189 GB, free: 130.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)