Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_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.001279/0.001279, allocations: 101.4 kB / 15.7 MB, free: 28 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.001215/0.001215, allocations: 190.8 kB / 16.63 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 68.92 kB / 0.6718 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2474, allocations: 114.5 MB / 0.7836 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.5827/0.8301, allocations: 132.2 MB / 0.9128 GB, free: 44.89 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03257/0.8627, allocations: 23.02 MB / 0.9353 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006927/0.8697, allocations: 121.7 kB / 0.9354 GB, free: 44.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.8746, allocations: 1.492 MB / 0.9368 GB, free: 44.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/0.8872, allocations: 4.058 MB / 0.9408 GB, free: 44.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008241/0.8954, allocations: 2.204 MB / 0.9429 GB, free: 44.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.9094, allocations: 6.494 MB / 0.9493 GB, free: 42.32 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004794/0.9142, allocations: 2.371 MB / 0.9516 GB, free: 41.23 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01136/0.9256, allocations: 2.772 MB / 0.9543 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005467/0.9311, allocations: 1.883 MB / 0.9561 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000957/0.9321, allocations: 249 kB / 0.9564 GB, free: 39.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006702/0.9388, allocations: 1.935 MB / 0.9583 GB, free: 38.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008635/0.9397, allocations: 0.603 MB / 0.9589 GB, free: 38.28 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00283/0.9425, allocations: 1.463 MB / 0.9603 GB, free: 37.38 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009287/0.9518, allocations: 4.387 MB / 0.9646 GB, free: 35.87 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.9519, allocations: 0 / 0.9646 GB, free: 35.87 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9519, allocations: 0 / 0.9646 GB, free: 35.87 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000128/0.952, allocations: 1.969 kB / 0.9646 GB, free: 35.87 MB / 0.7169 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.007274/0.9593, allocations: 3.186 MB / 0.9677 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.9594, allocations: 9.469 kB / 0.9677 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002411/0.9596, allocations: 218.1 kB / 0.9679 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004243/0.9639, allocations: 0.8472 MB / 0.9687 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004473/0.9684, allocations: 2.337 MB / 0.971 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.498e-05/0.9685, allocations: 127.1 kB / 0.9711 GB, free: 31.29 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.9687, allocations: 165.3 kB / 0.9713 GB, free: 31.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003745/0.9724, allocations: 1.918 MB / 0.9732 GB, free: 30.06 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.9725, allocations: 2.906 kB / 0.9732 GB, free: 30.06 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.9727, allocations: 73.66 kB / 0.9732 GB, free: 30 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.023e-05/0.9727, allocations: 37.16 kB / 0.9733 GB, free: 30 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.9772, allocations: 1.784 MB / 0.975 GB, free: 29.12 MB / 0.7169 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.01201/0.9893, allocations: 8.976 MB / 0.9838 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003742/0.993, allocations: 1.198 MB / 0.985 GB, free: 20.79 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009653/0.994, allocations: 458.2 kB / 0.9854 GB, free: 20.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007681/0.9948, allocations: 1.719 MB / 0.9871 GB, free: 18.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.9948, allocations: 41.81 kB / 0.9871 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.264e-06/0.9948, allocations: 0 / 0.9871 GB, free: 18.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008075/1.003, allocations: 2.328 MB / 0.9894 GB, free: 17.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/1.003, allocations: 88.77 kB / 0.9895 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/1.007, allocations: 2.503 MB / 0.9919 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001703/1.007, allocations: 45.2 kB / 0.992 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/1.007, allocations: 1.041 MB / 0.993 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/1.008, allocations: 273.4 kB / 0.9932 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/1.008, allocations: 255.8 kB / 0.9935 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.644e-05/1.008, allocations: 349.1 kB / 0.9938 GB, free: 14.13 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/1.01, allocations: 0.5703 MB / 0.9944 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/1.011, allocations: 0.9581 MB / 0.9953 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002571/1.014, allocations: 1.246 MB / 0.9965 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/1.014, allocations: 2.594 kB / 0.9965 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005928/1.02, allocations: 2.019 MB / 0.9985 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/1.02, allocations: 10.81 kB / 0.9985 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.02, allocations: 8 kB / 0.9985 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.021, allocations: 421.9 kB / 0.9989 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/1.023, allocations: 283.5 kB / 0.9992 GB, free: 9.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/1.024, allocations: 1.509 MB / 1.001 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.027, allocations: 370 kB / 1.001 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/1.028, allocations: 55.97 kB / 1.001 GB, free: 7.867 MB / 0.7169 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.0009173/1.028, allocations: 466 kB / 1.002 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004792/1.029, allocations: 248.8 kB / 1.002 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/1.032, allocations: 1.49 MB / 1.003 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/1.032, allocations: 8 kB / 1.003 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.032, allocations: 4 kB / 1.003 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/1.032, allocations: 3.984 kB / 1.003 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00637/1.038, allocations: 3.615 MB / 1.007 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/1.038, allocations: 7.938 kB / 1.007 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005343/1.039, allocations: 123.8 kB / 1.007 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/1.04, allocations: 421.2 kB / 1.007 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/1.04, allocations: 31.98 kB / 1.007 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/1.042, allocations: 1.572 MB / 1.009 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.042, allocations: 7.938 kB / 1.009 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/1.048, allocations: 1.931 MB / 1.011 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.05, allocations: 485.6 kB / 1.011 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/1.05, allocations: 16 kB / 1.011 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.052, allocations: 143.8 kB / 1.011 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/1.052, allocations: 59.81 kB / 1.011 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/1.052, allocations: 43.95 kB / 1.011 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002809/1.055, allocations: 1.75 MB / 1.013 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.055, allocations: 0 / 1.013 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001965/1.057, allocations: 0.6905 MB / 1.014 GB, free: 10.55 MB / 0.7325 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.006917/1.064, allocations: 2.993 MB / 1.017 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003994/1.068, allocations: 1.353 MB / 1.018 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.068, allocations: 0 / 1.018 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.07, allocations: 0.6664 MB / 1.019 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006172/1.076, allocations: 1.35 MB / 1.02 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03716/1.113, allocations: 16.53 MB / 1.036 GB, free: 3.262 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/1.116, allocations: 1.49 MB / 1.038 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003549/1.119, allocations: 436.5 kB / 1.038 GB, free: 1.312 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002299/1.122, allocations: 0.9092 MB / 1.039 GB, free: 412 kB / 0.7481 GB Notification: Performance of SimCode: time 1.423e-06/1.122, allocations: 0 / 1.039 GB, free: 412 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1659/1.287, allocations: 65.9 MB / 1.103 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.3, allocations: 15.45 kB / 1.103 GB, free: 15.38 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)