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.392/1.392, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001052/0.001052, allocations: 176 kB / 326.5 MB, free: 2.691 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.919/1.919, allocations: 205 MB / 0.5766 GB, free: 21.02 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.001024/0.001024, allocations: 94 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003537, allocations: 9.188 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04166/0.2805, allocations: 56.56 MB / 0.952 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02398/0.3046, allocations: 17.87 MB / 0.9694 GB, free: 9.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/0.3075, allocations: 55.62 kB / 0.9695 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002978/0.3105, allocations: 0.9019 MB / 0.9703 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006505/0.317, allocations: 2.041 MB / 0.9723 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004989/0.322, allocations: 1.739 MB / 0.974 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006982/0.329, allocations: 5.001 MB / 0.9789 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.3314, allocations: 1.14 MB / 0.98 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.3348, allocations: 1.311 MB / 0.9813 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.3371, allocations: 1.05 MB / 0.9823 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004664/0.3375, allocations: 52 kB / 0.9824 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.3413, allocations: 1.294 MB / 0.9837 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0006773/0.342, allocations: 342.5 kB / 0.984 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.3437, allocations: 0.7576 MB / 0.9847 GB, free: 9.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003739/0.3475, allocations: 2.338 MB / 0.987 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3475, allocations: 0 / 0.987 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.484e-06/0.3475, allocations: 0 / 0.987 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.809e-05/0.3476, allocations: 0 / 0.987 GB, free: 7.426 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.004582/0.3522, allocations: 1.807 MB / 0.9888 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.3522, allocations: 12.02 kB / 0.9888 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.3542, allocations: 398.6 kB / 0.9892 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/0.3595, allocations: 1.568 MB / 0.9907 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001/0.3605, allocations: 201.9 kB / 0.9909 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.3608, allocations: 88 kB / 0.991 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003633/0.3645, allocations: 1.126 MB / 0.9921 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.3645, allocations: 3.938 kB / 0.9921 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.3647, allocations: 32 kB / 0.9921 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.681e-05/0.3647, allocations: 20 kB / 0.9921 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.3686, allocations: 0.9564 MB / 0.9931 GB, free: 1.062 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.01087/0.3795, allocations: 5.104 MB / 0.998 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.3828, allocations: 0.7174 MB / 0.9987 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.3843, allocations: 395.5 kB / 0.9991 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004016/0.3884, allocations: 1.817 MB / 1.001 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001834/0.3902, allocations: 494.1 kB / 1.001 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008283/0.3911, allocations: 75.44 kB / 1.001 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 5.44e-06/0.3911, allocations: 0 / 1.001 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.005171/0.3963, allocations: 1.2 MB / 1.003 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/0.3964, allocations: 85.05 kB / 1.003 GB, free: 6.664 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003052/0.3995, allocations: 1.297 MB / 1.004 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.3997, allocations: 45.7 kB / 1.004 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.4008, allocations: 0.6532 MB / 1.005 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002675/0.4011, allocations: 145.9 kB / 1.005 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.4012, allocations: 57.69 kB / 1.005 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.4015, allocations: 334 kB / 1.005 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.4031, allocations: 389.1 kB / 1.006 GB, free: 3.727 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.4051, allocations: 0.6429 MB / 1.006 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003422/0.4085, allocations: 1.008 MB / 1.007 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.4085, allocations: 0 / 1.007 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.004426/0.413, allocations: 1.185 MB / 1.008 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003256/0.4133, allocations: 322.4 kB / 1.009 GB, free: 248 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.4134, allocations: 4 kB / 1.009 GB, free: 244 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.653e-05/0.4134, allocations: 12 kB / 1.009 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4146, allocations: 203.7 kB / 1.009 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.4147, allocations: 15.92 kB / 1.009 GB, free: 12 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.4166, allocations: 120.6 kB / 1.009 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.4167, allocations: 39.97 kB / 1.009 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4167, allocations: 4 kB / 1.009 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003307/0.4201, allocations: 0.9622 MB / 1.01 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.4201, allocations: 8.125 kB / 1.01 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4201, allocations: 12 kB / 1.01 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.4212, allocations: 191.7 kB / 1.01 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.83e-05/0.4212, allocations: 15.88 kB / 1.01 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.4229, allocations: 108.5 kB / 1.01 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.423, allocations: 39.98 kB / 1.01 GB, free: 14.52 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.001263/0.4243, allocations: 490.9 kB / 1.011 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.4247, allocations: 138.3 kB / 1.011 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003978/0.4287, allocations: 1.098 MB / 1.012 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/0.4288, allocations: 15.92 kB / 1.012 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.4288, allocations: 0 / 1.012 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.4288, allocations: 0 / 1.012 GB, free: 12.76 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.006416/0.4352, allocations: 2.22 MB / 1.014 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4353, allocations: 128 / 1.014 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009736/0.4363, allocations: 139.8 kB / 1.014 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.4363, allocations: 4 kB / 1.014 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.4364, allocations: 19.98 kB / 1.014 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.789e-06/0.4364, allocations: 4 kB / 1.014 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4364, allocations: 0 / 1.014 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004038/0.4405, allocations: 1.113 MB / 1.015 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009183/0.4414, allocations: 299.3 kB / 1.016 GB, free: 8.832 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/0.4417, allocations: 19.92 kB / 1.016 GB, free: 8.812 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/0.4431, allocations: 115.9 kB / 1.016 GB, free: 8.699 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.4433, allocations: 35.95 kB / 1.016 GB, free: 8.664 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.4434, allocations: 27.97 kB / 1.016 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002017/0.4455, allocations: 0.895 MB / 1.017 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4455, allocations: 0 / 1.017 GB, free: 7.742 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003076/0.4486, allocations: 0.6705 MB / 1.017 GB, free: 7.07 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,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.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.001468/0.45, allocations: 451.2 kB / 1.018 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005286/0.4553, allocations: 1.503 MB / 1.019 GB, free: 5.109 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4554, allocations: 4.062 kB / 1.019 GB, free: 5.105 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001723/0.4571, allocations: 0.4886 MB / 1.02 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004788/0.4619, allocations: 0.6059 MB / 1.02 GB, free: 4.004 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007004/0.469, allocations: 2.833 MB / 1.023 GB, free: 1.121 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.4701, allocations: 1.194 MB / 1.024 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.4707, allocations: 111.4 kB / 1.024 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of SimCode: time 1.001e-06/0.4708, allocations: 0 / 1.024 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of Templates: time 0.06098/0.5318, allocations: 24.54 MB / 1.048 GB, free: 7.438 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)