Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_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.004297/0.004297, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001109/0.001109, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7965/0.7965, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 67.97 kB / 0.5851 GB, free: 22.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1398, allocations: 80.91 MB / 0.6642 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4321/0.5719, allocations: 132.2 MB / 0.7932 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.5972, allocations: 23.2 MB / 0.8159 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.6012, allocations: 126.2 kB / 0.816 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002926/0.6041, allocations: 1.533 MB / 0.8175 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009473/0.6136, allocations: 4.308 MB / 0.8217 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0047/0.6183, allocations: 2.175 MB / 0.8238 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006884/0.6252, allocations: 6.557 MB / 0.8302 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.6279, allocations: 2.361 MB / 0.8325 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005056/0.633, allocations: 2.823 MB / 0.8353 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002411/0.6354, allocations: 1.889 MB / 0.8371 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.6357, allocations: 249.2 kB / 0.8374 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00393/0.6397, allocations: 1.937 MB / 0.8393 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005647/0.6403, allocations: 0.5954 MB / 0.8398 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001565/0.6418, allocations: 1.466 MB / 0.8413 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005916/0.6478, allocations: 4.4 MB / 0.8456 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6478, allocations: 0 / 0.8456 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.472e-06/0.6478, allocations: 0 / 0.8456 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.642e-05/0.6478, allocations: 4 kB / 0.8456 GB, free: 11.42 MB / 0.6075 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.005275/0.6531, allocations: 3.274 MB / 0.8488 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6532, allocations: 17.09 kB / 0.8488 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.6534, allocations: 219.7 kB / 0.849 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/0.6579, allocations: 0.8489 MB / 0.8498 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004225/0.6622, allocations: 2.356 MB / 0.8521 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.744e-05/0.6623, allocations: 123 kB / 0.8522 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/0.6625, allocations: 168 kB / 0.8524 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003941/0.6665, allocations: 1.915 MB / 0.8543 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.6665, allocations: 3.938 kB / 0.8543 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.6667, allocations: 67.94 kB / 0.8543 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/0.6667, allocations: 36 kB / 0.8544 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.6714, allocations: 1.792 MB / 0.8561 GB, free: 380 kB / 0.6075 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.01145/0.6829, allocations: 9.005 MB / 0.8649 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.6872, allocations: 1.19 MB / 0.8661 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.6883, allocations: 465.4 kB / 0.8665 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.6894, allocations: 1.719 MB / 0.8682 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.6895, allocations: 50.5 kB / 0.8682 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.6895, allocations: 0 / 0.8682 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008836/0.6983, allocations: 2.335 MB / 0.8705 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6984, allocations: 85.11 kB / 0.8706 GB, free: 460 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.702, allocations: 2.504 MB / 0.8731 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.7021, allocations: 45.7 kB / 0.8731 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009105/0.703, allocations: 1.043 MB / 0.8741 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.7033, allocations: 285.6 kB / 0.8744 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/0.7037, allocations: 258.7 kB / 0.8746 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7038, allocations: 349.9 kB / 0.875 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.7056, allocations: 0.5764 MB / 0.8755 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002102/0.7078, allocations: 0.9504 MB / 0.8765 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.7109, allocations: 1.244 MB / 0.8777 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.7109, allocations: 0 / 0.8777 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006541/0.7174, allocations: 2.034 MB / 0.8797 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.7175, allocations: 11.94 kB / 0.8797 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.7175, allocations: 8 kB / 0.8797 GB, free: 6.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001604/0.7191, allocations: 425.2 kB / 0.8801 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7204, allocations: 279.6 kB / 0.8804 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.7226, allocations: 1.506 MB / 0.8818 GB, free: 4.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.7251, allocations: 366.7 kB / 0.8822 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001247/0.7253, allocations: 63.89 kB / 0.8822 GB, free: 4.168 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.0006999/0.726, allocations: 465.4 kB / 0.8827 GB, free: 3.703 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.7264, allocations: 266.2 kB / 0.8829 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.7301, allocations: 1.479 MB / 0.8844 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.7301, allocations: 12 kB / 0.8844 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.7301, allocations: 7.922 kB / 0.8844 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7301, allocations: 11.92 kB / 0.8844 GB, free: 1.914 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007417/0.7376, allocations: 3.603 MB / 0.8879 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.7376, allocations: 4 kB / 0.8879 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.7382, allocations: 128.2 kB / 0.8881 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/0.7397, allocations: 421.2 kB / 0.8885 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.033e-05/0.7398, allocations: 23.98 kB / 0.8885 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.7424, allocations: 1.571 MB / 0.89 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7424, allocations: 4 kB / 0.89 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/0.7484, allocations: 1.942 MB / 0.8919 GB, free: 10 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.7493, allocations: 498.9 kB / 0.8924 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.7497, allocations: 27.89 kB / 0.8924 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.7515, allocations: 139.8 kB / 0.8925 GB, free: 9.328 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.7516, allocations: 67.66 kB / 0.8926 GB, free: 9.262 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.539e-05/0.7517, allocations: 39.97 kB / 0.8926 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003058/0.7548, allocations: 1.75 MB / 0.8944 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.414e-06/0.7548, allocations: 0 / 0.8944 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001818/0.7566, allocations: 0.698 MB / 0.895 GB, free: 6.77 MB / 0.6544 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.007439/0.7641, allocations: 3.007 MB / 0.898 GB, free: 3.695 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004165/0.7683, allocations: 1.346 MB / 0.8993 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.7683, allocations: 0 / 0.8993 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.7707, allocations: 0.6682 MB / 0.8999 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006014/0.7767, allocations: 1.339 MB / 0.9012 GB, free: 372 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/0.8096, allocations: 16.6 MB / 0.9175 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.8107, allocations: 1.49 MB / 0.9189 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001665/0.8124, allocations: 436.5 kB / 0.9193 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.8136, allocations: 0.8976 MB / 0.9202 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.8136, allocations: 0 / 0.9202 GB, free: 12.42 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/0.9163, allocations: 65.9 MB / 0.9846 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.96/16.88, allocations: 4.062 kB / 0.9846 GB, free: 11.12 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)