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.389/1.389, allocations: 252 MB / 268 MB, free: 10.84 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.001597/0.001597, allocations: 181.5 kB / 327.6 MB, free: 2.062 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.915/1.915, allocations: 205.4 MB / 0.5786 GB, free: 20.1 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.001085/0.001085, allocations: 90.3 kB / 0.6832 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003658, allocations: 12.11 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2526, allocations: 106.3 MB / 0.9015 GB, free: 63.33 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.04299/0.2956, allocations: 55.81 MB / 0.956 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.3215, allocations: 17.66 MB / 0.9732 GB, free: 5.625 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003208/0.3247, allocations: 55.62 kB / 0.9732 GB, free: 5.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003459/0.3282, allocations: 0.8981 MB / 0.9741 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006998/0.3353, allocations: 2.041 MB / 0.9761 GB, free: 2.621 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.005483/0.3408, allocations: 1.725 MB / 0.9778 GB, free: 0.9141 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007745/0.3485, allocations: 4.993 MB / 0.9827 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/0.3511, allocations: 1.152 MB / 0.9838 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/0.3547, allocations: 1.322 MB / 0.9851 GB, free: 9.395 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002271/0.357, allocations: 1.05 MB / 0.9861 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002689/0.3573, allocations: 56 kB / 0.9862 GB, free: 8.285 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003727/0.361, allocations: 1.294 MB / 0.9874 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0005222/0.3616, allocations: 338.5 kB / 0.9878 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.3631, allocations: 0.7865 MB / 0.9885 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.3664, allocations: 2.326 MB / 0.9908 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3664, allocations: 3.938 kB / 0.9908 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.715e-06/0.3664, allocations: 0 / 0.9908 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.864e-05/0.3665, allocations: 0 / 0.9908 GB, free: 3.523 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.003615/0.3701, allocations: 1.815 MB / 0.9926 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3701, allocations: 8.031 kB / 0.9926 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.3718, allocations: 398.6 kB / 0.993 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/0.3748, allocations: 1.566 MB / 0.9945 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006616/0.3755, allocations: 197.9 kB / 0.9947 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3756, allocations: 95.98 kB / 0.9948 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002396/0.378, allocations: 1.118 MB / 0.9959 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3781, allocations: 3.938 kB / 0.9959 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.992e-05/0.3782, allocations: 36 kB / 0.9959 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.188e-05/0.3782, allocations: 20 kB / 0.9959 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002422/0.3806, allocations: 0.9525 MB / 0.9969 GB, free: 13.16 MB / 0.6511 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.007532/0.3882, allocations: 5.1 MB / 1.002 GB, free: 7.762 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.3903, allocations: 0.7329 MB / 1.003 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009824/0.3913, allocations: 382.4 kB / 1.003 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002635/0.3939, allocations: 1.821 MB / 1.005 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001204/0.3951, allocations: 490.1 kB / 1.005 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004054/0.3955, allocations: 71.5 kB / 1.005 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.865e-06/0.3956, allocations: 0 / 1.005 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.003168/0.3987, allocations: 1.204 MB / 1.006 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/0.3988, allocations: 85.11 kB / 1.006 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.4007, allocations: 1.304 MB / 1.008 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.757e-05/0.4007, allocations: 33.7 kB / 1.008 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006072/0.4014, allocations: 0.6531 MB / 1.008 GB, free: 0.75 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.4015, allocations: 149.9 kB / 1.009 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.4016, allocations: 16 kB / 1.009 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4017, allocations: 326 kB / 1.009 GB, free: 268 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.4027, allocations: 385.1 kB / 1.009 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.4039, allocations: 0.6429 MB / 1.01 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.4061, allocations: 1.016 MB / 1.011 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.4061, allocations: 4 kB / 1.011 GB, free: 14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002808/0.4089, allocations: 1.181 MB / 1.012 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.4092, allocations: 314.5 kB / 1.012 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4092, allocations: 8 kB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.4093, allocations: 8 kB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.4101, allocations: 211.6 kB / 1.013 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.599e-05/0.4101, allocations: 19.92 kB / 1.013 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.4114, allocations: 116.5 kB / 1.013 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.4115, allocations: 39.98 kB / 1.013 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4115, allocations: 6.344 kB / 1.013 GB, free: 12 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002182/0.4137, allocations: 0.9662 MB / 1.014 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.4137, allocations: 11.94 kB / 1.014 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.4137, allocations: 11.98 kB / 1.014 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.4144, allocations: 179.8 kB / 1.014 GB, free: 10.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/0.4144, allocations: 23.86 kB / 1.014 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4155, allocations: 108.5 kB / 1.014 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.476e-05/0.4156, allocations: 39.98 kB / 1.014 GB, free: 10.66 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009555/0.4166, allocations: 486.9 kB / 1.014 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.4168, allocations: 134.3 kB / 1.015 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/0.4195, allocations: 1.087 MB / 1.016 GB, free: 8.949 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.4195, allocations: 7.938 kB / 1.016 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.4195, allocations: 7.938 kB / 1.016 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.4195, allocations: 7.984 kB / 1.016 GB, free: 8.926 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.004267/0.4238, allocations: 2.209 MB / 1.018 GB, free: 6.637 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.4238, allocations: 8.125 kB / 1.018 GB, free: 6.629 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.4245, allocations: 135.8 kB / 1.018 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.4245, allocations: 4 kB / 1.018 GB, free: 6.492 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.936e-05/0.4245, allocations: 19.98 kB / 1.018 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4246, allocations: 0 / 1.018 GB, free: 6.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/0.4246, allocations: 4 kB / 1.018 GB, free: 6.469 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.427, allocations: 1.109 MB / 1.019 GB, free: 5.32 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/0.4276, allocations: 307.3 kB / 1.019 GB, free: 5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.4278, allocations: 16 kB / 1.019 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009346/0.4287, allocations: 123.7 kB / 1.02 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.4289, allocations: 39.95 kB / 1.02 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/0.4289, allocations: 27.97 kB / 1.02 GB, free: 4.797 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001426/0.4304, allocations: 0.8949 MB / 1.02 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4304, allocations: 0 / 1.02 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002034/0.4324, allocations: 0.6822 MB / 1.021 GB, free: 3.219 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.001057/0.4335, allocations: 450 kB / 1.022 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003584/0.4371, allocations: 1.503 MB / 1.023 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4371, allocations: 0 / 1.023 GB, free: 1.262 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/0.4382, allocations: 0.4927 MB / 1.024 GB, free: 0.7578 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00316/0.4414, allocations: 0.612 MB / 1.024 GB, free: 156 kB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/0.4463, allocations: 2.843 MB / 1.027 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008464/0.4472, allocations: 1.202 MB / 1.028 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003785/0.4476, allocations: 111.4 kB / 1.028 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of SimCode: time 1.032e-06/0.4476, allocations: 0 / 1.028 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of Templates: time 0.03881/0.4864, allocations: 24.54 MB / 1.052 GB, free: 3.562 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)