Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.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.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 251.5 MB / 267.4 MB, free: 11.09 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.001096/0.001096, allocations: 178.2 kB / 326.5 MB, free: 2.734 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.566/1.566, 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.0007473/0.0007474, allocations: 86.3 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002986/0.0002986, allocations: 12.11 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 105.4 MB / 0.8967 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.03491/0.1975, allocations: 56.56 MB / 0.952 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01956/0.2171, allocations: 17.86 MB / 0.9694 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002094/0.2192, allocations: 59.62 kB / 0.9695 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002755/0.222, allocations: 0.9019 MB / 0.9704 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005074/0.2271, allocations: 2.044 MB / 0.9724 GB, free: 6.582 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003938/0.231, allocations: 1.735 MB / 0.974 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005361/0.2364, allocations: 4.997 MB / 0.9789 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.238, allocations: 1.136 MB / 0.98 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.2403, allocations: 1.315 MB / 0.9813 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.2416, allocations: 1.05 MB / 0.9823 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.2417, allocations: 56 kB / 0.9824 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.2442, allocations: 1.294 MB / 0.9837 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.2445, allocations: 346.5 kB / 0.984 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007795/0.2453, allocations: 0.7576 MB / 0.9847 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003233/0.2486, allocations: 2.928 MB / 0.9876 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.2486, allocations: 3.938 kB / 0.9876 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2486, allocations: 0 / 0.9876 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.984e-05/0.2486, allocations: 0 / 0.9876 GB, free: 6.922 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.003034/0.2517, allocations: 1.811 MB / 0.9894 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2517, allocations: 12.02 kB / 0.9894 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/0.2533, allocations: 402.5 kB / 0.9898 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002517/0.2558, allocations: 1.569 MB / 0.9913 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006118/0.2564, allocations: 193.9 kB / 0.9915 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2566, allocations: 88 kB / 0.9916 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.2587, allocations: 1.13 MB / 0.9927 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.2588, allocations: 0 / 0.9927 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.86e-05/0.2588, allocations: 35.98 kB / 0.9927 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2589, allocations: 20 kB / 0.9927 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.2612, allocations: 0.9563 MB / 0.9937 GB, free: 0.5547 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.006175/0.2674, allocations: 5.103 MB / 0.9986 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001895/0.2693, allocations: 0.7175 MB / 0.9993 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008829/0.2702, allocations: 392.7 kB / 0.9997 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002107/0.2723, allocations: 1.821 MB / 1.001 GB, free: 8.047 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/0.2735, allocations: 0.4902 MB / 1.002 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002625/0.2737, allocations: 75.44 kB / 1.002 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.2737, allocations: 0 / 1.002 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.002952/0.2767, allocations: 1.196 MB / 1.003 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.2768, allocations: 81.11 kB / 1.003 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.2783, allocations: 1.297 MB / 1.005 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.441e-05/0.2784, allocations: 41.7 kB / 1.005 GB, free: 4.801 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005292/0.2789, allocations: 0.6571 MB / 1.005 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.279, allocations: 145.9 kB / 1.005 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.35e-05/0.2791, allocations: 61.69 kB / 1.005 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2793, allocations: 330 kB / 1.006 GB, free: 3.598 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009161/0.2802, allocations: 385 kB / 1.006 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.2813, allocations: 0.6469 MB / 1.007 GB, free: 2.461 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.2833, allocations: 1.008 MB / 1.008 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2833, allocations: 0 / 1.008 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002454/0.2858, allocations: 1.181 MB / 1.009 GB, free: 160 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.286, allocations: 326.1 kB / 1.009 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.286, allocations: 4 kB / 1.009 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.286, allocations: 12 kB / 1.009 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.2868, allocations: 195.7 kB / 1.009 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.2868, allocations: 15.94 kB / 1.009 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.2878, allocations: 120.5 kB / 1.01 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.2879, allocations: 43.92 kB / 1.01 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-06/0.2879, allocations: 4 kB / 1.01 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001966/0.2899, allocations: 0.9733 MB / 1.011 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2899, allocations: 8.625 kB / 1.011 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.2899, allocations: 12 kB / 1.011 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.2905, allocations: 187.8 kB / 1.011 GB, free: 14.16 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.2905, allocations: 11.94 kB / 1.011 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.2913, allocations: 108.5 kB / 1.011 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.2914, allocations: 39.98 kB / 1.011 GB, free: 14.01 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 (QHea.nextEventScaled,QHea.nextEvent,$PRE.QHea.nextEvent,QHea.last,QHea.b,QHea.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.0006386/0.292, allocations: 498.8 kB / 1.011 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.2922, allocations: 134.3 kB / 1.011 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.2946, allocations: 1.079 MB / 1.013 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.2947, allocations: 7.984 kB / 1.013 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2947, allocations: 3.938 kB / 1.013 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003855/0.2951, allocations: 303.3 kB / 1.013 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.2952, allocations: 12 kB / 1.013 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008202/0.296, allocations: 115.8 kB / 1.013 GB, free: 11.83 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.2961, allocations: 31.95 kB / 1.013 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002498/0.2986, allocations: 1.105 MB / 1.014 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002196/0.3009, allocations: 1.174 MB / 1.015 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000911/0.3018, allocations: 418.2 kB / 1.016 GB, free: 9.059 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001117/0.3029, allocations: 0.895 MB / 1.016 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of Backend: time 4.71e-07/0.3029, allocations: 0 / 1.016 GB, free: 8.164 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003727/0.3066, allocations: 1.675 MB / 1.018 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of SimCode: time 0.004764/0.3114, allocations: 3.484 MB / 1.022 GB, free: 2.93 MB / 0.6667 GB Notification: Performance of Templates: time 0.04376/0.3552, allocations: 30.71 MB / 1.052 GB, free: 4.527 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)