Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.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.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.87/3.87, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.002237/0.002237, allocations: 177 kB / 326.2 MB, free: 2.84 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.908/3.908, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.001648/0.001648, allocations: 89.92 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007835/0.0007841, allocations: 11.41 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3461, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.124/2.47, allocations: 435.4 MB / 1.325 GB, free: 360 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005934/2.47, allocations: 99.84 kB / 1.325 GB, free: 304 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.573/8.044, allocations: 0.67 GB / 1.995 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.596e-06/8.044, allocations: 0 / 1.995 GB, free: 99.63 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004695/8.044, allocations: 39.94 kB / 1.995 GB, free: 99.59 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.01166/8.056, allocations: 2.128 MB / 1.997 GB, free: 97.39 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/8.056, allocations: 12.03 kB / 1.997 GB, free: 97.38 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/8.06, allocations: 354.6 kB / 1.997 GB, free: 97.03 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03785/8.098, allocations: 7.682 MB / 2.005 GB, free: 89.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000224/8.098, allocations: 66.38 kB / 2.005 GB, free: 89.16 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000537/8.099, allocations: 88.38 kB / 2.005 GB, free: 89.08 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00541/8.104, allocations: 1.039 MB / 2.006 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.157e-05/8.105, allocations: 10.69 kB / 2.006 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002522/8.105, allocations: 43.94 kB / 2.006 GB, free: 87.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/8.105, allocations: 20 kB / 2.006 GB, free: 87.91 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/8.11, allocations: 0.7767 MB / 2.007 GB, free: 87.14 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.01495/8.125, allocations: 4.69 MB / 2.011 GB, free: 82.17 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/8.129, allocations: 0.5249 MB / 2.012 GB, free: 81.64 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001818/8.131, allocations: 301.6 kB / 2.012 GB, free: 81.34 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005234/8.136, allocations: 1.642 MB / 2.014 GB, free: 79.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002292/8.139, allocations: 434.9 kB / 2.014 GB, free: 79.08 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001244/8.14, allocations: 83.39 kB / 2.014 GB, free: 79 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 7.224e-06/8.14, allocations: 0 / 2.014 GB, free: 79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.008049/8.148, allocations: 1.245 MB / 2.015 GB, free: 77.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/8.148, allocations: 110.8 kB / 2.016 GB, free: 77.57 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004022/8.152, allocations: 1.222 MB / 2.017 GB, free: 76.33 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003125/8.153, allocations: 45.64 kB / 2.017 GB, free: 76.28 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/8.154, allocations: 0.6532 MB / 2.017 GB, free: 75.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000392/8.154, allocations: 157.8 kB / 2.018 GB, free: 75.46 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/8.154, allocations: 12 kB / 2.018 GB, free: 75.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001238/8.155, allocations: 330 kB / 2.018 GB, free: 75.12 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001778/8.156, allocations: 273.1 kB / 2.018 GB, free: 74.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/8.159, allocations: 0.5442 MB / 2.019 GB, free: 74.19 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002057/8.161, allocations: 358.7 kB / 2.019 GB, free: 73.83 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-05/8.161, allocations: 4 kB / 2.019 GB, free: 73.83 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.005789/8.167, allocations: 1.012 MB / 2.02 GB, free: 72.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000333/8.167, allocations: 328.1 kB / 2.02 GB, free: 72.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.209e-05/8.167, allocations: 8 kB / 2.02 GB, free: 72.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/8.168, allocations: 89.61 kB / 2.02 GB, free: 72.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/8.17, allocations: 155.7 kB / 2.021 GB, free: 72.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/8.171, allocations: 1.124 MB / 2.022 GB, free: 70.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002571/8.173, allocations: 83.95 kB / 2.022 GB, free: 70.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/8.174, allocations: 47.98 kB / 2.022 GB, free: 70.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/8.174, allocations: 4 kB / 2.022 GB, free: 70.81 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004653/8.179, allocations: 0.8739 MB / 2.023 GB, free: 69.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/8.179, allocations: 8.047 kB / 2.023 GB, free: 69.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006116/8.179, allocations: 89.69 kB / 2.023 GB, free: 69.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001477/8.181, allocations: 159.7 kB / 2.023 GB, free: 69.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/8.182, allocations: 1.12 MB / 2.024 GB, free: 68.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/8.184, allocations: 83.98 kB / 2.024 GB, free: 68.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002942/8.185, allocations: 47.92 kB / 2.024 GB, free: 68.37 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.001859/8.187, allocations: 494.9 kB / 2.025 GB, free: 67.87 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005731/8.187, allocations: 134.3 kB / 2.025 GB, free: 67.73 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00582/8.193, allocations: 1.021 MB / 2.026 GB, free: 66.69 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/8.193, allocations: 8 kB / 2.026 GB, free: 66.68 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/8.193, allocations: 0 / 2.026 GB, free: 66.68 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-05/8.193, allocations: 3.984 kB / 2.026 GB, free: 66.68 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.00962/8.203, allocations: 2.097 MB / 2.028 GB, free: 64.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/8.203, allocations: 4 kB / 2.028 GB, free: 64.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/8.204, allocations: 99.98 kB / 2.028 GB, free: 64.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006429/8.205, allocations: 81.61 kB / 2.028 GB, free: 64.31 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/8.205, allocations: 15.98 kB / 2.028 GB, free: 64.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/8.206, allocations: 1.12 MB / 2.029 GB, free: 63.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/8.206, allocations: 3.938 kB / 2.029 GB, free: 63.12 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/8.211, allocations: 1.1 MB / 2.03 GB, free: 61.97 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/8.213, allocations: 295.2 kB / 2.03 GB, free: 61.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005892/8.213, allocations: 8 kB / 2.03 GB, free: 61.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002528/8.216, allocations: 87.75 kB / 2.031 GB, free: 61.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/8.216, allocations: 39.89 kB / 2.031 GB, free: 61.53 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/8.216, allocations: 35.97 kB / 2.031 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003011/8.219, allocations: 0.8364 MB / 2.031 GB, free: 60.66 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.162e-06/8.219, allocations: 0 / 2.031 GB, free: 60.66 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005979/8.225, allocations: 0.7213 MB / 2.032 GB, free: 59.94 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.003502/8.229, allocations: 0.9721 MB / 2.033 GB, free: 58.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00675/8.236, allocations: 1.248 MB / 2.034 GB, free: 57.72 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/8.236, allocations: 0 / 2.034 GB, free: 57.72 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/8.238, allocations: 433.9 kB / 2.035 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008055/8.246, allocations: 0.6259 MB / 2.035 GB, free: 56.67 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009754/8.256, allocations: 2.656 MB / 2.038 GB, free: 53.96 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/8.258, allocations: 1.202 MB / 2.039 GB, free: 52.73 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003514/8.261, allocations: 302.7 kB / 2.039 GB, free: 52.44 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/8.262, allocations: 95.41 kB / 2.039 GB, free: 52.34 MB / 0.8855 GB Notification: Performance of SimCode: time 2.414e-06/8.262, allocations: 0 / 2.039 GB, free: 52.34 MB / 0.8855 GB Notification: Performance of Templates: time 0.1091/8.371, allocations: 30.27 MB / 2.069 GB, free: 22.33 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)