Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, allocations: 252 MB / 267.9 MB, free: 10.92 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.001007/0.001006, allocations: 178.2 kB / 327.5 MB, free: 2.145 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.584/1.584, allocations: 205.4 MB / 0.5785 GB, free: 20.2 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.0008585/0.0008586, allocations: 106.1 kB / 0.6831 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 13.16 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1918, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8079/0.9997, allocations: 435.7 MB / 1.327 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/1, allocations: 102.5 kB / 1.327 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.943/2.943, allocations: 0.6701 GB / 1.997 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.853e-06/2.943, allocations: 0 / 1.997 GB, free: 95.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002237/2.943, allocations: 39.98 kB / 1.997 GB, free: 95.46 MB / 0.8855 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.004875/2.948, allocations: 2.12 MB / 1.999 GB, free: 93.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/2.948, allocations: 8.031 kB / 1.999 GB, free: 93.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/2.95, allocations: 346.7 kB / 1.999 GB, free: 92.92 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/2.964, allocations: 7.743 MB / 2.007 GB, free: 85.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/2.964, allocations: 66.38 kB / 2.007 GB, free: 85 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/2.964, allocations: 88.38 kB / 2.007 GB, free: 84.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/2.966, allocations: 1.039 MB / 2.008 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/2.966, allocations: 7.875 kB / 2.008 GB, free: 83.82 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.749e-05/2.966, allocations: 40 kB / 2.008 GB, free: 83.78 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/2.966, allocations: 23.98 kB / 2.008 GB, free: 83.75 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/2.968, allocations: 0.7729 MB / 2.009 GB, free: 82.98 MB / 0.8855 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.005388/2.973, allocations: 4.694 MB / 2.013 GB, free: 78.01 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/2.975, allocations: 0.5263 MB / 2.014 GB, free: 77.48 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006152/2.975, allocations: 297.6 kB / 2.014 GB, free: 77.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001928/2.977, allocations: 1.651 MB / 2.016 GB, free: 75.36 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007189/2.978, allocations: 439.1 kB / 2.016 GB, free: 74.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004757/2.978, allocations: 83.42 kB / 2.016 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.236e-06/2.978, allocations: 0 / 2.016 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.00256/2.981, allocations: 1.239 MB / 2.018 GB, free: 73.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/2.981, allocations: 114.8 kB / 2.018 GB, free: 73.39 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/2.982, allocations: 1.226 MB / 2.019 GB, free: 72.16 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/2.983, allocations: 41.7 kB / 2.019 GB, free: 72.11 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/2.983, allocations: 0.6455 MB / 2.02 GB, free: 71.46 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.592e-05/2.983, allocations: 153.8 kB / 2.02 GB, free: 71.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/2.983, allocations: 16 kB / 2.02 GB, free: 71.29 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.555e-05/2.983, allocations: 334 kB / 2.02 GB, free: 70.96 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/2.984, allocations: 273.1 kB / 2.02 GB, free: 70.69 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006321/2.984, allocations: 0.5485 MB / 2.021 GB, free: 70.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/2.986, allocations: 0.8172 MB / 2.022 GB, free: 69.09 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/2.986, allocations: 3.938 kB / 2.022 GB, free: 69.09 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001807/2.987, allocations: 1.016 MB / 2.023 GB, free: 68.05 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/2.988, allocations: 336.7 kB / 2.023 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/2.988, allocations: 4 kB / 2.023 GB, free: 67.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/2.988, allocations: 89.67 kB / 2.023 GB, free: 67.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/2.988, allocations: 155.8 kB / 2.023 GB, free: 67.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004299/2.989, allocations: 1.124 MB / 2.024 GB, free: 66.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/2.99, allocations: 95.89 kB / 2.024 GB, free: 66.11 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/2.99, allocations: 39.98 kB / 2.024 GB, free: 66.07 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/2.99, allocations: 4 kB / 2.024 GB, free: 66.06 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/2.991, allocations: 0.8738 MB / 2.025 GB, free: 65.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/2.991, allocations: 8 kB / 2.025 GB, free: 65.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/2.992, allocations: 85.7 kB / 2.025 GB, free: 65.08 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004771/2.992, allocations: 152 kB / 2.026 GB, free: 64.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/2.992, allocations: 1.124 MB / 2.027 GB, free: 63.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/2.993, allocations: 83.48 kB / 2.027 GB, free: 63.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.718e-05/2.993, allocations: 51.92 kB / 2.027 GB, free: 63.62 MB / 0.8855 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,QCoo.a,QCoo.b,QCoo.last,$PRE.QCoo.nextEvent,QCoo.nextEvent,QCoo.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.0006317/2.994, allocations: 491.3 kB / 2.027 GB, free: 63.13 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/2.994, allocations: 134.3 kB / 2.027 GB, free: 63 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/2.996, allocations: 1.022 MB / 2.028 GB, free: 61.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/2.996, allocations: 8.078 kB / 2.028 GB, free: 61.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/2.996, allocations: 7.984 kB / 2.028 GB, free: 61.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/2.996, allocations: 0 / 2.028 GB, free: 61.94 MB / 0.8855 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.003103/2.999, allocations: 2.078 MB / 2.03 GB, free: 59.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/2.999, allocations: 0 / 2.03 GB, free: 59.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/3, allocations: 107.9 kB / 2.03 GB, free: 59.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/3, allocations: 77.61 kB / 2.031 GB, free: 59.59 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.128e-05/3, allocations: 19.98 kB / 2.031 GB, free: 59.57 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003805/3, allocations: 1.12 MB / 2.032 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/3, allocations: 7.969 kB / 2.032 GB, free: 58.39 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/3.002, allocations: 1.107 MB / 2.033 GB, free: 57.23 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/3.002, allocations: 295.1 kB / 2.033 GB, free: 56.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/3.002, allocations: 23.42 kB / 2.033 GB, free: 56.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007831/3.003, allocations: 75.92 kB / 2.033 GB, free: 56.83 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/3.003, allocations: 35.95 kB / 2.033 GB, free: 56.79 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.065e-05/3.003, allocations: 31.97 kB / 2.033 GB, free: 56.76 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009144/3.004, allocations: 0.8403 MB / 2.034 GB, free: 55.92 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/3.004, allocations: 0 / 2.034 GB, free: 55.92 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001905/3.006, allocations: 0.7213 MB / 2.035 GB, free: 55.2 MB / 0.8855 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,QCoo.a,QCoo.b,QCoo.last,QCoo.nextEvent,QCoo.nextEventScaled) * Number of discrete states: 6 (QCoo.nextEvent,QCoo.last,QCoo.nextEventScaled,QCoo.b,QCoo.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.001418/3.008, allocations: 0.9706 MB / 2.036 GB, free: 54.25 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002139/3.01, allocations: 1.251 MB / 2.037 GB, free: 52.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/3.01, allocations: 0 / 2.037 GB, free: 52.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006889/3.011, allocations: 424.3 kB / 2.037 GB, free: 52.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/3.013, allocations: 0.6132 MB / 2.038 GB, free: 51.95 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003365/3.016, allocations: 2.666 MB / 2.041 GB, free: 49.24 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/3.017, allocations: 1.206 MB / 2.042 GB, free: 48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001246/3.018, allocations: 298.8 kB / 2.042 GB, free: 47.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/3.019, allocations: 99.41 kB / 2.042 GB, free: 47.61 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/3.019, allocations: 0 / 2.042 GB, free: 47.61 MB / 0.8855 GB Notification: Performance of Templates: time 0.03978/3.058, allocations: 30.64 MB / 2.072 GB, free: 17.22 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)