Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.628/1.628, allocations: 288.4 MB / 304.3 MB, free: 8.113 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.001062/0.001062, allocations: 184.5 kB / 373 MB, free: 10.16 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.576/1.576, allocations: 205.4 MB / 0.6317 GB, free: 9.922 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.0008574/0.0008568, allocations: 96.19 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004276, allocations: 15.22 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2299, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/1.204, allocations: 443.3 MB / 1.414 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.205, allocations: 101.2 kB / 1.414 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.027/3.231, allocations: 0.689 GB / 2.103 GB, free: 76.46 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.322e-06/3.232, allocations: 0 / 2.103 GB, free: 76.46 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000143/3.232, allocations: 35.98 kB / 2.103 GB, free: 76.43 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.003672/3.235, allocations: 2.122 MB / 2.105 GB, free: 74.24 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/3.235, allocations: 12.03 kB / 2.105 GB, free: 74.23 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/3.237, allocations: 346.7 kB / 2.105 GB, free: 73.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01401/3.251, allocations: 7.899 MB / 2.113 GB, free: 65.87 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.489e-05/3.251, allocations: 70.38 kB / 2.113 GB, free: 65.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/3.251, allocations: 92.38 kB / 2.113 GB, free: 65.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/3.253, allocations: 1.036 MB / 2.114 GB, free: 64.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/3.253, allocations: 7.875 kB / 2.114 GB, free: 64.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.144e-05/3.253, allocations: 36 kB / 2.114 GB, free: 64.58 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/3.253, allocations: 20 kB / 2.114 GB, free: 64.56 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/3.254, allocations: 0.7767 MB / 2.115 GB, free: 63.78 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.004812/3.259, allocations: 4.694 MB / 2.119 GB, free: 58.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/3.26, allocations: 0.5224 MB / 2.12 GB, free: 58.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/3.261, allocations: 301.6 kB / 2.12 GB, free: 57.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/3.263, allocations: 1.651 MB / 2.122 GB, free: 56.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007246/3.263, allocations: 445.3 kB / 2.122 GB, free: 55.7 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002694/3.264, allocations: 79.41 kB / 2.122 GB, free: 55.62 MB / 0.948 GB Notification: Performance of pre-optimization done (n=47): time 2.024e-06/3.264, allocations: 0 / 2.122 GB, free: 55.62 MB / 0.948 GB Notification: Performance of matching and sorting (n=47): time 0.002455/3.266, allocations: 1.242 MB / 2.124 GB, free: 54.33 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/3.266, allocations: 114.8 kB / 2.124 GB, free: 54.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/3.267, allocations: 1.219 MB / 2.125 GB, free: 52.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/3.267, allocations: 37.7 kB / 2.125 GB, free: 52.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/3.268, allocations: 0.6532 MB / 2.126 GB, free: 52.26 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/3.268, allocations: 153.8 kB / 2.126 GB, free: 52.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/3.268, allocations: 16 kB / 2.126 GB, free: 52.09 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.703e-05/3.268, allocations: 333.9 kB / 2.126 GB, free: 51.76 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005867/3.269, allocations: 269.1 kB / 2.126 GB, free: 51.49 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/3.269, allocations: 0.5405 MB / 2.127 GB, free: 50.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/3.271, allocations: 0.821 MB / 2.128 GB, free: 49.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/3.271, allocations: 0 / 2.128 GB, free: 49.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001749/3.272, allocations: 1.02 MB / 2.129 GB, free: 48.86 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/3.272, allocations: 339 kB / 2.129 GB, free: 48.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/3.272, allocations: 8 kB / 2.129 GB, free: 48.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/3.273, allocations: 85.67 kB / 2.129 GB, free: 48.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/3.273, allocations: 155.8 kB / 2.129 GB, free: 48.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004207/3.274, allocations: 1.136 MB / 2.13 GB, free: 46.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/3.275, allocations: 80 kB / 2.13 GB, free: 46.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-05/3.275, allocations: 43.97 kB / 2.13 GB, free: 46.87 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.63e-06/3.275, allocations: 4 kB / 2.13 GB, free: 46.87 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001487/3.276, allocations: 0.8731 MB / 2.131 GB, free: 45.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/3.276, allocations: 8 kB / 2.131 GB, free: 45.97 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000222/3.276, allocations: 78.31 kB / 2.131 GB, free: 45.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/3.277, allocations: 155.8 kB / 2.131 GB, free: 45.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/3.277, allocations: 1.128 MB / 2.133 GB, free: 44.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/3.278, allocations: 83.84 kB / 2.133 GB, free: 44.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/3.278, allocations: 43.98 kB / 2.133 GB, free: 44.43 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.0007036/3.279, allocations: 494.5 kB / 2.133 GB, free: 43.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/3.279, allocations: 134.4 kB / 2.133 GB, free: 43.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/3.281, allocations: 1.018 MB / 2.134 GB, free: 42.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/3.281, allocations: 7.938 kB / 2.134 GB, free: 42.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/3.281, allocations: 7.984 kB / 2.134 GB, free: 42.74 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/3.281, allocations: 0 / 2.134 GB, free: 42.74 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.00296/3.284, allocations: 2.094 MB / 2.136 GB, free: 40.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/3.284, allocations: 4 kB / 2.136 GB, free: 40.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/3.284, allocations: 99.86 kB / 2.136 GB, free: 40.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002556/3.285, allocations: 73.67 kB / 2.137 GB, free: 40.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.883e-05/3.285, allocations: 24.02 kB / 2.137 GB, free: 40.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003854/3.285, allocations: 1.117 MB / 2.138 GB, free: 39.19 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/3.285, allocations: 4 kB / 2.138 GB, free: 39.19 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/3.287, allocations: 1.11 MB / 2.139 GB, free: 38.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004129/3.287, allocations: 287.2 kB / 2.139 GB, free: 37.74 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/3.287, allocations: 19.98 kB / 2.139 GB, free: 37.72 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007376/3.288, allocations: 87.77 kB / 2.139 GB, free: 37.63 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/3.288, allocations: 35.89 kB / 2.139 GB, free: 37.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/3.288, allocations: 35.97 kB / 2.139 GB, free: 37.56 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009453/3.289, allocations: 0.8364 MB / 2.14 GB, free: 36.73 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/3.289, allocations: 0 / 2.14 GB, free: 36.73 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002029/3.291, allocations: 0.7447 MB / 2.141 GB, free: 35.98 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.001254/3.292, allocations: 0.9662 MB / 2.142 GB, free: 35.03 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002322/3.295, allocations: 1.245 MB / 2.143 GB, free: 33.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/3.295, allocations: 0 / 2.143 GB, free: 33.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007394/3.296, allocations: 432.1 kB / 2.143 GB, free: 33.33 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/3.298, allocations: 0.6204 MB / 2.144 GB, free: 32.71 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/3.301, allocations: 2.653 MB / 2.146 GB, free: 30.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/3.302, allocations: 1.206 MB / 2.148 GB, free: 28.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00115/3.303, allocations: 302.8 kB / 2.148 GB, free: 28.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001722/3.303, allocations: 103.4 kB / 2.148 GB, free: 28.37 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/3.303, allocations: 4 kB / 2.148 GB, free: 28.37 MB / 0.948 GB Notification: Performance of Templates: time 0.4522/3.755, allocations: 30.77 MB / 2.178 GB, free: 160.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)