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.656/1.656, allocations: 249.3 MB / 261.8 MB, free: 5.871 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001126, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008039/0.0008037, allocations: 98.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.096e-05/3.098e-05, allocations: 4 kB / 0.788 GB, free: 96.97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.196, allocations: 106.3 MB / 0.8919 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.684, allocations: 435.5 MB / 1.317 GB, free: 253.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/1.684, allocations: 92.59 kB / 1.317 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.327/4.011, allocations: 0.6743 GB / 1.992 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.853e-06/4.011, allocations: 0 / 1.992 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001631/4.011, allocations: 41.55 kB / 1.992 GB, free: 162.4 MB / 0.8698 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.003232/4.014, allocations: 1.716 MB / 1.993 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/4.015, allocations: 7.312 kB / 1.993 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001568/4.015, allocations: 127 kB / 1.993 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001367/4.016, allocations: 353.8 kB / 1.994 GB, free: 161.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01781/4.034, allocations: 8.384 MB / 2.002 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.631e-05/4.034, allocations: 69.84 kB / 2.002 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/4.034, allocations: 91.59 kB / 2.002 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002273/4.037, allocations: 0.961 MB / 2.003 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/4.037, allocations: 8.797 kB / 2.003 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/4.037, allocations: 35.12 kB / 2.003 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/4.037, allocations: 18.31 kB / 2.003 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/4.038, allocations: 0.6521 MB / 2.004 GB, free: 160.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.008111/4.046, allocations: 4.728 MB / 2.008 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009319/4.047, allocations: 443.8 kB / 2.009 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004599/4.048, allocations: 242 kB / 2.009 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002811/4.051, allocations: 1.674 MB / 2.011 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006636/4.051, allocations: 376.3 kB / 2.011 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005421/4.052, allocations: 85.33 kB / 2.011 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 4.619e-06/4.052, allocations: 3.844 kB / 2.011 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47): time 0.001641/4.054, allocations: 0.6861 MB / 2.012 GB, free: 157 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/4.054, allocations: 113.1 kB / 2.012 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/4.056, allocations: 1.099 MB / 2.013 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.39e-05/4.056, allocations: 37.05 kB / 2.013 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006405/4.056, allocations: 0.6518 MB / 2.014 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/4.057, allocations: 151.9 kB / 2.014 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/4.057, allocations: 13.66 kB / 2.014 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.958e-05/4.057, allocations: 334.8 kB / 2.014 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/4.057, allocations: 201.7 kB / 2.014 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006247/4.058, allocations: 0.4898 MB / 2.015 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/4.058, allocations: 302 kB / 2.015 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/4.058, allocations: 6.484 kB / 2.015 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001758/4.06, allocations: 0.8962 MB / 2.016 GB, free: 155.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006677/4.061, allocations: 2.78 MB / 2.019 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/4.061, allocations: 7.438 kB / 2.019 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004823/4.061, allocations: 93.03 kB / 2.019 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/4.062, allocations: 153.1 kB / 2.019 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006692/4.063, allocations: 1.121 MB / 2.02 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/4.064, allocations: 84.17 kB / 2.02 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/4.065, allocations: 52.73 kB / 2.02 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/4.065, allocations: 6.156 kB / 2.02 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001993/4.067, allocations: 0.7613 MB / 2.021 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/4.067, allocations: 3.844 kB / 2.021 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/4.067, allocations: 85.06 kB / 2.021 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/4.068, allocations: 148.6 kB / 2.021 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000732/4.069, allocations: 1.133 MB / 2.022 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/4.07, allocations: 80.55 kB / 2.022 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/4.07, allocations: 47.33 kB / 2.022 GB, free: 150.5 MB / 0.8698 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 () * 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.0003867/4.071, allocations: 181.5 kB / 2.022 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/4.071, allocations: 141.1 kB / 2.023 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/4.074, allocations: 0.8978 MB / 2.023 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/4.074, allocations: 10.67 kB / 2.023 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/4.074, allocations: 0 / 2.023 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/4.074, allocations: 0 / 2.023 GB, free: 150.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.004646/4.078, allocations: 1.989 MB / 2.025 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/4.078, allocations: 2.875 kB / 2.025 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/4.079, allocations: 100.8 kB / 2.026 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000384/4.079, allocations: 79.42 kB / 2.026 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/4.08, allocations: 19.12 kB / 2.026 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006193/4.08, allocations: 1.119 MB / 2.027 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/4.08, allocations: 3.344 kB / 2.027 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/4.082, allocations: 1.063 MB / 2.028 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008326/4.083, allocations: 299.7 kB / 2.028 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/4.083, allocations: 14.72 kB / 2.028 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/4.085, allocations: 79.97 kB / 2.028 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/4.085, allocations: 36.05 kB / 2.028 GB, free: 148 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/4.085, allocations: 39.69 kB / 2.028 GB, free: 148 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002081/4.087, allocations: 0.8573 MB / 2.029 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/4.087, allocations: 2.344 kB / 2.029 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004092/4.091, allocations: 0.7547 MB / 2.03 GB, free: 147.8 MB / 0.8698 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) * 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.004957/4.096, allocations: 2.811 MB / 2.033 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002566/4.099, allocations: 1.118 MB / 2.034 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/4.099, allocations: 0 / 2.034 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006769/4.099, allocations: 381.1 kB / 2.034 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/4.104, allocations: 0.6188 MB / 2.035 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006964/4.111, allocations: 2.011 MB / 2.037 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/4.112, allocations: 1.239 MB / 2.038 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002169/4.114, allocations: 428.7 kB / 2.038 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006577/4.114, allocations: 0.5099 MB / 2.039 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/4.114, allocations: 0 / 2.039 GB, free: 144.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08172/4.196, allocations: 48.97 MB / 2.086 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/4.196, allocations: 264.8 kB / 2.087 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.66/7.856, allocations: 3.125 kB / 2.087 GB, free: 142.1 MB / 0.8698 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)