Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_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.004888/0.004888, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001142/0.001142, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7159/0.7159, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.19 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 80.21 MB / 0.6592 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1177/0.2648, allocations: 132.2 MB / 0.7883 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02859/0.2934, allocations: 23.19 MB / 0.8109 GB, free: 2.086 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.2974, allocations: 123.2 kB / 0.811 GB, free: 1.965 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003855/0.3013, allocations: 1.541 MB / 0.8125 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3439/0.6453, allocations: 4.297 MB / 0.8167 GB, free: 42.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005317/0.6506, allocations: 2.166 MB / 0.8188 GB, free: 42.09 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01005/0.6606, allocations: 6.555 MB / 0.8252 GB, free: 42.08 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003473/0.6641, allocations: 2.365 MB / 0.8276 GB, free: 41.78 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.6704, allocations: 2.816 MB / 0.8303 GB, free: 41.78 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.6734, allocations: 1.898 MB / 0.8322 GB, free: 41.46 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003751/0.6738, allocations: 248 kB / 0.8324 GB, free: 41.46 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004111/0.6779, allocations: 1.936 MB / 0.8343 GB, free: 41.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004746/0.6784, allocations: 0.5941 MB / 0.8349 GB, free: 41.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.6799, allocations: 1.457 MB / 0.8363 GB, free: 40.96 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005563/0.6855, allocations: 4.407 MB / 0.8406 GB, free: 40.37 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6855, allocations: 4 kB / 0.8406 GB, free: 40.36 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/0.6855, allocations: 0.5938 kB / 0.8406 GB, free: 40.36 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.448e-05/0.6855, allocations: 0 / 0.8406 GB, free: 40.36 MB / 0.6387 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.00475/0.6903, allocations: 3.271 MB / 0.8438 GB, free: 38.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6903, allocations: 9.906 kB / 0.8438 GB, free: 38.76 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002194/0.6906, allocations: 223.6 kB / 0.844 GB, free: 38.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004029/0.6946, allocations: 0.8465 MB / 0.8448 GB, free: 38.53 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003838/0.6985, allocations: 2.365 MB / 0.8472 GB, free: 37.93 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.6985, allocations: 124.1 kB / 0.8473 GB, free: 37.92 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.6988, allocations: 162.3 kB / 0.8474 GB, free: 37.92 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.7022, allocations: 1.922 MB / 0.8493 GB, free: 37.7 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/0.7022, allocations: 3.125 kB / 0.8493 GB, free: 37.7 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.7024, allocations: 62.59 kB / 0.8494 GB, free: 37.7 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.7024, allocations: 37.03 kB / 0.8494 GB, free: 37.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/0.7064, allocations: 1.784 MB / 0.8511 GB, free: 37.66 MB / 0.6387 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.009792/0.7162, allocations: 8.993 MB / 0.8599 GB, free: 33.29 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/0.7201, allocations: 1.193 MB / 0.8611 GB, free: 33.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/0.721, allocations: 462.2 kB / 0.8615 GB, free: 33.19 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.7217, allocations: 1.723 MB / 0.8632 GB, free: 31.22 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.7218, allocations: 40.38 kB / 0.8633 GB, free: 31.18 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/0.7218, allocations: 3 kB / 0.8633 GB, free: 31.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.007777/0.7296, allocations: 2.338 MB / 0.8655 GB, free: 30.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7296, allocations: 89.8 kB / 0.8656 GB, free: 30.6 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003121/0.7327, allocations: 2.5 MB / 0.8681 GB, free: 29.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.456e-05/0.7328, allocations: 45.83 kB / 0.8681 GB, free: 29.95 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006524/0.7335, allocations: 1.055 MB / 0.8691 GB, free: 29.58 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/0.7337, allocations: 284.4 kB / 0.8694 GB, free: 29.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003563/0.7341, allocations: 259.7 kB / 0.8697 GB, free: 29.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.7341, allocations: 344.4 kB / 0.87 GB, free: 28.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.7356, allocations: 0.569 MB / 0.8705 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.7373, allocations: 0.9547 MB / 0.8715 GB, free: 28.34 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.7398, allocations: 1.255 MB / 0.8727 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.7399, allocations: 2.969 kB / 0.8727 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005524/0.7454, allocations: 2.034 MB / 0.8747 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7454, allocations: 20.3 kB / 0.8747 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7454, allocations: 7.812 kB / 0.8747 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/0.7468, allocations: 416.1 kB / 0.8751 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.7479, allocations: 283.8 kB / 0.8754 GB, free: 26.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/0.7496, allocations: 1.504 MB / 0.8768 GB, free: 25.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002425/0.7521, allocations: 370.7 kB / 0.8772 GB, free: 25.12 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.7522, allocations: 56.97 kB / 0.8773 GB, free: 25.11 MB / 0.6387 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.0007635/0.7529, allocations: 463.4 kB / 0.8777 GB, free: 24.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003283/0.7533, allocations: 261.1 kB / 0.8779 GB, free: 24.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.7563, allocations: 1.494 MB / 0.8794 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.689e-05/0.7563, allocations: 11.98 kB / 0.8794 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.7563, allocations: 3.375 kB / 0.8794 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7563, allocations: 3.984 kB / 0.8794 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.7624, allocations: 3.596 MB / 0.8829 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7624, allocations: 4 kB / 0.8829 GB, free: 19.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.763, allocations: 130.9 kB / 0.8831 GB, free: 19.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001232/0.7642, allocations: 417.2 kB / 0.8835 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-05/0.7643, allocations: 35.91 kB / 0.8835 GB, free: 18.85 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002109/0.7664, allocations: 1.56 MB / 0.885 GB, free: 17.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.7664, allocations: 11.03 kB / 0.885 GB, free: 17.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005117/0.7715, allocations: 1.94 MB / 0.8869 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008253/0.7724, allocations: 495 kB / 0.8874 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.7727, allocations: 27.92 kB / 0.8874 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/0.7742, allocations: 139.8 kB / 0.8876 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.7743, allocations: 67.33 kB / 0.8876 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.93e-05/0.7744, allocations: 43.91 kB / 0.8877 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002293/0.7767, allocations: 1.757 MB / 0.8894 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7767, allocations: 0 / 0.8894 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001629/0.7783, allocations: 0.6903 MB / 0.8901 GB, free: 12.05 MB / 0.6387 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.006055/0.7844, allocations: 3.013 MB / 0.893 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.7879, allocations: 1.342 MB / 0.8943 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7879, allocations: 4 kB / 0.8943 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.7899, allocations: 0.6712 MB / 0.895 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/0.7947, allocations: 1.324 MB / 0.8963 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02888/0.8236, allocations: 16.61 MB / 0.9125 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009711/0.8246, allocations: 1.49 MB / 0.9139 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001656/0.8263, allocations: 434.3 kB / 0.9143 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/0.8274, allocations: 0.9054 MB / 0.9152 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.8274, allocations: 0 / 0.9152 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1092/0.9366, allocations: 65.9 MB / 0.9796 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.96, allocations: 10.17 kB / 0.9796 GB, free: 1.258 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)