Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001257/0.001257, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001343/0.001343, allocations: 197.3 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 63.69 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7306, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4552/1.19, allocations: 131.1 MB / 1.18 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.09293/1.283, allocations: 23.05 MB / 1.203 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02387/1.307, allocations: 115.2 kB / 1.203 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.02151/1.329, allocations: 1.29 MB / 1.204 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.06354/1.393, allocations: 3.818 MB / 1.208 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.01471/1.407, allocations: 1.985 MB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.03068/1.438, allocations: 6.566 MB / 1.216 GB, free: 296 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01074/1.449, allocations: 2.343 MB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04062/1.49, allocations: 2.762 MB / 1.221 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03171/1.521, allocations: 1.933 MB / 1.223 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.01014/1.532, allocations: 244 kB / 1.223 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0869/1.619, allocations: 1.957 MB / 1.225 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.004009/1.623, allocations: 0.5953 MB / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.02776/1.651, allocations: 1.466 MB / 1.227 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.043/1.694, allocations: 4.316 MB / 1.232 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.789e-05/1.695, allocations: 4 kB / 1.232 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.44e-06/1.695, allocations: 0 / 1.232 GB, free: 0.5781 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0004247/1.695, allocations: 4 kB / 1.232 GB, free: 0.5742 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.01919/1.714, allocations: 3.16 MB / 1.235 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001332/1.714, allocations: 12.56 kB / 1.235 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007128/1.715, allocations: 228 kB / 1.235 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008775/1.724, allocations: 0.8397 MB / 1.236 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/1.736, allocations: 2.26 MB / 1.238 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002037/1.739, allocations: 294.9 kB / 1.238 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007844/1.739, allocations: 156 kB / 1.238 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/1.754, allocations: 1.947 MB / 1.24 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-05/1.754, allocations: 0 / 1.24 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004828/1.754, allocations: 71.92 kB / 1.24 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000164/1.755, allocations: 40 kB / 1.24 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01334/1.768, allocations: 1.811 MB / 1.242 GB, free: 5.527 MB / 0.9981 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 1.512/3.28, allocations: 8.987 MB / 1.251 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009219/3.29, allocations: 1.198 MB / 1.252 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002575/3.292, allocations: 466.2 kB / 1.253 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002092/3.295, allocations: 1.719 MB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.966e-05/3.295, allocations: 54.7 kB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 8.326e-06/3.295, allocations: 0 / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.01854/3.313, allocations: 2.319 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/3.313, allocations: 89.48 kB / 1.257 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/3.328, allocations: 2.484 MB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004982/3.328, allocations: 46.64 kB / 1.259 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002217/3.331, allocations: 1.042 MB / 1.26 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008882/3.332, allocations: 272.1 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001811/3.333, allocations: 259 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002629/3.334, allocations: 350.6 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003803/3.338, allocations: 0.5807 MB / 1.262 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00486/3.343, allocations: 0.9666 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006647/3.349, allocations: 1.259 MB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.223e-05/3.349, allocations: 10.3 kB / 1.264 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.01492/3.364, allocations: 2.043 MB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.81e-05/3.364, allocations: 9.156 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-05/3.364, allocations: 11.12 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0039/3.368, allocations: 425.8 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/3.371, allocations: 287.8 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/3.375, allocations: 1.506 MB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00781/3.383, allocations: 429.9 kB / 1.268 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009618/3.384, allocations: 67.14 kB / 1.268 GB, free: 179.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.00343/3.388, allocations: 457.6 kB / 1.269 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002521/3.39, allocations: 245 kB / 1.269 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/3.401, allocations: 1.506 MB / 1.27 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.599e-05/3.401, allocations: 10.77 kB / 1.27 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/3.401, allocations: 0.875 kB / 1.27 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/3.401, allocations: 9.062 kB / 1.27 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02702/3.428, allocations: 3.582 MB / 1.274 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.43e-05/3.428, allocations: 3.781 kB / 1.274 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/3.43, allocations: 134 kB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004547/3.434, allocations: 410.9 kB / 1.275 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/3.435, allocations: 25.58 kB / 1.275 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005234/3.44, allocations: 1.571 MB / 1.276 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.388e-05/3.44, allocations: 3.844 kB / 1.276 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/3.453, allocations: 1.937 MB / 1.278 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005072/3.459, allocations: 489.2 kB / 1.278 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002093/3.461, allocations: 22.39 kB / 1.278 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005584/3.466, allocations: 171.8 kB / 1.279 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/3.467, allocations: 66.53 kB / 1.279 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000386/3.467, allocations: 44.25 kB / 1.279 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.009682/3.477, allocations: 1.742 MB / 1.28 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.273e-06/3.477, allocations: 4 kB / 1.28 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008276/3.485, allocations: 0.6791 MB / 1.281 GB, free: 175.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01637/3.502, allocations: 2.975 MB / 1.284 GB, free: 174 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01219/3.514, allocations: 1.388 MB / 1.285 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-05/3.514, allocations: 4.188 kB / 1.285 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005865/3.52, allocations: 0.6707 MB / 1.286 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02297/3.543, allocations: 1.342 MB / 1.287 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1376/3.681, allocations: 19.77 MB / 1.307 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/3.686, allocations: 1.486 MB / 1.308 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006641/3.693, allocations: 440 kB / 1.309 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003468/3.696, allocations: 0.9015 MB / 1.309 GB, free: 157 MB / 0.9981 GB Notification: Performance of SimCode: time 4.428e-06/3.696, allocations: 0 / 1.309 GB, free: 157 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/5.056, allocations: 67.29 MB / 1.375 GB, free: 90.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002523/5.057, allocations: 285.4 kB / 1.375 GB, free: 90.19 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.54/10.6, allocations: 64 / 1.375 GB, free: 90.19 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)