Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.228/2.228, allocations: 251.1 MB / 266.7 MB, free: 11.57 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.001317/0.001316, allocations: 187.3 kB / 326.3 MB, free: 2.828 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.358/2.358, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009286/0.0009285, allocations: 81.73 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006737/0.0006739, allocations: 16.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2034, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.06192/0.2654, allocations: 52.76 MB / 0.951 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02999/0.2955, allocations: 16.34 MB / 0.967 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.2985, allocations: 59.56 kB / 0.967 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00383/0.3024, allocations: 0.6873 MB / 0.9677 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007604/0.31, allocations: 1.704 MB / 0.9694 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.3201, allocations: 1.374 MB / 0.9707 GB, free: 8.402 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.01246/0.3326, allocations: 4.347 MB / 0.975 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004201/0.3368, allocations: 1.111 MB / 0.976 GB, free: 2.902 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005994/0.3429, allocations: 1.233 MB / 0.9772 GB, free: 1.664 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003772/0.3467, allocations: 0.976 MB / 0.9782 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0006232/0.3474, allocations: 56 kB / 0.9783 GB, free: 0.6289 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005927/0.3534, allocations: 1.029 MB / 0.9793 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001173/0.3546, allocations: 330.6 kB / 0.9796 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001177/0.3558, allocations: 364.8 kB / 0.9799 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007007/0.3629, allocations: 2.291 MB / 0.9822 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3629, allocations: 0 / 0.9822 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.336e-06/0.363, allocations: 0 / 0.9822 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.078e-05/0.3631, allocations: 0 / 0.9822 GB, free: 12.61 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.00835/0.3714, allocations: 1.819 MB / 0.9839 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.918e-05/0.3715, allocations: 12.03 kB / 0.9839 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004927/0.3765, allocations: 402.4 kB / 0.9843 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007414/0.384, allocations: 1.514 MB / 0.9858 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002044/0.3861, allocations: 197.9 kB / 0.986 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004735/0.3866, allocations: 88 kB / 0.9861 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006382/0.393, allocations: 1.114 MB / 0.9872 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.3931, allocations: 0 / 0.9872 GB, free: 7.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.3933, allocations: 35.94 kB / 0.9872 GB, free: 7.285 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.3934, allocations: 23.94 kB / 0.9872 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007513/0.4009, allocations: 0.9486 MB / 0.9882 GB, free: 6.312 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.0188/0.4198, allocations: 5.105 MB / 0.9931 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006336/0.4262, allocations: 0.7269 MB / 0.9938 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.4293, allocations: 380.6 kB / 0.9942 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006333/0.4357, allocations: 1.821 MB / 0.996 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003466/0.4392, allocations: 489.4 kB / 0.9965 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009958/0.4403, allocations: 79.39 kB / 0.9965 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 8.386e-06/0.4404, allocations: 3.938 kB / 0.9965 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.009774/0.4502, allocations: 1.193 MB / 0.9977 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.4503, allocations: 89.11 kB / 0.9978 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004665/0.455, allocations: 1.293 MB / 0.999 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.4553, allocations: 33.7 kB / 0.9991 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.4567, allocations: 0.6532 MB / 0.9997 GB, free: 9.91 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004337/0.4572, allocations: 149.8 kB / 0.9999 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4573, allocations: 16 kB / 0.9999 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002225/0.4576, allocations: 326 kB / 1 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.4607, allocations: 373.1 kB / 1.001 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003479/0.4642, allocations: 0.6195 MB / 1.001 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.4675, allocations: 438.2 kB / 1.002 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.546e-05/0.4676, allocations: 0 / 1.002 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.007901/0.4755, allocations: 1.147 MB / 1.003 GB, free: 6.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004275/0.476, allocations: 326.4 kB / 1.003 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.4761, allocations: 12 kB / 1.003 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.614e-05/0.4761, allocations: 15.94 kB / 1.003 GB, free: 6.285 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/0.4785, allocations: 191.7 kB / 1.003 GB, free: 6.098 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-05/0.4786, allocations: 19.92 kB / 1.003 GB, free: 6.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/0.4816, allocations: 116.5 kB / 1.003 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.482, allocations: 39.98 kB / 1.003 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.482, allocations: 5.562 kB / 1.003 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006274/0.4883, allocations: 0.9619 MB / 1.004 GB, free: 4.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.712e-05/0.4884, allocations: 8 kB / 1.004 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.889e-05/0.4885, allocations: 11.98 kB / 1.004 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/0.4907, allocations: 180.1 kB / 1.005 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-05/0.4908, allocations: 19.92 kB / 1.005 GB, free: 4.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.4935, allocations: 113.4 kB / 1.005 GB, free: 4.625 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.4938, allocations: 39.98 kB / 1.005 GB, free: 4.586 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001712/0.4956, allocations: 486.7 kB / 1.005 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/0.4962, allocations: 138.3 kB / 1.005 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007125/0.5033, allocations: 1.083 MB / 1.006 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/0.5035, allocations: 0 / 1.006 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5035, allocations: 3.938 kB / 1.006 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.505, allocations: 315.2 kB / 1.007 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005754/0.5056, allocations: 12 kB / 1.007 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003021/0.5087, allocations: 119.8 kB / 1.007 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/0.509, allocations: 31.95 kB / 1.007 GB, free: 2.375 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007835/0.5168, allocations: 1.095 MB / 1.008 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007112/0.524, allocations: 1.174 MB / 1.009 GB, free: 56 kB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00306/0.5271, allocations: 424.9 kB / 1.009 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003405/0.5306, allocations: 0.8833 MB / 1.01 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of Backend: time 6.022e-06/0.5307, allocations: 3.938 kB / 1.01 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.01053/0.5412, allocations: 1.628 MB / 1.012 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of SimCode: time 0.01489/0.5562, allocations: 3.484 MB / 1.015 GB, free: 9.566 MB / 0.6667 GB Notification: Performance of Templates: time 0.1247/0.6809, allocations: 29.97 MB / 1.045 GB, free: 11.86 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)