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.692/1.692, allocations: 288.3 MB / 303.2 MB, free: 8.133 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.00164/0.00164, allocations: 177 kB / 371.8 MB, free: 10.29 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.734/1.734, allocations: 205.4 MB / 0.6306 GB, free: 10.03 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.0009278/0.0009276, allocations: 94.84 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004238, allocations: 10.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2807/0.2812, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.0467/0.3279, allocations: 48.05 MB / 1.026 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02688/0.3549, allocations: 15.39 MB / 1.041 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003147/0.3581, allocations: 51.62 kB / 1.041 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004177/0.3623, allocations: 0.8904 MB / 1.042 GB, free: 11.19 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009648/0.372, allocations: 2.2 MB / 1.044 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.009959/0.382, allocations: 2.793 MB / 1.047 GB, free: 6.227 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005849/0.3878, allocations: 2.279 MB / 1.049 GB, free: 3.949 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.39, allocations: 1.022 MB / 1.05 GB, free: 2.895 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003064/0.3931, allocations: 1.094 MB / 1.051 GB, free: 1.797 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.3946, allocations: 0.696 MB / 1.052 GB, free: 1.098 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.3948, allocations: 52 kB / 1.052 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.3981, allocations: 1.084 MB / 1.053 GB, free: 15.96 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004211/0.3985, allocations: 310.8 kB / 1.054 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006998/0.3992, allocations: 352.9 kB / 1.054 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.4038, allocations: 2.303 MB / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4038, allocations: 0 / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.797e-06/0.4038, allocations: 0 / 1.056 GB, free: 13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.881e-05/0.4039, allocations: 0 / 1.056 GB, free: 13 MB / 0.6823 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.004132/0.408, allocations: 1.83 MB / 1.058 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.4081, allocations: 8.031 kB / 1.058 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/0.4099, allocations: 397.6 kB / 1.058 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.4129, allocations: 1.457 MB / 1.06 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007048/0.4136, allocations: 201.8 kB / 1.06 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.4138, allocations: 88 kB / 1.06 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/0.4163, allocations: 1.099 MB / 1.061 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.4164, allocations: 7.891 kB / 1.061 GB, free: 7.758 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.4165, allocations: 36 kB / 1.061 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.4165, allocations: 20 kB / 1.061 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002595/0.4191, allocations: 0.9368 MB / 1.062 GB, free: 6.766 MB / 0.6823 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.008605/0.4277, allocations: 5.052 MB / 1.067 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002116/0.4299, allocations: 0.7073 MB / 1.068 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5586/0.9885, allocations: 1.811 MB / 1.069 GB, free: 89.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001373/0.9899, allocations: 474.5 kB / 1.07 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005951/0.9905, allocations: 79.23 kB / 1.07 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=44): time 3.707e-06/0.9906, allocations: 0 / 1.07 GB, free: 89.41 MB / 0.6823 GB Notification: Performance of matching and sorting (n=44): time 0.00384/0.9944, allocations: 1.258 MB / 1.071 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.9945, allocations: 87.73 kB / 1.071 GB, free: 88.92 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002176/0.9967, allocations: 1.322 MB / 1.073 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.869e-05/0.9968, allocations: 40.89 kB / 1.073 GB, free: 88.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.9973, allocations: 0.6509 MB / 1.073 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.9975, allocations: 147 kB / 1.073 GB, free: 87.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.9975, allocations: 11.75 kB / 1.073 GB, free: 87.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.9976, allocations: 332.4 kB / 1.074 GB, free: 87.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.9986, allocations: 360.9 kB / 1.074 GB, free: 87.39 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.9999, allocations: 0.6068 MB / 1.075 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/1.001, allocations: 437.1 kB / 1.075 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/1.001, allocations: 2.094 kB / 1.075 GB, free: 86.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003034/1.004, allocations: 1.132 MB / 1.076 GB, free: 86.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005143/1.005, allocations: 2.699 MB / 1.079 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.005, allocations: 7.969 kB / 1.079 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.084e-05/1.005, allocations: 11.52 kB / 1.079 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/1.006, allocations: 201 kB / 1.079 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.155e-05/1.006, allocations: 15.91 kB / 1.079 GB, free: 83.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.007, allocations: 127.7 kB / 1.079 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/1.007, allocations: 38.95 kB / 1.079 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.007, allocations: 5.062 kB / 1.079 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/1.009, allocations: 0.9574 MB / 1.08 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/1.009, allocations: 7.797 kB / 1.08 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.009, allocations: 12.48 kB / 1.08 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/1.01, allocations: 185.5 kB / 1.08 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.01, allocations: 15.09 kB / 1.08 GB, free: 83.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.011, allocations: 112.9 kB / 1.08 GB, free: 83.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/1.011, allocations: 40.45 kB / 1.08 GB, free: 83.24 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (76): * Single equations (assignments): 74 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008602/1.012, allocations: 496.9 kB / 1.081 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002561/1.012, allocations: 136.2 kB / 1.081 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/1.015, allocations: 1.08 MB / 1.082 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/1.015, allocations: 6.109 kB / 1.082 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/1.015, allocations: 0 / 1.082 GB, free: 82.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/1.015, allocations: 2.703 kB / 1.082 GB, free: 82.43 MB / 0.6823 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.004567/1.02, allocations: 2.268 MB / 1.084 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/1.02, allocations: 2.688 kB / 1.084 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006376/1.02, allocations: 139.6 kB / 1.085 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/1.02, allocations: 3.469 kB / 1.085 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.447e-05/1.021, allocations: 20.14 kB / 1.085 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/1.021, allocations: 8.094 kB / 1.085 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.021, allocations: 7.484 kB / 1.085 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/1.023, allocations: 1.149 MB / 1.086 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/1.024, allocations: 327 kB / 1.086 GB, free: 80.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/1.024, allocations: 14.97 kB / 1.086 GB, free: 80.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009879/1.025, allocations: 113.7 kB / 1.086 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.025, allocations: 42.5 kB / 1.086 GB, free: 80.44 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.868e-05/1.025, allocations: 28.53 kB / 1.086 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001573/1.027, allocations: 0.914 MB / 1.087 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/1.027, allocations: 1.531 kB / 1.087 GB, free: 80.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002348/1.029, allocations: 0.709 MB / 1.088 GB, free: 79.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/1.03, allocations: 489.2 kB / 1.088 GB, free: 79.79 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003655/1.034, allocations: 1.469 MB / 1.09 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/1.034, allocations: 6.062 kB / 1.09 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001166/1.035, allocations: 495.2 kB / 1.09 GB, free: 79.05 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/1.038, allocations: 0.6117 MB / 1.091 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006106/1.044, allocations: 2.779 MB / 1.093 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.045, allocations: 1.233 MB / 1.095 GB, free: 76.61 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001887/1.047, allocations: 306.9 kB / 1.095 GB, free: 76.54 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003418/1.048, allocations: 108.2 kB / 1.095 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/1.048, allocations: 0 / 1.095 GB, free: 76.53 MB / 0.6823 GB Notification: Performance of Templates: time 0.04656/1.094, allocations: 26.9 MB / 1.121 GB, free: 63.96 MB / 0.6823 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)