Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 105.1 kB / 16.36 MB, free: 6.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 192.5 kB / 17.29 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.3 MB / 0.5496 GB, free: 17.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 79.89 kB / 0.6729 GB, free: 5.797 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2296, allocations: 114.6 MB / 0.7848 GB, free: 3.133 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.5062/0.7359, allocations: 57.22 MB / 0.8407 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02841/0.7643, allocations: 17.38 MB / 0.8576 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/0.7692, allocations: 70.31 kB / 0.8577 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004834/0.7741, allocations: 1.056 MB / 0.8587 GB, free: 14.99 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00949/0.7837, allocations: 2.215 MB / 0.8609 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00703/0.7907, allocations: 1.947 MB / 0.8628 GB, free: 12.68 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009009/0.7997, allocations: 3.958 MB / 0.8667 GB, free: 10.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003383/0.8032, allocations: 1.438 MB / 0.8681 GB, free: 10.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005833/0.809, allocations: 1.649 MB / 0.8697 GB, free: 9.305 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003128/0.8122, allocations: 1.098 MB / 0.8707 GB, free: 8.785 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005679/0.8128, allocations: 169.5 kB / 0.8709 GB, free: 8.785 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005276/0.8181, allocations: 1.512 MB / 0.8724 GB, free: 8.023 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008614/0.819, allocations: 465.3 kB / 0.8728 GB, free: 7.668 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.8208, allocations: 0.8967 MB / 0.8737 GB, free: 7.035 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006746/0.8276, allocations: 3.116 MB / 0.8767 GB, free: 4.895 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.8276, allocations: 1.375 kB / 0.8768 GB, free: 4.895 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8277, allocations: 0 / 0.8768 GB, free: 4.895 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.556e-05/0.8277, allocations: 0.75 kB / 0.8768 GB, free: 4.895 MB / 0.67 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.005369/0.8331, allocations: 2.12 MB / 0.8788 GB, free: 3.27 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.8332, allocations: 9.156 kB / 0.8788 GB, free: 3.27 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/0.835, allocations: 365.1 kB / 0.8792 GB, free: 3.102 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00351/0.8386, allocations: 1.557 MB / 0.8807 GB, free: 1.875 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.654e-05/0.8387, allocations: 68.19 kB / 0.8808 GB, free: 1.848 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.8388, allocations: 92.47 kB / 0.8809 GB, free: 1.816 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002428/0.8413, allocations: 1.101 MB / 0.8819 GB, free: 1.098 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.8413, allocations: 1.094 kB / 0.8819 GB, free: 1.098 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/0.8414, allocations: 38.19 kB / 0.882 GB, free: 1.07 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.395e-05/0.8414, allocations: 19.72 kB / 0.882 GB, free: 1.07 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.8438, allocations: 0.8834 MB / 0.8828 GB, free: 0.6367 MB / 0.67 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.008321/0.8522, allocations: 5.284 MB / 0.888 GB, free: 12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.8542, allocations: 0.6266 MB / 0.8886 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000928/0.8552, allocations: 349.2 kB / 0.889 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003057/0.8583, allocations: 1.804 MB / 0.8907 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.8595, allocations: 452.5 kB / 0.8911 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=43): time 2.975e-06/0.8595, allocations: 1.75 kB / 0.8911 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=43): time 0.003353/0.8629, allocations: 1.075 MB / 0.8922 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.141e-05/0.863, allocations: 82.52 kB / 0.8923 GB, free: 8.871 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/0.8652, allocations: 1.342 MB / 0.8936 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.8653, allocations: 38.95 kB / 0.8936 GB, free: 8.09 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006429/0.866, allocations: 0.666 MB / 0.8943 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.8662, allocations: 144.9 kB / 0.8944 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.8665, allocations: 162.9 kB / 0.8946 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8666, allocations: 333.4 kB / 0.8949 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.8676, allocations: 363.2 kB / 0.8952 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.8689, allocations: 0.6321 MB / 0.8958 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/0.871, allocations: 0.9621 MB / 0.8968 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.8711, allocations: 6.688 kB / 0.8968 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00316/0.8742, allocations: 1.132 MB / 0.8979 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.781e-05/0.8743, allocations: 44.64 kB / 0.8979 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.8743, allocations: 10.86 kB / 0.898 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.8744, allocations: 11 kB / 0.898 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007795/0.8751, allocations: 186.5 kB / 0.8981 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.8752, allocations: 14.94 kB / 0.8982 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.8765, allocations: 132.8 kB / 0.8983 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.332e-05/0.8766, allocations: 39.61 kB / 0.8983 GB, free: 4.781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001454/0.8781, allocations: 0.6211 MB / 0.8989 GB, free: 4.41 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.8792, allocations: 0.5842 MB / 0.8995 GB, free: 3.895 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001704/0.8809, allocations: 0.8933 MB / 0.9004 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.532e-06/0.8809, allocations: 4 kB / 0.9004 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.002572/0.8835, allocations: 1.055 MB / 0.9014 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.8835, allocations: 37.7 kB / 0.9014 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.8836, allocations: 11.97 kB / 0.9015 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8836, allocations: 12 kB / 0.9015 GB, free: 1.746 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.8843, allocations: 175.7 kB / 0.9016 GB, free: 1.574 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.717e-05/0.8843, allocations: 19.92 kB / 0.9016 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.8855, allocations: 100.2 kB / 0.9017 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.8856, allocations: 43.98 kB / 0.9018 GB, free: 1.414 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (79): * Single equations (assignments): 77 * 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.0003731/0.886, allocations: 261.7 kB / 0.902 GB, free: 1.145 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/0.8863, allocations: 142.2 kB / 0.9022 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.8889, allocations: 0.987 MB / 0.9031 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.8889, allocations: 8 kB / 0.9031 GB, free: 8 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8889, allocations: 7.938 kB / 0.9032 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.8889, allocations: 11.97 kB / 0.9032 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.8931, allocations: 2.142 MB / 0.9053 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.8932, allocations: 8.438 kB / 0.9053 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006044/0.8938, allocations: 120 kB / 0.9054 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.8938, allocations: 4 kB / 0.9054 GB, free: 13.63 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.164e-05/0.8939, allocations: 19.98 kB / 0.9054 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.8939, allocations: 3.062 kB / 0.9054 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.8939, allocations: 10.67 kB / 0.9054 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.8963, allocations: 1.026 MB / 0.9064 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/0.897, allocations: 315.1 kB / 0.9067 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8971, allocations: 12 kB / 0.9067 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/0.898, allocations: 71.92 kB / 0.9068 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8981, allocations: 43.81 kB / 0.9068 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.8982, allocations: 31.97 kB / 0.9069 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001411/0.8996, allocations: 0.9188 MB / 0.9078 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8996, allocations: 4 kB / 0.9078 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002254/0.9019, allocations: 0.6939 MB / 0.9084 GB, free: 10.44 MB / 0.7012 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 (45): * Single equations (assignments): 40 * 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.001154/0.9031, allocations: 460.4 kB / 0.9089 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003533/0.9066, allocations: 1.433 MB / 0.9103 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9066, allocations: 1.938 kB / 0.9103 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.9077, allocations: 468.7 kB / 0.9107 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.9109, allocations: 0.6496 MB / 0.9114 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.9154, allocations: 2.297 MB / 0.9136 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/0.9163, allocations: 1.206 MB / 0.9148 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.9167, allocations: 111.4 kB / 0.9149 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of SimCode: time 9.82e-07/0.9167, allocations: 0 / 0.9149 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of Templates: time 0.04169/0.9584, allocations: 25.32 MB / 0.9396 GB, free: 10.79 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)