Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_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.007606/0.007607, allocations: 103.6 kB / 15.74 MB, free: 6.035 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.001811/0.001811, allocations: 196.5 kB / 16.68 MB, free: 5.953 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.898/1.898, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 55.91 kB / 0.9504 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8662/0.8673, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1388/1.006, allocations: 132.2 MB / 1.217 GB, free: 3.852 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03683/1.043, allocations: 23.23 MB / 1.239 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006962/1.05, allocations: 125.9 kB / 1.239 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00418/1.054, allocations: 1.491 MB / 1.241 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01431/1.069, allocations: 4.1 MB / 1.245 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005583/1.074, allocations: 2.171 MB / 1.247 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01091/1.085, allocations: 6.527 MB / 1.253 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004388/1.09, allocations: 2.369 MB / 1.256 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008402/1.098, allocations: 2.745 MB / 1.258 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/1.102, allocations: 1.882 MB / 1.26 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007225/1.103, allocations: 252 kB / 1.26 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006758/1.11, allocations: 1.93 MB / 1.262 GB, free: 10.77 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007143/1.111, allocations: 0.5992 MB / 1.263 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002223/1.113, allocations: 1.462 MB / 1.264 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00954/1.122, allocations: 4.351 MB / 1.269 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/1.122, allocations: 4 kB / 1.269 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.915e-06/1.122, allocations: 3.938 kB / 1.269 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.919e-05/1.123, allocations: 0 / 1.269 GB, free: 4.324 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.00708/1.13, allocations: 3.181 MB / 1.272 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.13, allocations: 12.03 kB / 1.272 GB, free: 1.047 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003619/1.13, allocations: 223.8 kB / 1.272 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.135, allocations: 0.8318 MB / 1.273 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/1.14, allocations: 2.334 MB / 1.275 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/1.14, allocations: 123 kB / 1.275 GB, free: 13.45 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/1.141, allocations: 160 kB / 1.275 GB, free: 13.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/1.145, allocations: 1.923 MB / 1.277 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/1.145, allocations: 15.92 kB / 1.277 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/1.145, allocations: 63.98 kB / 1.277 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/1.145, allocations: 40 kB / 1.277 GB, free: 11.19 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004902/1.15, allocations: 1.78 MB / 1.279 GB, free: 9.406 MB / 1.014 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.01419/1.164, allocations: 8.973 MB / 1.288 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004387/1.169, allocations: 1.193 MB / 1.289 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.17, allocations: 465.1 kB / 1.289 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/1.171, allocations: 1.719 MB / 1.291 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/1.171, allocations: 54.44 kB / 1.291 GB, free: 12 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/1.172, allocations: 0 / 1.291 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009012/1.181, allocations: 2.316 MB / 1.293 GB, free: 9.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/1.181, allocations: 85.11 kB / 1.293 GB, free: 9.527 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003955/1.185, allocations: 2.504 MB / 1.296 GB, free: 7.004 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001359/1.185, allocations: 41.7 kB / 1.296 GB, free: 6.957 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009886/1.186, allocations: 1.038 MB / 1.297 GB, free: 5.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002892/1.186, allocations: 268.2 kB / 1.297 GB, free: 5.645 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004637/1.186, allocations: 258.5 kB / 1.297 GB, free: 5.383 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001977/1.187, allocations: 353.8 kB / 1.298 GB, free: 5.031 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/1.188, allocations: 0.5764 MB / 1.298 GB, free: 4.457 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/1.191, allocations: 0.9582 MB / 1.299 GB, free: 3.344 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003093/1.194, allocations: 1.248 MB / 1.301 GB, free: 1.988 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.194, allocations: 0 / 1.301 GB, free: 1.988 MB / 1.029 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00683/1.201, allocations: 2.009 MB / 1.302 GB, free: 15.96 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/1.201, allocations: 8 kB / 1.302 GB, free: 15.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/1.201, allocations: 12.03 kB / 1.302 GB, free: 15.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/1.202, allocations: 429.7 kB / 1.303 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.204, allocations: 283.6 kB / 1.303 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/1.206, allocations: 1.502 MB / 1.305 GB, free: 13.68 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/1.209, allocations: 366 kB / 1.305 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/1.209, allocations: 63.91 kB / 1.305 GB, free: 13.26 MB / 1.045 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.0008203/1.21, allocations: 460 kB / 1.305 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004205/1.21, allocations: 244.9 kB / 1.306 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0037/1.214, allocations: 1.502 MB / 1.307 GB, free: 11.04 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.214, allocations: 12 kB / 1.307 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.214, allocations: 0 / 1.307 GB, free: 11.03 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.214, allocations: 7.984 kB / 1.307 GB, free: 11.02 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007617/1.221, allocations: 3.6 MB / 1.311 GB, free: 7.316 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/1.221, allocations: 4 kB / 1.311 GB, free: 7.312 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006622/1.222, allocations: 132.1 kB / 1.311 GB, free: 7.184 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00157/1.224, allocations: 417.1 kB / 1.311 GB, free: 6.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/1.224, allocations: 35.97 kB / 1.311 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002776/1.227, allocations: 1.565 MB / 1.313 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.227, allocations: 8.062 kB / 1.313 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/1.233, allocations: 1.947 MB / 1.315 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.234, allocations: 485.5 kB / 1.315 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/1.235, allocations: 20 kB / 1.315 GB, free: 2.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/1.236, allocations: 135.8 kB / 1.315 GB, free: 2.445 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.236, allocations: 51.86 kB / 1.315 GB, free: 2.395 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.662e-05/1.237, allocations: 43.97 kB / 1.315 GB, free: 2.352 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002887/1.239, allocations: 1.757 MB / 1.317 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.51e-07/1.239, allocations: 0 / 1.317 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001882/1.241, allocations: 0.6828 MB / 1.318 GB, free: 15.9 MB / 1.061 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.007269/1.249, allocations: 3.002 MB / 1.321 GB, free: 12.84 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004126/1.253, allocations: 1.346 MB / 1.322 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.253, allocations: 0 / 1.322 GB, free: 11.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002349/1.255, allocations: 0.6641 MB / 1.323 GB, free: 10.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005997/1.261, allocations: 1.332 MB / 1.324 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03338/1.295, allocations: 16.52 MB / 1.34 GB, free: 8.527 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.296, allocations: 1.486 MB / 1.342 GB, free: 7.008 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.002057/1.298, allocations: 428.5 kB / 1.342 GB, free: 6.586 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.299, allocations: 0.9092 MB / 1.343 GB, free: 5.676 MB / 1.076 GB Notification: Performance of SimCode: time 1.673e-06/1.299, allocations: 4 kB / 1.343 GB, free: 5.672 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1172/1.416, allocations: 65.92 MB / 1.407 GB, free: 4.621 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/17.97, allocations: 0 / 1.407 GB, free: 4.621 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)