Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_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.007583/0.007583, allocations: 96.73 kB / 15.73 MB, free: 6.484 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.001666/0.001666, allocations: 192 kB / 16.67 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 287 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.926/0.926, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 101.8 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.165, allocations: 86.96 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4444/0.6094, allocations: 132.2 MB / 0.895 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0302/0.6396, allocations: 23.22 MB / 0.9177 GB, free: 7.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004439/0.6441, allocations: 127.2 kB / 0.9178 GB, free: 7.695 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004086/0.6482, allocations: 1.529 MB / 0.9193 GB, free: 6.156 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.6594, allocations: 4.317 MB / 0.9235 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.6647, allocations: 2.176 MB / 0.9256 GB, free: 15.68 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008752/0.6735, allocations: 6.552 MB / 0.932 GB, free: 9.109 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003281/0.6768, allocations: 2.34 MB / 0.9343 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006762/0.6835, allocations: 2.82 MB / 0.9371 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.6867, allocations: 1.885 MB / 0.9389 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004075/0.6871, allocations: 244 kB / 0.9391 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.6911, allocations: 1.946 MB / 0.941 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005498/0.6917, allocations: 0.5876 MB / 0.9416 GB, free: 15.22 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.6935, allocations: 1.454 MB / 0.943 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006391/0.6999, allocations: 4.4 MB / 0.9473 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6999, allocations: 0 / 0.9473 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6999, allocations: 0 / 0.9473 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.636e-05/0.6999, allocations: 3.984 kB / 0.9473 GB, free: 9.348 MB / 0.7012 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.005297/0.7052, allocations: 3.258 MB / 0.9505 GB, free: 6 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7053, allocations: 12.03 kB / 0.9505 GB, free: 5.988 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002363/0.7055, allocations: 220 kB / 0.9507 GB, free: 5.762 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.7099, allocations: 0.8531 MB / 0.9516 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.7142, allocations: 2.34 MB / 0.9538 GB, free: 2.492 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.7143, allocations: 127 kB / 0.954 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.7145, allocations: 156 kB / 0.9541 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003799/0.7183, allocations: 1.93 MB / 0.956 GB, free: 224 kB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.7184, allocations: 0 / 0.956 GB, free: 224 kB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.7185, allocations: 63.98 kB / 0.9561 GB, free: 160 kB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.7186, allocations: 47.88 kB / 0.9561 GB, free: 112 kB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.7231, allocations: 1.784 MB / 0.9578 GB, free: 14.32 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.01252/0.7356, allocations: 8.988 MB / 0.9666 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004351/0.74, allocations: 1.206 MB / 0.9678 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.7412, allocations: 462.5 kB / 0.9682 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.7424, allocations: 1.722 MB / 0.9699 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.7425, allocations: 42.56 kB / 0.97 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.855e-06/0.7425, allocations: 0 / 0.97 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008732/0.7512, allocations: 2.333 MB / 0.9722 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7513, allocations: 85.11 kB / 0.9723 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/0.7558, allocations: 2.5 MB / 0.9748 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.756, allocations: 41.7 kB / 0.9748 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009048/0.7569, allocations: 1.043 MB / 0.9758 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.7572, allocations: 289.6 kB / 0.9761 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/0.7576, allocations: 258.7 kB / 0.9763 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.7578, allocations: 349.9 kB / 0.9767 GB, free: 9.895 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.7595, allocations: 0.5725 MB / 0.9772 GB, free: 9.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.7616, allocations: 0.9536 MB / 0.9782 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.7647, allocations: 1.244 MB / 0.9794 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.7647, allocations: 7.938 kB / 0.9794 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006548/0.7712, allocations: 2.029 MB / 0.9814 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.7713, allocations: 8 kB / 0.9814 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.7713, allocations: 8 kB / 0.9814 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001632/0.7729, allocations: 428.2 kB / 0.9818 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.7742, allocations: 275.5 kB / 0.9821 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.7763, allocations: 1.511 MB / 0.9835 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002677/0.779, allocations: 362.5 kB / 0.9839 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.7792, allocations: 63.95 kB / 0.9839 GB, free: 2.133 MB / 0.7325 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.0008462/0.78, allocations: 457.5 kB / 0.9844 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006068/0.7806, allocations: 266.2 kB / 0.9846 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.7844, allocations: 1.493 MB / 0.9861 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.7844, allocations: 16 kB / 0.9861 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.7844, allocations: 0 / 0.9861 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7844, allocations: 4.078 kB / 0.9861 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00777/0.7922, allocations: 3.597 MB / 0.9896 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.7922, allocations: 11.94 kB / 0.9896 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.7929, allocations: 136.1 kB / 0.9898 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.7943, allocations: 409.2 kB / 0.9902 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.7944, allocations: 27.98 kB / 0.9902 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.7969, allocations: 1.569 MB / 0.9917 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.7969, allocations: 3.938 kB / 0.9917 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.8029, allocations: 1.949 MB / 0.9936 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000982/0.8039, allocations: 0.4989 MB / 0.9941 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005239/0.8044, allocations: 23.94 kB / 0.9941 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.8062, allocations: 131.8 kB / 0.9943 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.8063, allocations: 63.86 kB / 0.9943 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.998e-05/0.8064, allocations: 43.91 kB / 0.9944 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003157/0.8096, allocations: 1.75 MB / 0.9961 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8096, allocations: 0 / 0.9961 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00198/0.8116, allocations: 0.6863 MB / 0.9967 GB, free: 4.75 MB / 0.7481 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.007131/0.8187, allocations: 3.011 MB / 0.9997 GB, free: 1.676 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.004115/0.8229, allocations: 1.346 MB / 1.001 GB, free: 344 kB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8229, allocations: 4.094 kB / 1.001 GB, free: 340 kB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.8252, allocations: 0.6613 MB / 1.002 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006308/0.8315, allocations: 1.333 MB / 1.003 GB, free: 14.36 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03507/0.8666, allocations: 16.74 MB / 1.019 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.8678, allocations: 1.49 MB / 1.021 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.00184/0.8696, allocations: 438.2 kB / 1.021 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.8709, allocations: 0.9015 MB / 1.022 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of SimCode: time 7.91e-07/0.8709, allocations: 4 kB / 1.022 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.9743, allocations: 65.91 MB / 1.086 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.63, allocations: 4 kB / 1.086 GB, free: 9.238 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)