Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.139/2.139, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.001353/0.001353, allocations: 179.2 kB / 326.3 MB, free: 2.855 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.376/2.376, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.0009436/0.0009436, allocations: 87.55 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006411/0.0006416, allocations: 13.09 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2097, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.07863/0.2884, allocations: 52.76 MB / 0.951 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.03007/0.3185, allocations: 16.33 MB / 0.967 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.3212, allocations: 55.62 kB / 0.967 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003499/0.3247, allocations: 0.6834 MB / 0.9677 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.007193/0.332, allocations: 1.708 MB / 0.9694 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006264/0.3383, allocations: 1.373 MB / 0.9707 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.008377/0.3466, allocations: 4.361 MB / 0.975 GB, free: 4.078 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002772/0.3495, allocations: 1.107 MB / 0.976 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.3534, allocations: 1.229 MB / 0.9772 GB, free: 1.707 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00254/0.3559, allocations: 0.9799 MB / 0.9782 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/0.3564, allocations: 52 kB / 0.9783 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003832/0.3602, allocations: 1.037 MB / 0.9793 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008154/0.3611, allocations: 326.6 kB / 0.9796 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008233/0.3619, allocations: 356.8 kB / 0.9799 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004747/0.3667, allocations: 2.287 MB / 0.9822 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3667, allocations: 0 / 0.9822 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3668, allocations: 0 / 0.9822 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.172e-05/0.3668, allocations: 7.938 kB / 0.9822 GB, free: 12.66 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.005551/0.3724, allocations: 1.823 MB / 0.9839 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3725, allocations: 12.03 kB / 0.984 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.3757, allocations: 406.5 kB / 0.9843 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005841/0.3816, allocations: 1.506 MB / 0.9858 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001295/0.383, allocations: 201.9 kB / 0.986 GB, free: 8.605 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.3832, allocations: 88 kB / 0.9861 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.3875, allocations: 1.111 MB / 0.9872 GB, free: 7.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.3876, allocations: 7.938 kB / 0.9872 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.3877, allocations: 32 kB / 0.9872 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/0.3878, allocations: 23.94 kB / 0.9872 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004836/0.3926, allocations: 0.9564 MB / 0.9882 GB, free: 6.344 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.01188/0.4046, allocations: 5.093 MB / 0.9931 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003872/0.4085, allocations: 0.7213 MB / 0.9938 GB, free: 228 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4104, allocations: 384.6 kB / 0.9942 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003938/0.4143, allocations: 1.821 MB / 0.996 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002191/0.4166, allocations: 489.4 kB / 0.9965 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006911/0.4173, allocations: 71.41 kB / 0.9965 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 9.729e-06/0.4173, allocations: 3.984 kB / 0.9965 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.006153/0.4235, allocations: 1.201 MB / 0.9977 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.4236, allocations: 85.11 kB / 0.9978 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.4265, allocations: 1.289 MB / 0.999 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.4268, allocations: 41.7 kB / 0.9991 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009009/0.4277, allocations: 0.6493 MB / 0.9997 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002567/0.428, allocations: 153.8 kB / 0.9999 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.4281, allocations: 8 kB / 0.9999 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.4282, allocations: 334 kB / 1 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.4302, allocations: 365.1 kB / 1.001 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002177/0.4324, allocations: 0.6195 MB / 1.001 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.4344, allocations: 450.1 kB / 1.002 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4345, allocations: 0 / 1.002 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004961/0.4394, allocations: 1.139 MB / 1.003 GB, free: 6.777 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003233/0.4398, allocations: 331.9 kB / 1.003 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.969e-05/0.4398, allocations: 8 kB / 1.003 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.327e-05/0.4399, allocations: 8 kB / 1.003 GB, free: 6.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.4415, allocations: 199.7 kB / 1.003 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.672e-05/0.4415, allocations: 15.94 kB / 1.003 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.4436, allocations: 126.9 kB / 1.003 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.4437, allocations: 35.98 kB / 1.003 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4438, allocations: 4 kB / 1.003 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003963/0.4477, allocations: 0.9697 MB / 1.004 GB, free: 4.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.4478, allocations: 4 kB / 1.004 GB, free: 4.984 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.4478, allocations: 12 kB / 1.004 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001377/0.4492, allocations: 188.2 kB / 1.005 GB, free: 4.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.4493, allocations: 11.94 kB / 1.005 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.4511, allocations: 108.5 kB / 1.005 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.4512, allocations: 39.98 kB / 1.005 GB, free: 4.633 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,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 (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.001116/0.4523, allocations: 0.4907 MB / 1.005 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.4527, allocations: 134.3 kB / 1.005 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00478/0.4575, allocations: 1.07 MB / 1.006 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.4576, allocations: 3.984 kB / 1.006 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.4576, allocations: 3.938 kB / 1.006 GB, free: 2.906 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000948/0.4585, allocations: 315.2 kB / 1.007 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.4589, allocations: 11.98 kB / 1.007 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.4606, allocations: 119.8 kB / 1.007 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4608, allocations: 31.95 kB / 1.007 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005034/0.4659, allocations: 1.095 MB / 1.008 GB, free: 1.301 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004593/0.4705, allocations: 1.17 MB / 1.009 GB, free: 104 kB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001911/0.4725, allocations: 428.8 kB / 1.009 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002161/0.4747, allocations: 0.8833 MB / 1.01 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of Backend: time 7.72e-07/0.4747, allocations: 0 / 1.01 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006947/0.4817, allocations: 1.617 MB / 1.012 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of SimCode: time 0.009932/0.4916, allocations: 3.488 MB / 1.015 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of Templates: time 0.0838/0.5755, allocations: 29.98 MB / 1.045 GB, free: 11.89 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)