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.007483/0.007483, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001314/0.001314, allocations: 194.2 kB / 16.67 MB, free: 5.977 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002424/0.002424, allocations: 278.4 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5074 GB, free: 4.492 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002668, allocations: 96.27 kB / 0.6943 GB, free: 3.629 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4513, allocations: 89.14 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1387/0.59, allocations: 132.2 MB / 0.9104 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03486/0.6249, allocations: 23.23 MB / 0.9331 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003837/0.6288, allocations: 123.2 kB / 0.9332 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003881/0.6327, allocations: 1.494 MB / 0.9347 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01089/0.6436, allocations: 4.096 MB / 0.9387 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005375/0.649, allocations: 2.162 MB / 0.9408 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009706/0.6587, allocations: 6.532 MB / 0.9472 GB, free: 4.977 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003797/0.6626, allocations: 2.351 MB / 0.9495 GB, free: 2.57 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006854/0.6694, allocations: 2.753 MB / 0.9522 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.6734, allocations: 1.878 MB / 0.954 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008578/0.6743, allocations: 248 kB / 0.9542 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005386/0.6797, allocations: 1.946 MB / 0.9561 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008047/0.6805, allocations: 0.5914 MB / 0.9567 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.6828, allocations: 1.45 MB / 0.9581 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007552/0.6904, allocations: 4.369 MB / 0.9624 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6904, allocations: 0 / 0.9624 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6904, allocations: 0 / 0.9624 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.33e-05/0.6905, allocations: 0 / 0.9624 GB, free: 5.305 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.005877/0.6964, allocations: 3.258 MB / 0.9656 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.6964, allocations: 12.03 kB / 0.9656 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000273/0.6967, allocations: 227.9 kB / 0.9658 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.7012, allocations: 0.853 MB / 0.9666 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004779/0.706, allocations: 2.333 MB / 0.9689 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.7062, allocations: 123 kB / 0.969 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000259/0.7064, allocations: 163.9 kB / 0.9692 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/0.7107, allocations: 1.926 MB / 0.9711 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.7108, allocations: 4 kB / 0.9711 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.7109, allocations: 60 kB / 0.9711 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.066e-05/0.711, allocations: 43.94 kB / 0.9712 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.7158, allocations: 1.784 MB / 0.9729 GB, free: 10.29 MB / 0.7325 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.01343/0.7293, allocations: 8.994 MB / 0.9817 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/0.7338, allocations: 1.2 MB / 0.9829 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.7349, allocations: 457.4 kB / 0.9833 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001335/0.7363, allocations: 1.723 MB / 0.985 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.7364, allocations: 42.55 kB / 0.985 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.494e-06/0.7364, allocations: 3.938 kB / 0.985 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.009137/0.7455, allocations: 2.343 MB / 0.9873 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.7456, allocations: 85.11 kB / 0.9874 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.7499, allocations: 2.493 MB / 0.9898 GB, free: 7.852 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000192/0.7501, allocations: 45.64 kB / 0.9899 GB, free: 7.801 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009687/0.7511, allocations: 1.054 MB / 0.9909 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.7514, allocations: 289.5 kB / 0.9912 GB, free: 6.453 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004416/0.7519, allocations: 250.8 kB / 0.9914 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.752, allocations: 345.9 kB / 0.9918 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.7539, allocations: 0.5686 MB / 0.9923 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.7561, allocations: 0.9573 MB / 0.9932 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003182/0.7593, allocations: 1.248 MB / 0.9945 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.7593, allocations: 4 kB / 0.9945 GB, free: 2.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006816/0.7661, allocations: 2.029 MB / 0.9964 GB, free: 0.7812 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7662, allocations: 8.625 kB / 0.9965 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.7662, allocations: 8 kB / 0.9965 GB, free: 0.7656 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.7678, allocations: 425.2 kB / 0.9969 GB, free: 352 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.7691, allocations: 279.6 kB / 0.9971 GB, free: 72 kB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.7714, allocations: 1.509 MB / 0.9986 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/0.774, allocations: 370.5 kB / 0.999 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.7742, allocations: 59.97 kB / 0.999 GB, free: 14.09 MB / 0.7637 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.0008254/0.775, allocations: 457.5 kB / 0.9995 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004401/0.7755, allocations: 262.3 kB / 0.9997 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/0.7792, allocations: 1.497 MB / 1.001 GB, free: 11.86 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.122e-05/0.7793, allocations: 19.98 kB / 1.001 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7793, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.7793, allocations: 3.984 kB / 1.001 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/0.787, allocations: 3.595 MB / 1.005 GB, free: 8.133 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.7871, allocations: 4 kB / 1.005 GB, free: 8.129 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006378/0.7877, allocations: 131.7 kB / 1.005 GB, free: 8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/0.7892, allocations: 417.4 kB / 1.005 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.7893, allocations: 23.98 kB / 1.005 GB, free: 7.562 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.7921, allocations: 1.569 MB / 1.007 GB, free: 5.941 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.7921, allocations: 12 kB / 1.007 GB, free: 5.93 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006315/0.7984, allocations: 1.956 MB / 1.009 GB, free: 3.91 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009394/0.7994, allocations: 0.495 MB / 1.009 GB, free: 3.395 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.7997, allocations: 24 kB / 1.009 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.8014, allocations: 131.8 kB / 1.009 GB, free: 3.242 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.61e-05/0.8015, allocations: 63.8 kB / 1.009 GB, free: 3.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.112e-05/0.8016, allocations: 35.97 kB / 1.009 GB, free: 3.145 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003015/0.8046, allocations: 1.75 MB / 1.011 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8046, allocations: 4 kB / 1.011 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001781/0.8064, allocations: 0.6902 MB / 1.012 GB, free: 0.6953 MB / 0.7637 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.007617/0.814, allocations: 3.001 MB / 1.015 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004325/0.8184, allocations: 1.346 MB / 1.016 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8184, allocations: 4 kB / 1.016 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002467/0.8209, allocations: 0.6722 MB / 1.017 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006028/0.8269, allocations: 1.327 MB / 1.018 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0358/0.8627, allocations: 16.76 MB / 1.034 GB, free: 9.062 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.8639, allocations: 1.482 MB / 1.036 GB, free: 7.543 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001754/0.8657, allocations: 435.3 kB / 1.036 GB, free: 7.117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/0.8669, allocations: 0.9054 MB / 1.037 GB, free: 6.211 MB / 0.795 GB Notification: Performance of SimCode: time 8.92e-07/0.8669, allocations: 0 / 1.037 GB, free: 6.211 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4173/1.284, allocations: 65.9 MB / 1.101 GB, free: 262.7 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.14/17.42, allocations: 16.89 kB / 1.102 GB, free: 262.7 MB / 0.8262 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)