Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.582/2.582, allocations: 287.5 MB / 303.2 MB, free: 8.203 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.001317/0.001317, allocations: 179.2 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.6305 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008765/0.0008763, allocations: 85.11 kB / 0.7438 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006226/0.0006228, allocations: 10.48 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2138, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.529, allocations: 443.1 MB / 1.412 GB, free: 3.418 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/1.53, allocations: 106.8 kB / 1.412 GB, free: 3.359 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.656/5.186, allocations: 0.689 GB / 2.101 GB, free: 79.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.855e-06/5.186, allocations: 0 / 2.101 GB, free: 79.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002549/5.186, allocations: 39.92 kB / 2.101 GB, free: 79.07 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.007166/5.193, allocations: 2.115 MB / 2.103 GB, free: 76.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/5.193, allocations: 8.031 kB / 2.103 GB, free: 76.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002787/5.196, allocations: 342.7 kB / 2.104 GB, free: 76.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02497/5.221, allocations: 7.92 MB / 2.111 GB, free: 68.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/5.221, allocations: 66.38 kB / 2.111 GB, free: 68.43 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/5.221, allocations: 88.38 kB / 2.111 GB, free: 68.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/5.224, allocations: 1.043 MB / 2.112 GB, free: 67.25 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.152e-05/5.225, allocations: 3.938 kB / 2.112 GB, free: 67.25 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/5.225, allocations: 32 kB / 2.112 GB, free: 67.22 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/5.225, allocations: 24 kB / 2.112 GB, free: 67.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/5.228, allocations: 0.7806 MB / 2.113 GB, free: 66.41 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.009088/5.237, allocations: 4.702 MB / 2.118 GB, free: 61.45 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/5.239, allocations: 0.5322 MB / 2.118 GB, free: 60.91 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/5.241, allocations: 297.6 kB / 2.119 GB, free: 60.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00329/5.244, allocations: 1.646 MB / 2.12 GB, free: 58.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001393/5.245, allocations: 438.9 kB / 2.121 GB, free: 58.34 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007457/5.246, allocations: 75.41 kB / 2.121 GB, free: 58.27 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 3.336e-06/5.246, allocations: 3.938 kB / 2.121 GB, free: 58.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.004929/5.251, allocations: 1.255 MB / 2.122 GB, free: 56.95 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/5.251, allocations: 106.8 kB / 2.122 GB, free: 56.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00228/5.253, allocations: 1.219 MB / 2.123 GB, free: 55.59 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001999/5.254, allocations: 41.7 kB / 2.123 GB, free: 55.55 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/5.254, allocations: 0.6532 MB / 2.124 GB, free: 54.89 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/5.255, allocations: 153.8 kB / 2.124 GB, free: 54.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.734e-05/5.255, allocations: 12 kB / 2.124 GB, free: 54.72 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/5.255, allocations: 333.9 kB / 2.124 GB, free: 54.39 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/5.256, allocations: 269.1 kB / 2.125 GB, free: 54.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/5.257, allocations: 0.5403 MB / 2.125 GB, free: 53.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002431/5.26, allocations: 0.8228 MB / 2.126 GB, free: 52.53 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/5.26, allocations: 0 / 2.126 GB, free: 52.53 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.003602/5.263, allocations: 1.012 MB / 2.127 GB, free: 51.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001925/5.264, allocations: 342.5 kB / 2.127 GB, free: 51.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/5.264, allocations: 4 kB / 2.127 GB, free: 51.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/5.264, allocations: 81.69 kB / 2.127 GB, free: 50.97 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/5.265, allocations: 163.7 kB / 2.128 GB, free: 50.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007024/5.266, allocations: 1.124 MB / 2.129 GB, free: 49.64 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/5.268, allocations: 88.05 kB / 2.129 GB, free: 49.55 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/5.268, allocations: 47.97 kB / 2.129 GB, free: 49.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/5.268, allocations: 4 kB / 2.129 GB, free: 49.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002919/5.271, allocations: 0.8775 MB / 2.13 GB, free: 48.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/5.271, allocations: 8 kB / 2.13 GB, free: 48.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004417/5.271, allocations: 81.72 kB / 2.13 GB, free: 48.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/5.272, allocations: 155.9 kB / 2.13 GB, free: 48.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006579/5.273, allocations: 1.128 MB / 2.131 GB, free: 47.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/5.275, allocations: 79.91 kB / 2.131 GB, free: 47.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/5.275, allocations: 43.98 kB / 2.131 GB, free: 47.06 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 () * 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.001125/5.276, allocations: 498.5 kB / 2.132 GB, free: 46.56 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/5.276, allocations: 138.3 kB / 2.132 GB, free: 46.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003735/5.28, allocations: 1.01 MB / 2.133 GB, free: 45.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.842e-05/5.28, allocations: 15.92 kB / 2.133 GB, free: 45.37 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/5.28, allocations: 0 / 2.133 GB, free: 45.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.517e-06/5.28, allocations: 0 / 2.133 GB, free: 45.37 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.005751/5.286, allocations: 2.086 MB / 2.135 GB, free: 43.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/5.286, allocations: 0 / 2.135 GB, free: 43.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/5.287, allocations: 104 kB / 2.135 GB, free: 43.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004693/5.287, allocations: 77.67 kB / 2.135 GB, free: 43.02 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.015e-05/5.287, allocations: 19.98 kB / 2.135 GB, free: 43 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006561/5.288, allocations: 1.116 MB / 2.136 GB, free: 41.83 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/5.288, allocations: 7.969 kB / 2.136 GB, free: 41.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/5.291, allocations: 1.106 MB / 2.137 GB, free: 40.67 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/5.292, allocations: 287.3 kB / 2.137 GB, free: 40.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/5.293, allocations: 20.06 kB / 2.137 GB, free: 40.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/5.294, allocations: 83.77 kB / 2.137 GB, free: 40.27 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/5.294, allocations: 39.89 kB / 2.138 GB, free: 40.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/5.294, allocations: 31.97 kB / 2.138 GB, free: 40.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001755/5.296, allocations: 0.8442 MB / 2.138 GB, free: 39.35 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.01e-07/5.296, allocations: 0 / 2.138 GB, free: 39.35 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003639/5.3, allocations: 0.7447 MB / 2.139 GB, free: 38.61 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) * 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.002254/5.302, allocations: 0.9627 MB / 2.14 GB, free: 37.65 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004301/5.306, allocations: 1.252 MB / 2.141 GB, free: 36.38 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/5.307, allocations: 0 / 2.141 GB, free: 36.38 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/5.308, allocations: 428.3 kB / 2.142 GB, free: 35.95 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/5.313, allocations: 0.6203 MB / 2.142 GB, free: 35.34 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/5.319, allocations: 2.66 MB / 2.145 GB, free: 32.63 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/5.32, allocations: 1.202 MB / 2.146 GB, free: 31.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002174/5.322, allocations: 302.8 kB / 2.146 GB, free: 31.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003313/5.322, allocations: 99.41 kB / 2.146 GB, free: 31 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/5.322, allocations: 0 / 2.146 GB, free: 31 MB / 0.948 GB Notification: Performance of Templates: time 0.07477/5.397, allocations: 30.43 MB / 2.176 GB, free: 0.8242 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)