Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.015/2.015, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 199.3 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009081/0.0009082, allocations: 98.83 kB / 0.9329 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 51.41 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2293, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.03602/0.2654, allocations: 56.78 MB / 1.274 GB, free: 60.25 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01543/0.2808, allocations: 14.92 MB / 1.288 GB, free: 45.29 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002254/0.2831, allocations: 59.62 kB / 1.288 GB, free: 45.23 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.2857, allocations: 0.8963 MB / 1.289 GB, free: 44.33 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004476/0.2902, allocations: 2.069 MB / 1.291 GB, free: 42.26 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.2939, allocations: 1.727 MB / 1.293 GB, free: 40.54 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004347/0.2982, allocations: 5.07 MB / 1.298 GB, free: 35.46 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.2999, allocations: 1.194 MB / 1.299 GB, free: 34.23 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002357/0.3023, allocations: 1.396 MB / 1.3 GB, free: 32.83 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.3037, allocations: 1.097 MB / 1.301 GB, free: 31.73 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.304, allocations: 79.94 kB / 1.301 GB, free: 31.65 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.3065, allocations: 1.372 MB / 1.303 GB, free: 30.27 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003975/0.3069, allocations: 370.6 kB / 1.303 GB, free: 29.91 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009767/0.3079, allocations: 0.8043 MB / 1.304 GB, free: 29.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003157/0.311, allocations: 3.031 MB / 1.307 GB, free: 26.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.311, allocations: 4 kB / 1.307 GB, free: 26.06 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.92e-07/0.311, allocations: 0 / 1.307 GB, free: 26.06 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.353e-05/0.3111, allocations: 0 / 1.307 GB, free: 26.06 MB / 0.823 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.003635/0.3148, allocations: 2.114 MB / 1.309 GB, free: 23.88 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3148, allocations: 11.98 kB / 1.309 GB, free: 23.86 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002148/0.317, allocations: 454.5 kB / 1.309 GB, free: 23.42 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.3202, allocations: 1.653 MB / 1.311 GB, free: 21.71 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006137/0.3208, allocations: 181.9 kB / 1.311 GB, free: 21.54 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001741/0.321, allocations: 84 kB / 1.311 GB, free: 21.45 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.3231, allocations: 1.146 MB / 1.312 GB, free: 20.26 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.3231, allocations: 0 / 1.312 GB, free: 20.26 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.3232, allocations: 32 kB / 1.312 GB, free: 20.23 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3232, allocations: 20 kB / 1.312 GB, free: 20.21 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002523/0.3257, allocations: 1.015 MB / 1.313 GB, free: 19.19 MB / 0.823 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.005667/0.3314, allocations: 5.127 MB / 1.318 GB, free: 13.79 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.3333, allocations: 0.7023 MB / 1.319 GB, free: 13.08 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009321/0.3342, allocations: 392.9 kB / 1.319 GB, free: 12.69 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002004/0.3362, allocations: 1.873 MB / 1.321 GB, free: 10.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.3374, allocations: 0.5114 MB / 1.322 GB, free: 10.11 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003501/0.3377, allocations: 71.48 kB / 1.322 GB, free: 10.04 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 2.555e-06/0.3378, allocations: 0 / 1.322 GB, free: 10.04 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.003094/0.3409, allocations: 1.22 MB / 1.323 GB, free: 8.805 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.3409, allocations: 118.8 kB / 1.323 GB, free: 8.664 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3423, allocations: 1.297 MB / 1.324 GB, free: 7.355 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-05/0.3423, allocations: 45.7 kB / 1.324 GB, free: 7.305 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003784/0.3427, allocations: 0.6532 MB / 1.325 GB, free: 6.645 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.3428, allocations: 145.9 kB / 1.325 GB, free: 6.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.3431, allocations: 158.1 kB / 1.325 GB, free: 6.336 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.3431, allocations: 334 kB / 1.326 GB, free: 6.004 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009881/0.3441, allocations: 403.2 kB / 1.326 GB, free: 5.609 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/0.3452, allocations: 0.6516 MB / 1.327 GB, free: 4.84 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.3472, allocations: 1.034 MB / 1.328 GB, free: 3.699 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3472, allocations: 0 / 1.328 GB, free: 3.699 MB / 0.823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002509/0.3497, allocations: 1.196 MB / 1.329 GB, free: 2.488 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.3498, allocations: 37.7 kB / 1.329 GB, free: 2.445 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3498, allocations: 4 kB / 1.329 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3498, allocations: 12 kB / 1.329 GB, free: 2.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/0.3506, allocations: 204.2 kB / 1.329 GB, free: 2.23 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.3506, allocations: 19.94 kB / 1.329 GB, free: 2.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3517, allocations: 125.8 kB / 1.329 GB, free: 2.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.3517, allocations: 47.95 kB / 1.329 GB, free: 2.043 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001165/0.3529, allocations: 0.6535 MB / 1.33 GB, free: 1.387 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009338/0.3539, allocations: 0.6083 MB / 1.331 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001789/0.3557, allocations: 0.9486 MB / 1.331 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.767e-06/0.3557, allocations: 3.938 kB / 1.331 GB, free: 15.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.002487/0.3582, allocations: 1.118 MB / 1.333 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.3582, allocations: 41.64 kB / 1.333 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.3582, allocations: 4 kB / 1.333 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3583, allocations: 12 kB / 1.333 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007283/0.359, allocations: 187.9 kB / 1.333 GB, free: 14.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.359, allocations: 15.94 kB / 1.333 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.36, allocations: 116.5 kB / 1.333 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.441e-05/0.3601, allocations: 35.98 kB / 1.333 GB, free: 14.05 MB / 0.8386 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 (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 (76): * Single equations (assignments): 74 * 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.0002273/0.3603, allocations: 265.6 kB / 1.333 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.3605, allocations: 142.2 kB / 1.333 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002831/0.3634, allocations: 1.098 MB / 1.334 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.3634, allocations: 7.984 kB / 1.334 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3634, allocations: 4 kB / 1.334 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3634, allocations: 0 / 1.334 GB, free: 12.53 MB / 0.8386 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.004272/0.3677, allocations: 2.349 MB / 1.337 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.3677, allocations: 4.062 kB / 1.337 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006698/0.3684, allocations: 147.9 kB / 1.337 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-06/0.3684, allocations: 0 / 1.337 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.3685, allocations: 19.98 kB / 1.337 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3685, allocations: 4 kB / 1.337 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3685, allocations: 4 kB / 1.337 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/0.3727, allocations: 2.453 MB / 1.339 GB, free: 7.391 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.3732, allocations: 303.3 kB / 1.34 GB, free: 7.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.3734, allocations: 19.94 kB / 1.34 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.3744, allocations: 115.8 kB / 1.34 GB, free: 6.941 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.3745, allocations: 35.89 kB / 1.34 GB, free: 6.906 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.666e-05/0.3746, allocations: 35.97 kB / 1.34 GB, free: 6.871 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001153/0.3758, allocations: 0.895 MB / 1.341 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.643e-06/0.3758, allocations: 0 / 1.341 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002051/0.3778, allocations: 0.7212 MB / 1.341 GB, free: 5.254 MB / 0.8386 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,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.0009619/0.3788, allocations: 462.4 kB / 1.342 GB, free: 4.809 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003718/0.3825, allocations: 1.533 MB / 1.343 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3826, allocations: 0 / 1.343 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.3837, allocations: 0.5002 MB / 1.344 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/0.3865, allocations: 0.6207 MB / 1.344 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004676/0.3912, allocations: 3.093 MB / 1.347 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009759/0.3922, allocations: 1.217 MB / 1.349 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001335/0.3935, allocations: 299.4 kB / 1.349 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.3938, allocations: 99.41 kB / 1.349 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.3938, allocations: 4 kB / 1.349 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.04153/0.4354, allocations: 27.53 MB / 1.376 GB, free: 2.129 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)