Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.378/1.378, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 172 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205 MB / 0.5766 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008995/0.0008997, allocations: 91.92 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003307, allocations: 14.69 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2589, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04139/0.3003, allocations: 56.56 MB / 0.952 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02448/0.3248, allocations: 17.85 MB / 0.9694 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003558/0.3285, allocations: 59.62 kB / 0.9695 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.3321, allocations: 0.9097 MB / 0.9703 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007575/0.3398, allocations: 2.037 MB / 0.9723 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.3454, allocations: 1.738 MB / 0.974 GB, free: 4.828 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00773/0.3532, allocations: 4.999 MB / 0.9789 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002612/0.3558, allocations: 1.144 MB / 0.98 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.3597, allocations: 1.315 MB / 0.9813 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.3622, allocations: 1.054 MB / 0.9823 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005563/0.3628, allocations: 56 kB / 0.9824 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.3668, allocations: 1.287 MB / 0.9837 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0007701/0.3676, allocations: 350.5 kB / 0.984 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.3696, allocations: 0.7537 MB / 0.9847 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00424/0.3738, allocations: 2.338 MB / 0.987 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3738, allocations: 0 / 0.987 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.085e-06/0.3739, allocations: 0 / 0.987 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001111/0.374, allocations: 0 / 0.987 GB, free: 7.48 MB / 0.6355 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.004984/0.379, allocations: 1.807 MB / 0.9888 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.379, allocations: 12.03 kB / 0.9888 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/0.3811, allocations: 402.6 kB / 0.9892 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/0.3852, allocations: 1.566 MB / 0.9907 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006786/0.3859, allocations: 193.9 kB / 0.9909 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.3862, allocations: 88 kB / 0.991 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.389, allocations: 1.13 MB / 0.9921 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.389, allocations: 3.938 kB / 0.9921 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.3891, allocations: 36 kB / 0.9921 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.3892, allocations: 20 kB / 0.9921 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.3918, allocations: 0.9486 MB / 0.9931 GB, free: 1.121 MB / 0.6355 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.008506/0.4003, allocations: 5.096 MB / 0.998 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.4023, allocations: 0.7319 MB / 0.9987 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.4033, allocations: 384.6 kB / 0.9991 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002986/0.4063, allocations: 1.821 MB / 1.001 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.4075, allocations: 498.1 kB / 1.001 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005764/0.4081, allocations: 75.44 kB / 1.001 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 3.887e-06/0.4081, allocations: 0 / 1.001 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.003452/0.4116, allocations: 1.204 MB / 1.003 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.4117, allocations: 81.11 kB / 1.003 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.4142, allocations: 1.301 MB / 1.004 GB, free: 5.406 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.65e-05/0.4143, allocations: 41.7 kB / 1.004 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.415, allocations: 0.6571 MB / 1.005 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.4152, allocations: 145.9 kB / 1.005 GB, free: 4.551 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.4153, allocations: 61.69 kB / 1.005 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.4155, allocations: 330 kB / 1.005 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.4165, allocations: 393 kB / 1.006 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.4178, allocations: 0.639 MB / 1.006 GB, free: 3.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.42, allocations: 1.016 MB / 1.007 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.42, allocations: 4 kB / 1.007 GB, free: 1.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002955/0.423, allocations: 1.177 MB / 1.008 GB, free: 0.707 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000314/0.4233, allocations: 322.3 kB / 1.009 GB, free: 296 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.4233, allocations: 4 kB / 1.009 GB, free: 292 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.4234, allocations: 12 kB / 1.009 GB, free: 280 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008545/0.4242, allocations: 203.7 kB / 1.009 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/0.4243, allocations: 15.94 kB / 1.009 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.4256, allocations: 119.8 kB / 1.009 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-05/0.4257, allocations: 43.98 kB / 1.009 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.4258, allocations: 4 kB / 1.009 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002151/0.4279, allocations: 0.9622 MB / 1.01 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.428, allocations: 12.09 kB / 1.01 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.428, allocations: 15.94 kB / 1.01 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006455/0.4286, allocations: 183.8 kB / 1.01 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.4286, allocations: 15.88 kB / 1.01 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.4299, allocations: 111.2 kB / 1.01 GB, free: 14.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/0.43, allocations: 35.98 kB / 1.01 GB, free: 14.57 MB / 0.6667 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 (QCoo.nextEventScaled,QCoo.nextEvent,$PRE.QCoo.nextEvent,QCoo.last,QCoo.b,QCoo.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009651/0.431, allocations: 498.2 kB / 1.011 GB, free: 14.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004133/0.4314, allocations: 134.3 kB / 1.011 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.4342, allocations: 1.09 MB / 1.012 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4343, allocations: 15.92 kB / 1.012 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4343, allocations: 0 / 1.012 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4343, allocations: 0 / 1.012 GB, free: 12.82 MB / 0.6667 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.00473/0.439, allocations: 2.22 MB / 1.014 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.439, allocations: 0 / 1.014 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/0.4397, allocations: 139.9 kB / 1.014 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.4397, allocations: 4 kB / 1.014 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-05/0.4397, allocations: 19.98 kB / 1.014 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.4397, allocations: 8 kB / 1.014 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4398, allocations: 0 / 1.014 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.4424, allocations: 1.109 MB / 1.015 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.4431, allocations: 303.3 kB / 1.016 GB, free: 8.883 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003196/0.4434, allocations: 12 kB / 1.016 GB, free: 8.871 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.4445, allocations: 119.9 kB / 1.016 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.4447, allocations: 35.95 kB / 1.016 GB, free: 8.719 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.4448, allocations: 27.97 kB / 1.016 GB, free: 8.691 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001696/0.4465, allocations: 0.895 MB / 1.017 GB, free: 7.797 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4465, allocations: 3.938 kB / 1.017 GB, free: 7.793 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002427/0.4489, allocations: 0.6744 MB / 1.017 GB, free: 7.117 MB / 0.6667 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,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 (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.4502, allocations: 434.5 kB / 1.018 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003637/0.4539, allocations: 1.511 MB / 1.019 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4539, allocations: 4.188 kB / 1.019 GB, free: 5.16 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.455, allocations: 0.4886 MB / 1.02 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.4588, allocations: 0.6166 MB / 1.02 GB, free: 4.051 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005575/0.4644, allocations: 2.829 MB / 1.023 GB, free: 1.172 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.4656, allocations: 1.202 MB / 1.024 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004514/0.4661, allocations: 111.4 kB / 1.024 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of SimCode: time 1.943e-06/0.4661, allocations: 0 / 1.024 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of Templates: time 0.04673/0.5128, allocations: 24.53 MB / 1.048 GB, free: 7.492 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)