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.404/1.404, allocations: 252 MB / 268 MB, free: 10.85 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.001334/0.001334, allocations: 176.7 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.5786 GB, free: 20.16 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.0008594/0.0008593, allocations: 90.34 kB / 0.6832 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003584, allocations: 5.906 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2413, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.04051/0.2819, allocations: 55.81 MB / 0.9559 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02587/0.3078, allocations: 17.65 MB / 0.9732 GB, free: 5.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002847/0.3107, allocations: 55.62 kB / 0.9732 GB, free: 5.605 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.3138, allocations: 0.8942 MB / 0.9741 GB, free: 4.707 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006818/0.3206, allocations: 2.037 MB / 0.9761 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005129/0.3257, allocations: 1.744 MB / 0.9778 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00715/0.3329, allocations: 4.993 MB / 0.9827 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002214/0.3352, allocations: 1.148 MB / 0.9838 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003208/0.3384, allocations: 1.315 MB / 0.9851 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.3403, allocations: 1.061 MB / 0.9861 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.3405, allocations: 52 kB / 0.9862 GB, free: 8.312 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003644/0.3441, allocations: 1.287 MB / 0.9874 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004792/0.3446, allocations: 342.5 kB / 0.9877 GB, free: 6.688 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.3458, allocations: 0.7865 MB / 0.9885 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003432/0.3492, allocations: 2.33 MB / 0.9908 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3492, allocations: 0 / 0.9908 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.816e-06/0.3492, allocations: 0 / 0.9908 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.014e-05/0.3493, allocations: 7.938 kB / 0.9908 GB, free: 3.547 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.003486/0.3527, allocations: 1.815 MB / 0.9926 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.3528, allocations: 8.031 kB / 0.9926 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.3544, allocations: 398.6 kB / 0.993 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002808/0.3572, allocations: 1.571 MB / 0.9945 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006323/0.3578, allocations: 197.9 kB / 0.9947 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.358, allocations: 84 kB / 0.9948 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.3603, allocations: 1.126 MB / 0.9959 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.3603, allocations: 3.938 kB / 0.9959 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.021e-05/0.3604, allocations: 40 kB / 0.9959 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.3605, allocations: 20 kB / 0.9959 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.3629, allocations: 0.9486 MB / 0.9969 GB, free: 13.19 MB / 0.6511 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.007043/0.3699, allocations: 5.107 MB / 1.002 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.372, allocations: 0.7291 MB / 1.003 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009424/0.3729, allocations: 384.6 kB / 1.003 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002431/0.3754, allocations: 1.821 MB / 1.005 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/0.3765, allocations: 486.1 kB / 1.005 GB, free: 4.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003784/0.3769, allocations: 71.5 kB / 1.005 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.3769, allocations: 0 / 1.005 GB, free: 4.109 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.003101/0.38, allocations: 1.204 MB / 1.006 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.3801, allocations: 89.09 kB / 1.006 GB, free: 2.785 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.3818, allocations: 1.297 MB / 1.008 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.3819, allocations: 41.7 kB / 1.008 GB, free: 1.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005872/0.3825, allocations: 0.657 MB / 1.008 GB, free: 0.7656 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.3826, allocations: 145.9 kB / 1.009 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.3827, allocations: 8 kB / 1.009 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3828, allocations: 338 kB / 1.009 GB, free: 284 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009921/0.3838, allocations: 385.1 kB / 1.009 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.385, allocations: 0.6351 MB / 1.01 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.3871, allocations: 1.012 MB / 1.011 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.3871, allocations: 0 / 1.011 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002777/0.3899, allocations: 1.185 MB / 1.012 GB, free: 12.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002473/0.3902, allocations: 330.6 kB / 1.012 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3902, allocations: 8 kB / 1.012 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.3902, allocations: 8 kB / 1.012 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.391, allocations: 199.7 kB / 1.013 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.3911, allocations: 19.91 kB / 1.013 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.3922, allocations: 116.6 kB / 1.013 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.3923, allocations: 39.97 kB / 1.013 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-06/0.3923, allocations: 8 kB / 1.013 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002069/0.3944, allocations: 0.9656 MB / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.3944, allocations: 4 kB / 1.014 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3944, allocations: 12 kB / 1.014 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.3951, allocations: 184.3 kB / 1.014 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/0.3951, allocations: 15.88 kB / 1.014 GB, free: 10.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.3961, allocations: 116.5 kB / 1.014 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-05/0.3962, allocations: 35.98 kB / 1.014 GB, free: 10.69 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 ($whenCondition1,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.nextEventScaled) * 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.0008296/0.397, allocations: 0.4911 MB / 1.015 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3972, allocations: 134.3 kB / 1.015 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/0.3998, allocations: 1.084 MB / 1.016 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3999, allocations: 7.938 kB / 1.016 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3999, allocations: 0 / 1.016 GB, free: 8.957 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3999, allocations: 3.938 kB / 1.016 GB, free: 8.953 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.00414/0.404, allocations: 2.228 MB / 1.018 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4041, allocations: 0 / 1.018 GB, free: 6.645 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.4047, allocations: 140 kB / 1.018 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.4047, allocations: 0 / 1.018 GB, free: 6.508 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.4048, allocations: 15.98 kB / 1.018 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.4048, allocations: 8 kB / 1.018 GB, free: 6.484 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4048, allocations: 3.938 kB / 1.018 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.4072, allocations: 1.105 MB / 1.019 GB, free: 5.336 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.4077, allocations: 311.3 kB / 1.019 GB, free: 5.012 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4079, allocations: 8 kB / 1.019 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.4088, allocations: 127.7 kB / 1.02 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.409, allocations: 35.94 kB / 1.02 GB, free: 4.844 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-05/0.4091, allocations: 27.98 kB / 1.02 GB, free: 4.816 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001378/0.4104, allocations: 0.9027 MB / 1.02 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4104, allocations: 0 / 1.02 GB, free: 3.914 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0022/0.4127, allocations: 0.6783 MB / 1.021 GB, free: 3.234 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.001165/0.4138, allocations: 446.5 kB / 1.022 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003521/0.4174, allocations: 1.503 MB / 1.023 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4174, allocations: 0 / 1.023 GB, free: 1.277 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.4185, allocations: 0.4931 MB / 1.024 GB, free: 0.7734 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003138/0.4216, allocations: 0.618 MB / 1.024 GB, free: 172 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005257/0.4269, allocations: 2.839 MB / 1.027 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008785/0.4278, allocations: 1.202 MB / 1.028 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.4282, allocations: 115.3 kB / 1.028 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of SimCode: time 1.302e-06/0.4282, allocations: 0 / 1.028 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of Templates: time 0.04221/0.4705, allocations: 24.52 MB / 1.052 GB, free: 3.594 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)