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.647/1.647, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.00122/0.00122, allocations: 174.9 kB / 326.5 MB, free: 2.23 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.039/2.039, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008885/0.0008885, allocations: 86.27 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 7.875 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2348, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.03672/0.2715, allocations: 48.06 MB / 0.9471 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.29, allocations: 15.37 MB / 0.9621 GB, free: 280 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002902/0.293, allocations: 55.56 kB / 0.9621 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003478/0.2965, allocations: 0.8865 MB / 0.963 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.009553/0.306, allocations: 2.2 MB / 0.9652 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.009082/0.3151, allocations: 2.721 MB / 0.9678 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005568/0.3207, allocations: 2.274 MB / 0.97 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.323, allocations: 1.022 MB / 0.971 GB, free: 7.113 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.3257, allocations: 1.082 MB / 0.9721 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.327, allocations: 0.6921 MB / 0.9728 GB, free: 5.332 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.3271, allocations: 60 kB / 0.9728 GB, free: 5.273 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.3297, allocations: 1.057 MB / 0.9739 GB, free: 4.215 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003331/0.33, allocations: 306.8 kB / 0.9741 GB, free: 3.914 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.3305, allocations: 356.8 kB / 0.9745 GB, free: 3.559 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.3333, allocations: 2.272 MB / 0.9767 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3334, allocations: 0 / 0.9767 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3334, allocations: 0 / 0.9767 GB, free: 1.281 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.3334, allocations: 0 / 0.9767 GB, free: 1.281 MB / 0.6198 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.003438/0.3369, allocations: 1.83 MB / 0.9785 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3369, allocations: 8.031 kB / 0.9785 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/0.3371, allocations: 135.1 kB / 0.9786 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3387, allocations: 389.7 kB / 0.979 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002506/0.3412, allocations: 1.465 MB / 0.9804 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006771/0.3419, allocations: 205.8 kB / 0.9806 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/0.342, allocations: 84 kB / 0.9807 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.3443, allocations: 1.107 MB / 0.9818 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.3444, allocations: 4 kB / 0.9818 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.3444, allocations: 32 kB / 0.9818 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.3445, allocations: 20 kB / 0.9818 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.3469, allocations: 0.9329 MB / 0.9828 GB, free: 10.91 MB / 0.6355 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.01057/0.3575, allocations: 5.147 MB / 0.9878 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.3599, allocations: 0.7007 MB / 0.9885 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004638/0.3646, allocations: 1.825 MB / 0.9902 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001522/0.3662, allocations: 469.5 kB / 0.9907 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008805/0.3671, allocations: 75.41 kB / 0.9908 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 7.143e-06/0.3671, allocations: 0 / 0.9908 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.004036/0.3712, allocations: 1.257 MB / 0.992 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.3713, allocations: 93.11 kB / 0.9921 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.375, allocations: 1.336 MB / 0.9934 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.3752, allocations: 33.7 kB / 0.9934 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.3762, allocations: 0.657 MB / 0.9941 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.3765, allocations: 142 kB / 0.9942 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-05/0.3766, allocations: 12 kB / 0.9942 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3768, allocations: 330 kB / 0.9945 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/0.378, allocations: 361.1 kB / 0.9949 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.3794, allocations: 0.6078 MB / 0.9955 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.3807, allocations: 434.1 kB / 0.9959 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3807, allocations: 4 kB / 0.9959 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003118/0.3838, allocations: 1.128 MB / 0.997 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/0.3851, allocations: 2.701 MB / 0.9996 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.3851, allocations: 8 kB / 0.9996 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-05/0.3852, allocations: 11.95 kB / 0.9996 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008951/0.3861, allocations: 203.7 kB / 0.9998 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-05/0.3861, allocations: 15.94 kB / 0.9998 GB, free: 8.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.3876, allocations: 116.5 kB / 1 GB, free: 8.422 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.3877, allocations: 47.97 kB / 1 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3877, allocations: 4 kB / 1 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002267/0.39, allocations: 0.9505 MB / 1.001 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.39, allocations: 8 kB / 1.001 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3901, allocations: 12 kB / 1.001 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/0.3908, allocations: 187.8 kB / 1.001 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-05/0.3908, allocations: 19.88 kB / 1.001 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.3921, allocations: 112 kB / 1.001 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.668e-05/0.3922, allocations: 35.98 kB / 1.001 GB, free: 7.047 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (75): * Single equations (assignments): 73 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009947/0.3932, allocations: 0.4946 MB / 1.002 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000426/0.3936, allocations: 130.4 kB / 1.002 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.3967, allocations: 1.08 MB / 1.003 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.3968, allocations: 4 kB / 1.003 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3968, allocations: 0 / 1.003 GB, free: 5.316 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/0.3968, allocations: 0 / 1.003 GB, free: 5.316 MB / 0.6511 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.006029/0.4029, allocations: 2.255 MB / 1.005 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4029, allocations: 0 / 1.005 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.4036, allocations: 147.9 kB / 1.005 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.346e-05/0.4036, allocations: 0 / 1.005 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.4037, allocations: 27.94 kB / 1.005 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.4037, allocations: 4 kB / 1.005 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.4037, allocations: 0 / 1.005 GB, free: 2.789 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.4064, allocations: 1.139 MB / 1.006 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.4071, allocations: 335.1 kB / 1.007 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.4074, allocations: 16 kB / 1.007 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.4086, allocations: 111.9 kB / 1.007 GB, free: 1.113 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.4087, allocations: 39.89 kB / 1.007 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.4088, allocations: 35.97 kB / 1.007 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001664/0.4104, allocations: 0.9067 MB / 1.008 GB, free: 136 kB / 0.6511 GB Notification: Performance of sort global known variables: time 1e-07/0.4104, allocations: 4 kB / 1.008 GB, free: 132 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002408/0.4129, allocations: 0.69 MB / 1.009 GB, free: 15.44 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (46): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00404/0.4169, allocations: 2.318 MB / 1.011 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.4206, allocations: 1.466 MB / 1.012 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4207, allocations: 0 / 1.012 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.4218, allocations: 0.4886 MB / 1.013 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003341/0.4252, allocations: 0.6231 MB / 1.013 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009874/0.4351, allocations: 7.992 MB / 1.021 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.4362, allocations: 1.233 MB / 1.022 GB, free: 1.012 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001721/0.4379, allocations: 300 kB / 1.023 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009145/0.4389, allocations: 0.5344 MB / 1.023 GB, free: 196 kB / 0.6667 GB Notification: Performance of SimCode: time 3.096e-06/0.4389, allocations: 0 / 1.023 GB, free: 196 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4933/0.9322, allocations: 38.8 MB / 1.061 GB, free: 146.3 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.9324, allocations: 274.8 kB / 1.061 GB, free: 146 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.303/4.235, allocations: 0 / 1.061 GB, free: 146 MB / 0.698 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)