Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_11_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.001388/0.001388, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 192.2 kB / 16.53 MB, free: 6.391 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.231/1.231, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.45/2.45, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 67.7 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.237, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1183/0.3553, allocations: 132.2 MB / 1.193 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.3835, allocations: 23.23 MB / 1.216 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.3858, allocations: 127.2 kB / 1.216 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002721/0.3885, allocations: 1.486 MB / 1.217 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007443/0.396, allocations: 4.099 MB / 1.221 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003904/0.3999, allocations: 2.147 MB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006203/0.4061, allocations: 6.512 MB / 1.23 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002547/0.4087, allocations: 2.355 MB / 1.232 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004307/0.413, allocations: 2.733 MB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.415, allocations: 1.886 MB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.4153, allocations: 248 kB / 1.237 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003207/0.4185, allocations: 1.934 MB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004817/0.419, allocations: 0.5914 MB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.4202, allocations: 1.458 MB / 1.241 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004138/0.4244, allocations: 4.308 MB / 1.245 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4244, allocations: 4 kB / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4244, allocations: 0 / 1.245 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.8e-05/0.4244, allocations: 0 / 1.245 GB, free: 4.266 MB / 0.9981 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.004508/0.4289, allocations: 3.168 MB / 1.248 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.429, allocations: 8.031 kB / 1.248 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002296/0.4292, allocations: 220 kB / 1.248 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3804/0.8096, allocations: 0.8391 MB / 1.249 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/0.8141, allocations: 2.193 MB / 1.251 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009518/0.8151, allocations: 295.6 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.8154, allocations: 160.9 kB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.8192, allocations: 1.941 MB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.8193, allocations: 0.9062 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.8194, allocations: 65.09 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.8195, allocations: 41.41 kB / 1.254 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004194/0.8237, allocations: 1.814 MB / 1.256 GB, free: 181.9 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 0.0095/0.8332, allocations: 9.055 MB / 1.264 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003657/0.8368, allocations: 1.194 MB / 1.266 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009077/0.8378, allocations: 456.6 kB / 1.266 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.8384, allocations: 1.734 MB / 1.268 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.8384, allocations: 44.42 kB / 1.268 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.034e-06/0.8384, allocations: 0 / 1.268 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.007204/0.8456, allocations: 2.317 MB / 1.27 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/0.8457, allocations: 91.91 kB / 1.27 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003232/0.8489, allocations: 2.504 MB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/0.849, allocations: 48.98 kB / 1.273 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006129/0.8496, allocations: 1.041 MB / 1.274 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.8498, allocations: 274.4 kB / 1.274 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.8501, allocations: 253.2 kB / 1.274 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.8502, allocations: 351.5 kB / 1.274 GB, free: 171 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001618/0.8518, allocations: 0.5846 MB / 1.275 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.8537, allocations: 0.9675 MB / 1.276 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002828/0.8566, allocations: 1.266 MB / 1.277 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.8566, allocations: 2.656 kB / 1.277 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005688/0.8623, allocations: 2.043 MB / 1.279 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.8623, allocations: 15.19 kB / 1.279 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.8623, allocations: 8.453 kB / 1.279 GB, free: 168.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.8637, allocations: 419.1 kB / 1.28 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.8648, allocations: 288 kB / 1.28 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.8665, allocations: 1.502 MB / 1.281 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002265/0.8687, allocations: 392.4 kB / 1.282 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.8689, allocations: 63.11 kB / 1.282 GB, free: 167.4 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.000522/0.8694, allocations: 468.1 kB / 1.282 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/0.8697, allocations: 243.1 kB / 1.282 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/0.8728, allocations: 1.49 MB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.8728, allocations: 14.23 kB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8728, allocations: 4 kB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.8728, allocations: 8.781 kB / 1.284 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.8787, allocations: 3.597 MB / 1.287 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.8787, allocations: 3.625 kB / 1.287 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005395/0.8793, allocations: 131.2 kB / 1.288 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001136/0.8804, allocations: 412.7 kB / 1.288 GB, free: 164.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.986e-05/0.8805, allocations: 30.2 kB / 1.288 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.8825, allocations: 1.574 MB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.8825, allocations: 3.688 kB / 1.29 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004913/0.8874, allocations: 1.937 MB / 1.291 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005026/0.8879, allocations: 481.3 kB / 1.292 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002708/0.8882, allocations: 28.31 kB / 1.292 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8897, allocations: 143.2 kB / 1.292 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.8898, allocations: 66.45 kB / 1.292 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/0.8898, allocations: 42.94 kB / 1.292 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002173/0.892, allocations: 1.761 MB / 1.294 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.892, allocations: 1.062 kB / 1.294 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001403/0.8934, allocations: 0.6834 MB / 1.295 GB, free: 160.3 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.005858/0.8993, allocations: 2.994 MB / 1.297 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.9028, allocations: 1.39 MB / 1.299 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.9028, allocations: 0.7188 kB / 1.299 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/0.9048, allocations: 0.6665 MB / 1.299 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004542/0.9094, allocations: 1.343 MB / 1.301 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.9342, allocations: 19.2 MB / 1.32 GB, free: 140.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.9348, allocations: 1.49 MB / 1.321 GB, free: 138.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001364/0.9361, allocations: 432.6 kB / 1.321 GB, free: 138.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.9369, allocations: 0.8937 MB / 1.322 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.9369, allocations: 4 kB / 1.322 GB, free: 137.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.609/3.546, allocations: 68.13 MB / 1.389 GB, free: 70.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 37.76/41.3, allocations: 12 kB / 1.389 GB, free: 70.35 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)