Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation,fileNamePrefix="Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.3 MB / 0.6653 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003536, allocations: 8 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6746, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation): time 0.05218/0.7269, allocations: 47.96 MB / 1 GB, free: 72 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.7478, allocations: 12.91 MB / 1.013 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002904/0.7508, allocations: 55.62 kB / 1.013 GB, free: 3.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003282/0.7541, allocations: 0.8475 MB / 1.014 GB, free: 2.234 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007163/0.7613, allocations: 2.246 MB / 1.016 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005313/0.7666, allocations: 1.857 MB / 1.018 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004734/0.7714, allocations: 2.297 MB / 1.02 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001745/0.7731, allocations: 1.026 MB / 1.021 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.7756, allocations: 1.113 MB / 1.022 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001066/0.7767, allocations: 0.696 MB / 1.023 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.7769, allocations: 59.92 kB / 1.023 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.7795, allocations: 1.073 MB / 1.024 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.7798, allocations: 306.8 kB / 1.024 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004427/0.7803, allocations: 360.8 kB / 1.025 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.7831, allocations: 2.303 MB / 1.027 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.7831, allocations: 0 / 1.027 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.585e-06/0.7831, allocations: 4 kB / 1.027 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.099e-05/0.7831, allocations: 0 / 1.027 GB, free: 4.883 MB / 0.7794 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.003495/0.7866, allocations: 1.819 MB / 1.029 GB, free: 3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.7867, allocations: 12.03 kB / 1.029 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.7869, allocations: 131.1 kB / 1.029 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.7892, allocations: 493.5 kB / 1.029 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.7923, allocations: 1.539 MB / 1.031 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006829/0.793, allocations: 197.8 kB / 1.031 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.7932, allocations: 88 kB / 1.031 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/0.7958, allocations: 1.143 MB / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.7958, allocations: 3.938 kB / 1.032 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.7959, allocations: 32 kB / 1.032 GB, free: 15.27 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.984e-05/0.7959, allocations: 20 kB / 1.032 GB, free: 15.25 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002891/0.7988, allocations: 1.042 MB / 1.033 GB, free: 14.21 MB / 0.795 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.007895/0.8067, allocations: 5.211 MB / 1.038 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.8089, allocations: 0.7266 MB / 1.039 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/0.8114, allocations: 1.866 MB / 1.041 GB, free: 5.938 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.8127, allocations: 0.526 MB / 1.041 GB, free: 5.387 MB / 0.795 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003618/0.8131, allocations: 83.34 kB / 1.041 GB, free: 5.305 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.024e-06/0.8131, allocations: 0 / 1.041 GB, free: 5.305 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.003559/0.8167, allocations: 1.346 MB / 1.043 GB, free: 3.926 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.8167, allocations: 110.8 kB / 1.043 GB, free: 3.793 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001695/0.8184, allocations: 1.328 MB / 1.044 GB, free: 2.453 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.8185, allocations: 45.69 kB / 1.044 GB, free: 2.402 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/0.8191, allocations: 0.661 MB / 1.045 GB, free: 1.734 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.8192, allocations: 145.9 kB / 1.045 GB, free: 1.59 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.8193, allocations: 12 kB / 1.045 GB, free: 1.578 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8194, allocations: 330 kB / 1.045 GB, free: 1.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.8205, allocations: 389.1 kB / 1.046 GB, free: 0.8672 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.8219, allocations: 0.6473 MB / 1.046 GB, free: 108 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.8232, allocations: 461.8 kB / 1.047 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.8232, allocations: 0 / 1.047 GB, free: 15.65 MB / 0.8106 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003072/0.8262, allocations: 1.193 MB / 1.048 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.8276, allocations: 2.787 MB / 1.051 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.8276, allocations: 4 kB / 1.051 GB, free: 11.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.456e-05/0.8276, allocations: 19.94 kB / 1.051 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009216/0.8285, allocations: 215.7 kB / 1.051 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.016e-05/0.8286, allocations: 15.92 kB / 1.051 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.8299, allocations: 144.9 kB / 1.051 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.788e-05/0.83, allocations: 39.98 kB / 1.051 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.83, allocations: 4 kB / 1.051 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002402/0.8324, allocations: 1.013 MB / 1.052 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8324, allocations: 8 kB / 1.052 GB, free: 10.03 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.8325, allocations: 12 kB / 1.052 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.8332, allocations: 200.3 kB / 1.052 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/0.8333, allocations: 23.88 kB / 1.052 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.8343, allocations: 128.5 kB / 1.052 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-05/0.8344, allocations: 39.97 kB / 1.052 GB, free: 9.633 MB / 0.8106 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 (76): * Single equations (assignments): 74 * 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.0007496/0.8352, allocations: 494.5 kB / 1.053 GB, free: 9.137 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.8354, allocations: 134.3 kB / 1.053 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002959/0.8383, allocations: 1.137 MB / 1.054 GB, free: 7.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.8384, allocations: 7.984 kB / 1.054 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.8384, allocations: 3.953 kB / 1.054 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.8384, allocations: 4 kB / 1.054 GB, free: 7.848 MB / 0.8106 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.004744/0.8431, allocations: 2.45 MB / 1.057 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.8432, allocations: 4 kB / 1.057 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007179/0.8439, allocations: 151.9 kB / 1.057 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.8439, allocations: 4 kB / 1.057 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.8439, allocations: 15.98 kB / 1.057 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.844, allocations: 4 kB / 1.057 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.844, allocations: 0 / 1.057 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.8466, allocations: 1.3 MB / 1.058 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.8472, allocations: 339 kB / 1.058 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001638/0.8474, allocations: 11.94 kB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.8485, allocations: 139.9 kB / 1.059 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.435e-05/0.8486, allocations: 31.95 kB / 1.059 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.8487, allocations: 35.91 kB / 1.059 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001314/0.85, allocations: 0.9145 MB / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.85, allocations: 0 / 1.059 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002018/0.852, allocations: 0.7134 MB / 1.06 GB, free: 1.559 MB / 0.8106 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 (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.003996/0.856, allocations: 2.54 MB / 1.063 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003885/0.8599, allocations: 1.567 MB / 1.064 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.86, allocations: 0.5625 kB / 1.064 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.8612, allocations: 0.5204 MB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00257/0.8638, allocations: 0.6033 MB / 1.065 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/0.8717, allocations: 8.225 MB / 1.073 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/0.8725, allocations: 1.233 MB / 1.075 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00155/0.8741, allocations: 313 kB / 1.075 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008269/0.8749, allocations: 0.5305 MB / 1.075 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of SimCode: time 1.252e-06/0.8749, allocations: 4 kB / 1.075 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06683/0.9418, allocations: 39.02 MB / 1.113 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/0.942, allocations: 250.6 kB / 1.114 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.789/3.731, allocations: 4 kB / 1.114 GB, free: 10.94 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; mkfifo Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe >> ../files/Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_DistrictHeatingCooling_SubStations_Validation_CoolingSubstation.fmu > Buildings_9_Buildings.Obsolete.DistrictHeatingCooling.SubStations.Validation.CoolingSubstation.pipe 2>&1)