Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.918/3.918, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.002255/0.002255, allocations: 184.7 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.944/3.944, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.001642/0.001642, allocations: 99.34 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0008055/0.0008057, allocations: 13 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3508, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2/2.351, allocations: 435.4 MB / 1.325 GB, free: 4.883 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005509/2.352, allocations: 100.4 kB / 1.325 GB, free: 4.832 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.627/7.979, allocations: 0.67 GB / 1.995 GB, free: 58.27 MB / 0.8699 GB Notification: Performance of FrontEnd: time 3.707e-06/7.979, allocations: 0 / 1.995 GB, free: 58.27 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.0004427/7.98, allocations: 43.92 kB / 1.995 GB, free: 58.22 MB / 0.8699 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.01175/7.991, allocations: 2.144 MB / 1.997 GB, free: 56.01 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/7.992, allocations: 12.03 kB / 1.997 GB, free: 56 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/7.996, allocations: 338.7 kB / 1.997 GB, free: 55.67 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03974/8.036, allocations: 7.672 MB / 2.005 GB, free: 47.88 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/8.036, allocations: 70.38 kB / 2.005 GB, free: 47.8 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005499/8.036, allocations: 96.3 kB / 2.005 GB, free: 47.71 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005296/8.042, allocations: 1.039 MB / 2.006 GB, free: 46.62 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.935e-05/8.042, allocations: 3.938 kB / 2.006 GB, free: 46.62 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002602/8.042, allocations: 36 kB / 2.006 GB, free: 46.58 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/8.042, allocations: 23.94 kB / 2.006 GB, free: 46.56 MB / 0.8699 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005624/8.048, allocations: 0.769 MB / 2.007 GB, free: 45.79 MB / 0.8699 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.01562/8.064, allocations: 4.702 MB / 2.011 GB, free: 40.81 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003866/8.068, allocations: 0.5302 MB / 2.012 GB, free: 40.27 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/8.07, allocations: 297.6 kB / 2.012 GB, free: 39.98 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0055/8.075, allocations: 1.638 MB / 2.014 GB, free: 38.16 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002309/8.077, allocations: 438.9 kB / 2.014 GB, free: 37.71 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001256/8.079, allocations: 79.34 kB / 2.014 GB, free: 37.63 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=47): time 8.376e-06/8.079, allocations: 7.938 kB / 2.014 GB, free: 37.62 MB / 0.8699 GB Notification: Performance of matching and sorting (n=47): time 0.008255/8.087, allocations: 1.237 MB / 2.015 GB, free: 36.33 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/8.087, allocations: 110.8 kB / 2.016 GB, free: 36.2 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004121/8.091, allocations: 1.222 MB / 2.017 GB, free: 34.96 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.0003053/8.092, allocations: 37.7 kB / 2.017 GB, free: 34.92 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.001257/8.093, allocations: 0.6571 MB / 2.017 GB, free: 34.26 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003946/8.094, allocations: 149.8 kB / 2.018 GB, free: 34.11 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/8.094, allocations: 16 kB / 2.018 GB, free: 34.09 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 0.0001301/8.094, allocations: 329.9 kB / 2.018 GB, free: 33.77 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001991/8.096, allocations: 269.1 kB / 2.018 GB, free: 33.5 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002318/8.098, allocations: 0.5454 MB / 2.019 GB, free: 32.83 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001978/8.1, allocations: 362.7 kB / 2.019 GB, free: 32.47 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/8.1, allocations: 4 kB / 2.019 GB, free: 32.47 MB / 0.8699 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.005965/8.106, allocations: 1.012 MB / 2.02 GB, free: 31.44 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003175/8.107, allocations: 332.3 kB / 2.02 GB, free: 31.01 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/8.107, allocations: 8 kB / 2.02 GB, free: 31 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00083/8.108, allocations: 81.92 kB / 2.02 GB, free: 30.92 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/8.109, allocations: 159.8 kB / 2.021 GB, free: 30.76 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/8.111, allocations: 1.128 MB / 2.022 GB, free: 29.58 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/8.114, allocations: 83.97 kB / 2.022 GB, free: 29.5 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004695/8.114, allocations: 47.97 kB / 2.022 GB, free: 29.45 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/8.114, allocations: 4 kB / 2.022 GB, free: 29.45 MB / 0.8699 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005094/8.119, allocations: 0.8773 MB / 2.023 GB, free: 28.56 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/8.12, allocations: 8 kB / 2.023 GB, free: 28.55 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007957/8.12, allocations: 77.69 kB / 2.023 GB, free: 28.47 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/8.122, allocations: 156 kB / 2.023 GB, free: 28.32 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/8.123, allocations: 1.128 MB / 2.024 GB, free: 27.14 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/8.126, allocations: 76.06 kB / 2.024 GB, free: 27.06 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003941/8.126, allocations: 55.92 kB / 2.024 GB, free: 27.01 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (70): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00211/8.128, allocations: 0.4889 MB / 2.025 GB, free: 26.5 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006381/8.129, allocations: 134.3 kB / 2.025 GB, free: 26.37 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009304/8.138, allocations: 1.014 MB / 2.026 GB, free: 25.33 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/8.138, allocations: 19.92 kB / 2.026 GB, free: 25.31 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/8.138, allocations: 0 / 2.026 GB, free: 25.31 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/8.139, allocations: 0 / 2.026 GB, free: 25.31 MB / 0.8699 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.009394/8.148, allocations: 2.093 MB / 2.028 GB, free: 23.13 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/8.148, allocations: 0 / 2.028 GB, free: 23.13 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/8.149, allocations: 104 kB / 2.028 GB, free: 23.03 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/8.15, allocations: 73.69 kB / 2.028 GB, free: 22.95 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/8.15, allocations: 15.98 kB / 2.028 GB, free: 22.94 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009911/8.151, allocations: 1.124 MB / 2.029 GB, free: 21.76 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/8.151, allocations: 0 / 2.029 GB, free: 21.76 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005115/8.156, allocations: 1.107 MB / 2.03 GB, free: 20.61 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/8.158, allocations: 287.3 kB / 2.03 GB, free: 20.31 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004736/8.158, allocations: 12 kB / 2.03 GB, free: 20.3 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/8.161, allocations: 87.91 kB / 2.03 GB, free: 20.21 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/8.161, allocations: 51.8 kB / 2.031 GB, free: 20.16 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/8.161, allocations: 31.98 kB / 2.031 GB, free: 20.13 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.002987/8.164, allocations: 0.8364 MB / 2.031 GB, free: 19.29 MB / 0.8699 GB Notification: Performance of sort global known variables: time 9.22e-07/8.164, allocations: 0 / 2.031 GB, free: 19.29 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.006204/8.17, allocations: 0.7291 MB / 2.032 GB, free: 18.56 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003617/8.174, allocations: 0.9507 MB / 2.033 GB, free: 17.63 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.007014/8.181, allocations: 1.244 MB / 2.034 GB, free: 16.36 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/8.181, allocations: 3.938 kB / 2.034 GB, free: 16.36 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/8.184, allocations: 430 kB / 2.035 GB, free: 15.93 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007792/8.191, allocations: 0.6333 MB / 2.035 GB, free: 15.3 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009787/8.201, allocations: 2.655 MB / 2.038 GB, free: 12.59 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/8.203, allocations: 1.206 MB / 2.039 GB, free: 11.36 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.003566/8.207, allocations: 298.8 kB / 2.039 GB, free: 11.06 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006767/8.207, allocations: 103.4 kB / 2.039 GB, free: 10.96 MB / 0.8699 GB Notification: Performance of SimCode: time 1.713e-06/8.207, allocations: 0 / 2.039 GB, free: 10.96 MB / 0.8699 GB Notification: Performance of Templates: time 1.294/9.502, allocations: 30.26 MB / 2.069 GB, free: 147.5 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.HeatingSubstation.pipe 2>&1)