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: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001177/0.001177, allocations: 189.9 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001308/0.001308, allocations: 89.86 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004135/0.0004138, allocations: 9.406 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2732, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.296, allocations: 435.5 MB / 1.325 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.296, allocations: 101.6 kB / 1.326 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.649/3.945, allocations: 0.6765 GB / 2.002 GB, free: 89.75 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.434e-06/3.945, allocations: 4 kB / 2.002 GB, free: 89.74 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001966/3.945, allocations: 39.98 kB / 2.002 GB, free: 89.7 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.005193/3.951, allocations: 2.131 MB / 2.004 GB, free: 87.51 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/3.951, allocations: 12.03 kB / 2.004 GB, free: 87.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002388/3.951, allocations: 127.1 kB / 2.004 GB, free: 87.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/3.952, allocations: 350.4 kB / 2.005 GB, free: 87.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01792/3.97, allocations: 8.464 MB / 2.013 GB, free: 78.44 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.267e-05/3.97, allocations: 66 kB / 2.013 GB, free: 78.38 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/3.971, allocations: 88 kB / 2.013 GB, free: 78.29 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/3.973, allocations: 1.031 MB / 2.014 GB, free: 77.21 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/3.973, allocations: 4 kB / 2.014 GB, free: 77.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.564e-05/3.973, allocations: 36 kB / 2.014 GB, free: 77.17 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/3.973, allocations: 20 kB / 2.014 GB, free: 77.15 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/3.975, allocations: 0.7806 MB / 2.015 GB, free: 76.37 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.006919/3.981, allocations: 4.725 MB / 2.02 GB, free: 71.37 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/3.983, allocations: 0.5265 MB / 2.02 GB, free: 70.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002484/3.985, allocations: 1.674 MB / 2.022 GB, free: 68.98 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000841/3.986, allocations: 441.3 kB / 2.022 GB, free: 68.53 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005589/3.987, allocations: 83.34 kB / 2.022 GB, free: 68.45 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=47): time 3.657e-06/3.987, allocations: 0 / 2.022 GB, free: 68.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47): time 0.002819/3.99, allocations: 1.322 MB / 2.023 GB, free: 67.05 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/3.99, allocations: 110.8 kB / 2.024 GB, free: 66.92 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/3.991, allocations: 1.11 MB / 2.025 GB, free: 65.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.32e-05/3.991, allocations: 41.7 kB / 2.025 GB, free: 65.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/3.992, allocations: 0.6571 MB / 2.025 GB, free: 65.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/3.992, allocations: 153.8 kB / 2.026 GB, free: 64.94 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/3.992, allocations: 12 kB / 2.026 GB, free: 64.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/3.992, allocations: 330 kB / 2.026 GB, free: 64.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006141/3.993, allocations: 265.1 kB / 2.026 GB, free: 64.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/3.993, allocations: 0.5487 MB / 2.027 GB, free: 63.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/3.994, allocations: 357.2 kB / 2.027 GB, free: 63.32 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/3.994, allocations: 4 kB / 2.027 GB, free: 63.31 MB / 0.8855 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001888/3.996, allocations: 1.02 MB / 2.028 GB, free: 62.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007064/3.997, allocations: 2.784 MB / 2.031 GB, free: 59.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/3.997, allocations: 4 kB / 2.031 GB, free: 59.32 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004275/3.997, allocations: 89.67 kB / 2.031 GB, free: 59.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/3.998, allocations: 155.8 kB / 2.031 GB, free: 59.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005209/3.998, allocations: 1.128 MB / 2.032 GB, free: 57.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/3.999, allocations: 84.05 kB / 2.032 GB, free: 57.81 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/3.999, allocations: 43.92 kB / 2.032 GB, free: 57.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/3.999, allocations: 4 kB / 2.032 GB, free: 57.77 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/4.001, allocations: 0.8813 MB / 2.033 GB, free: 56.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/4.001, allocations: 8 kB / 2.033 GB, free: 56.86 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/4.001, allocations: 82.05 kB / 2.033 GB, free: 56.78 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004981/4.002, allocations: 152 kB / 2.033 GB, free: 56.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004414/4.002, allocations: 1.132 MB / 2.034 GB, free: 55.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/4.003, allocations: 79.95 kB / 2.034 GB, free: 55.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-05/4.003, allocations: 47.98 kB / 2.034 GB, free: 55.32 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.001048/4.004, allocations: 490.9 kB / 2.035 GB, free: 54.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/4.005, allocations: 134.4 kB / 2.035 GB, free: 54.69 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/4.007, allocations: 1.014 MB / 2.036 GB, free: 53.65 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/4.007, allocations: 4 kB / 2.036 GB, free: 53.65 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/4.007, allocations: 0 / 2.036 GB, free: 53.65 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/4.007, allocations: 3.984 kB / 2.036 GB, free: 53.64 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.00338/4.01, allocations: 2.121 MB / 2.038 GB, free: 51.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/4.01, allocations: 3.984 kB / 2.038 GB, free: 51.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004569/4.011, allocations: 104 kB / 2.038 GB, free: 51.33 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003201/4.011, allocations: 77.61 kB / 2.038 GB, free: 51.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/4.011, allocations: 19.98 kB / 2.038 GB, free: 51.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000504/4.011, allocations: 1.116 MB / 2.039 GB, free: 50.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/4.011, allocations: 3.984 kB / 2.039 GB, free: 50.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/4.013, allocations: 1.18 MB / 2.041 GB, free: 48.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006283/4.014, allocations: 295.2 kB / 2.041 GB, free: 48.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/4.014, allocations: 12 kB / 2.041 GB, free: 48.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/4.015, allocations: 83.83 kB / 2.041 GB, free: 48.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.875e-05/4.015, allocations: 39.94 kB / 2.041 GB, free: 48.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.575e-05/4.015, allocations: 31.97 kB / 2.041 GB, free: 48.32 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001177/4.016, allocations: 0.8676 MB / 2.042 GB, free: 47.46 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/4.016, allocations: 8 kB / 2.042 GB, free: 47.45 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002691/4.019, allocations: 0.7564 MB / 2.043 GB, free: 46.69 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.003966/4.023, allocations: 2.946 MB / 2.045 GB, free: 43.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002481/4.025, allocations: 1.236 MB / 2.047 GB, free: 42.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/4.025, allocations: 4.5 kB / 2.047 GB, free: 42.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007393/4.026, allocations: 433.4 kB / 2.047 GB, free: 42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002743/4.029, allocations: 0.6121 MB / 2.048 GB, free: 41.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/4.035, allocations: 8.076 MB / 2.056 GB, free: 33.11 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/4.036, allocations: 1.234 MB / 2.057 GB, free: 31.84 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00156/4.038, allocations: 294.8 kB / 2.057 GB, free: 31.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/4.038, allocations: 0.5329 MB / 2.058 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of SimCode: time 2.284e-06/4.038, allocations: 0 / 2.058 GB, free: 31.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.706/4.744, allocations: 45.15 MB / 2.102 GB, free: 151.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/4.745, allocations: 305.1 kB / 2.102 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.059/8.804, allocations: 0 / 2.102 GB, free: 151.2 MB / 0.8855 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Experimental_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)