Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.681/1.681, allocations: 289.7 MB / 302.2 MB, free: 2.137 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.00101/0.00101, allocations: 183.2 kB / 371.6 MB, free: 3.387 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.603/1.603, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009659/0.000966, allocations: 91.02 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.646e-05, allocations: 0 / 0.8662 GB, free: 15.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3123, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.198/2.51, allocations: 444 MB / 1.413 GB, free: 253 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/2.511, allocations: 98.75 kB / 1.414 GB, free: 253 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.224/5.735, allocations: 0.6933 GB / 2.107 GB, free: 138.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.274e-06/5.735, allocations: 2.438 kB / 2.107 GB, free: 138.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002365/5.736, allocations: 37.47 kB / 2.107 GB, free: 138.8 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.006595/5.742, allocations: 1.71 MB / 2.109 GB, free: 138.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/5.742, allocations: 9.719 kB / 2.109 GB, free: 138.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002433/5.745, allocations: 347.2 kB / 2.109 GB, free: 138.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02525/5.77, allocations: 8.552 MB / 2.117 GB, free: 137.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/5.77, allocations: 68.72 kB / 2.117 GB, free: 137.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/5.77, allocations: 89.92 kB / 2.117 GB, free: 137.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/5.773, allocations: 0.9643 MB / 2.118 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/5.773, allocations: 5.812 kB / 2.118 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/5.773, allocations: 35.7 kB / 2.118 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/5.773, allocations: 19.75 kB / 2.118 GB, free: 137.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/5.775, allocations: 0.649 MB / 2.119 GB, free: 137.5 MB / 0.948 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.009842/5.784, allocations: 4.731 MB / 2.124 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009578/5.785, allocations: 433.2 kB / 2.124 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/5.786, allocations: 242.7 kB / 2.124 GB, free: 135.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003344/5.789, allocations: 1.687 MB / 2.126 GB, free: 134.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006898/5.79, allocations: 377.4 kB / 2.126 GB, free: 134.1 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007243/5.791, allocations: 85.81 kB / 2.126 GB, free: 134.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.477e-06/5.791, allocations: 1 kB / 2.126 GB, free: 134.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.001538/5.792, allocations: 0.6793 MB / 2.127 GB, free: 133.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/5.792, allocations: 114.8 kB / 2.127 GB, free: 133.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/5.794, allocations: 1.092 MB / 2.128 GB, free: 133.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.03e-05/5.794, allocations: 37.95 kB / 2.128 GB, free: 133.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/5.795, allocations: 0.6549 MB / 2.129 GB, free: 133.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/5.795, allocations: 152.6 kB / 2.129 GB, free: 133.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/5.795, allocations: 15.25 kB / 2.129 GB, free: 133.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001016/5.795, allocations: 327.8 kB / 2.129 GB, free: 133 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/5.796, allocations: 210.4 kB / 2.13 GB, free: 133 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004976/5.796, allocations: 488.9 kB / 2.13 GB, free: 132.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/5.797, allocations: 305.5 kB / 2.13 GB, free: 132.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/5.797, allocations: 3.656 kB / 2.13 GB, free: 132.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001486/5.798, allocations: 0.8961 MB / 2.131 GB, free: 132.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007195/5.799, allocations: 2.785 MB / 2.134 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/5.799, allocations: 5.719 kB / 2.134 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004213/5.799, allocations: 92.05 kB / 2.134 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/5.8, allocations: 157.5 kB / 2.134 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006113/5.801, allocations: 1.13 MB / 2.135 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/5.802, allocations: 80.78 kB / 2.135 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/5.802, allocations: 47.78 kB / 2.135 GB, free: 128.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/5.802, allocations: 5.906 kB / 2.135 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/5.803, allocations: 0.7626 MB / 2.136 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/5.803, allocations: 5.969 kB / 2.136 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002477/5.804, allocations: 81.8 kB / 2.136 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/5.804, allocations: 152.7 kB / 2.136 GB, free: 128.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000509/5.805, allocations: 1.133 MB / 2.137 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/5.806, allocations: 78.47 kB / 2.138 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/5.806, allocations: 41.55 kB / 2.138 GB, free: 127.5 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,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete 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.0002769/5.806, allocations: 188.2 kB / 2.138 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/5.806, allocations: 132.9 kB / 2.138 GB, free: 127.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/5.808, allocations: 0.8973 MB / 2.139 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/5.808, allocations: 9.156 kB / 2.139 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/5.808, allocations: 2.688 kB / 2.139 GB, free: 127.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/5.808, allocations: 4.219 kB / 2.139 GB, free: 127.2 MB / 0.948 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.003596/5.812, allocations: 1.982 MB / 2.141 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/5.812, allocations: 4.844 kB / 2.141 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004611/5.812, allocations: 104.2 kB / 2.141 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/5.813, allocations: 72.25 kB / 2.141 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.515e-05/5.813, allocations: 26.94 kB / 2.141 GB, free: 126.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005602/5.813, allocations: 1.112 MB / 2.142 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/5.813, allocations: 7.016 kB / 2.142 GB, free: 125.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/5.815, allocations: 1.059 MB / 2.143 GB, free: 125.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007005/5.815, allocations: 302.2 kB / 2.143 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/5.816, allocations: 19.23 kB / 2.143 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/5.816, allocations: 83.05 kB / 2.143 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/5.817, allocations: 38.73 kB / 2.143 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.687e-05/5.817, allocations: 33.8 kB / 2.143 GB, free: 125 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001367/5.818, allocations: 0.8586 MB / 2.144 GB, free: 124.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.61e-07/5.818, allocations: 0 / 2.144 GB, free: 124.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002978/5.821, allocations: 0.7723 MB / 2.145 GB, free: 124.8 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * 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.00218/5.823, allocations: 1.016 MB / 2.146 GB, free: 124.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002173/5.825, allocations: 1.122 MB / 2.147 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/5.825, allocations: 0 / 2.147 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005278/5.826, allocations: 373.4 kB / 2.148 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/5.829, allocations: 0.6122 MB / 2.148 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003495/5.833, allocations: 1.65 MB / 2.15 GB, free: 123.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006699/5.833, allocations: 1.236 MB / 2.151 GB, free: 123.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002041/5.835, allocations: 429.3 kB / 2.151 GB, free: 123.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/5.836, allocations: 75.36 kB / 2.151 GB, free: 123.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.863e-06/5.836, allocations: 0 / 2.151 GB, free: 123.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06407/5.9, allocations: 35.19 MB / 2.186 GB, free: 122.2 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)