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.001115/0.001115, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.00119/0.00119, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.603/1.603, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.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.836/1.836, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0005513/0.0005516, allocations: 14.44 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2511, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation): time 0.05417/0.3053, allocations: 52.77 MB / 0.8388 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.33, allocations: 16.37 MB / 0.8548 GB, free: 6.633 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002724/0.3328, allocations: 55.62 kB / 0.8549 GB, free: 6.578 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.3354, allocations: 0.6795 MB / 0.8555 GB, free: 5.895 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005505/0.3409, allocations: 1.706 MB / 0.8572 GB, free: 4.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.3453, allocations: 1.386 MB / 0.8585 GB, free: 2.812 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006487/0.3518, allocations: 4.318 MB / 0.8628 GB, free: 14.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002177/0.354, allocations: 1.006 MB / 0.8637 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003992/0.3581, allocations: 1.256 MB / 0.865 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.3604, allocations: 0.976 MB / 0.8659 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.3606, allocations: 52 kB / 0.866 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.3634, allocations: 1.045 MB / 0.867 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004555/0.3639, allocations: 330.6 kB / 0.8673 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007417/0.3647, allocations: 356.9 kB / 0.8676 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003773/0.3684, allocations: 2.315 MB / 0.8699 GB, free: 7.105 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3685, allocations: 4 kB / 0.8699 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3685, allocations: 0 / 0.8699 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.445e-05/0.3686, allocations: 4 kB / 0.8699 GB, free: 7.098 MB / 0.6856 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.003826/0.3724, allocations: 1.83 MB / 0.8717 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3724, allocations: 8.031 kB / 0.8717 GB, free: 5.195 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.374, allocations: 397.6 kB / 0.8721 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.3768, allocations: 1.512 MB / 0.8736 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006046/0.3774, allocations: 201.9 kB / 0.8738 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.3776, allocations: 84 kB / 0.8738 GB, free: 2.961 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.3799, allocations: 1.122 MB / 0.8749 GB, free: 1.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.3799, allocations: 3.953 kB / 0.8749 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/0.38, allocations: 40 kB / 0.875 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.38, allocations: 20 kB / 0.875 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/0.3824, allocations: 0.9446 MB / 0.8759 GB, free: 0.7891 MB / 0.6856 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.006908/0.3893, allocations: 5.004 MB / 0.8808 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3912, allocations: 0.7201 MB / 0.8815 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009141/0.3921, allocations: 392.2 kB / 0.8819 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002354/0.3945, allocations: 1.832 MB / 0.8837 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/0.3956, allocations: 492.6 kB / 0.8841 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003355/0.396, allocations: 71.44 kB / 0.8842 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=44): time 2.716e-06/0.396, allocations: 0 / 0.8842 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=44): time 0.003021/0.399, allocations: 1.185 MB / 0.8854 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.291e-05/0.3991, allocations: 85.11 kB / 0.8854 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.401, allocations: 1.289 MB / 0.8867 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.4011, allocations: 45.64 kB / 0.8867 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005836/0.4017, allocations: 0.6492 MB / 0.8874 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.4018, allocations: 145.9 kB / 0.8875 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.4019, allocations: 16 kB / 0.8875 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.402, allocations: 333.9 kB / 0.8878 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.403, allocations: 369 kB / 0.8882 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4042, allocations: 0.6273 MB / 0.8888 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4052, allocations: 442.3 kB / 0.8892 GB, free: 2.484 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.4052, allocations: 4 kB / 0.8892 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002724/0.408, allocations: 1.145 MB / 0.8904 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.4083, allocations: 323 kB / 0.8907 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.4083, allocations: 8 kB / 0.8907 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.4083, allocations: 12 kB / 0.8907 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/0.4091, allocations: 199.7 kB / 0.8909 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/0.4092, allocations: 12 kB / 0.8909 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.4103, allocations: 128.4 kB / 0.891 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/0.4104, allocations: 39.97 kB / 0.891 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/0.4104, allocations: 4 kB / 0.8911 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002041/0.4124, allocations: 0.9681 MB / 0.892 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.4124, allocations: 8.625 kB / 0.892 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4125, allocations: 12 kB / 0.892 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/0.4131, allocations: 191.7 kB / 0.8922 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/0.4131, allocations: 8 kB / 0.8922 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009558/0.4141, allocations: 123 kB / 0.8923 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.4142, allocations: 32 kB / 0.8924 GB, free: 15.17 MB / 0.7169 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 (76): * Single equations (assignments): 74 * 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.0007475/0.4149, allocations: 494.6 kB / 0.8928 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.4152, allocations: 142.2 kB / 0.893 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.4178, allocations: 1.082 MB / 0.894 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.4178, allocations: 8 kB / 0.894 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4178, allocations: 0 / 0.894 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.4179, allocations: 3.984 kB / 0.894 GB, free: 13.44 MB / 0.7169 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.004236/0.4221, allocations: 2.224 MB / 0.8962 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.4221, allocations: 0 / 0.8962 GB, free: 11.13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.4228, allocations: 143.9 kB / 0.8963 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4228, allocations: 0 / 0.8963 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.4228, allocations: 19.98 kB / 0.8964 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.4228, allocations: 4 kB / 0.8964 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4229, allocations: 0 / 0.8964 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/0.4257, allocations: 1.106 MB / 0.8974 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/0.4264, allocations: 315.2 kB / 0.8977 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002969/0.4267, allocations: 12 kB / 0.8978 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.4278, allocations: 115.9 kB / 0.8979 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4279, allocations: 47.84 kB / 0.8979 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.428, allocations: 27.97 kB / 0.8979 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001546/0.4295, allocations: 0.8793 MB / 0.8988 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4295, allocations: 0 / 0.8988 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002415/0.432, allocations: 0.6938 MB / 0.8995 GB, free: 7.719 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.4332, allocations: 448.6 kB / 0.8999 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003895/0.4371, allocations: 1.49 MB / 0.9014 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.4371, allocations: 0 / 0.9014 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.4383, allocations: 0.4964 MB / 0.9018 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003348/0.4416, allocations: 0.623 MB / 0.9024 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00532/0.447, allocations: 2.757 MB / 0.9051 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.4481, allocations: 1.198 MB / 0.9063 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001533/0.4496, allocations: 303.6 kB / 0.9066 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.4499, allocations: 103.4 kB / 0.9067 GB, free: 232 kB / 0.7169 GB Notification: Performance of SimCode: time 6.91e-07/0.4499, allocations: 0 / 0.9067 GB, free: 232 kB / 0.7169 GB Notification: Performance of Templates: time 0.4759/0.9258, allocations: 26.1 MB / 0.9322 GB, free: 126 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: