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.001536/0.001536, allocations: 108 kB / 15.6 MB, free: 132 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.001759/0.001759, allocations: 194.7 kB / 16.53 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.257/1.257, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8885/0.8885, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 61.78 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 80.92 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3229/0.4636, allocations: 132.2 MB / 0.7135 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02982/0.4934, allocations: 23.19 MB / 0.7362 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/0.4968, allocations: 125.4 kB / 0.7363 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.4998, allocations: 1.484 MB / 0.7378 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008683/0.5085, allocations: 4.087 MB / 0.7417 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00445/0.513, allocations: 2.145 MB / 0.7438 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00619/0.5192, allocations: 6.521 MB / 0.7502 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002624/0.5218, allocations: 2.361 MB / 0.7525 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/0.5263, allocations: 2.755 MB / 0.7552 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001955/0.5282, allocations: 1.878 MB / 0.757 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003283/0.5286, allocations: 248 kB / 0.7573 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/0.5321, allocations: 1.938 MB / 0.7592 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004837/0.5326, allocations: 0.6071 MB / 0.7598 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.5338, allocations: 1.454 MB / 0.7612 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004223/0.538, allocations: 4.339 MB / 0.7654 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.5381, allocations: 0 / 0.7654 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5381, allocations: 0 / 0.7654 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.516e-05/0.5381, allocations: 0 / 0.7654 GB, free: 3.59 MB / 0.5762 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.004773/0.5429, allocations: 3.173 MB / 0.7685 GB, free: 340 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5429, allocations: 12.03 kB / 0.7685 GB, free: 328 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000238/0.5432, allocations: 219.8 kB / 0.7687 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.5475, allocations: 0.8395 MB / 0.7696 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003692/0.5512, allocations: 2.229 MB / 0.7717 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009679/0.5522, allocations: 290.9 kB / 0.772 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.5524, allocations: 160 kB / 0.7722 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003802/0.5563, allocations: 1.946 MB / 0.7741 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.5563, allocations: 0 / 0.7741 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.5564, allocations: 67.94 kB / 0.7741 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.5565, allocations: 36 kB / 0.7742 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004791/0.5613, allocations: 1.807 MB / 0.7759 GB, free: 8.582 MB / 0.5919 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.01114/0.5724, allocations: 9.07 MB / 0.7848 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004378/0.5768, allocations: 1.186 MB / 0.7859 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.578, allocations: 462.2 kB / 0.7864 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.5791, allocations: 1.722 MB / 0.7881 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.5792, allocations: 58.19 kB / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.004e-06/0.5792, allocations: 0 / 0.7881 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008426/0.5876, allocations: 2.308 MB / 0.7904 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.5877, allocations: 89.09 kB / 0.7905 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/0.5912, allocations: 2.52 MB / 0.7929 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.5913, allocations: 45.7 kB / 0.793 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008476/0.5921, allocations: 1.041 MB / 0.794 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.5924, allocations: 264.2 kB / 0.7942 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004122/0.5928, allocations: 258.6 kB / 0.7945 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5929, allocations: 353.8 kB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.5948, allocations: 0.5842 MB / 0.7954 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002168/0.5969, allocations: 0.9738 MB / 0.7963 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.6, allocations: 1.253 MB / 0.7976 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.6001, allocations: 4 kB / 0.7976 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00651/0.6066, allocations: 2.04 MB / 0.7996 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.6066, allocations: 11.98 kB / 0.7996 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.6066, allocations: 8 kB / 0.7996 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001486/0.6081, allocations: 425.8 kB / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/0.6094, allocations: 287.6 kB / 0.8003 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.6115, allocations: 1.51 MB / 0.8017 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/0.614, allocations: 385.2 kB / 0.8021 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6141, allocations: 63.91 kB / 0.8022 GB, free: 12.25 MB / 0.6231 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.0006389/0.6148, allocations: 465.8 kB / 0.8026 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003747/0.6152, allocations: 249 kB / 0.8028 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003624/0.6188, allocations: 1.491 MB / 0.8043 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.6188, allocations: 12 kB / 0.8043 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6188, allocations: 4 kB / 0.8043 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.6189, allocations: 3.984 kB / 0.8043 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007204/0.6261, allocations: 3.607 MB / 0.8078 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.6261, allocations: 4 kB / 0.8078 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.6267, allocations: 136.1 kB / 0.808 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001366/0.6281, allocations: 413.2 kB / 0.8084 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.6282, allocations: 31.98 kB / 0.8084 GB, free: 5.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002584/0.6308, allocations: 1.567 MB / 0.8099 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6308, allocations: 7.984 kB / 0.8099 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005946/0.6367, allocations: 1.939 MB / 0.8118 GB, free: 2.086 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006765/0.6374, allocations: 485.6 kB / 0.8123 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.6377, allocations: 16 kB / 0.8123 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.6394, allocations: 151.8 kB / 0.8125 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/0.6395, allocations: 51.88 kB / 0.8125 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/0.6396, allocations: 43.95 kB / 0.8125 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002823/0.6425, allocations: 1.777 MB / 0.8143 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6425, allocations: 0 / 0.8143 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001558/0.644, allocations: 0.6905 MB / 0.815 GB, free: 14.86 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.00722/0.6513, allocations: 2.982 MB / 0.8179 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00423/0.6555, allocations: 1.405 MB / 0.8192 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6555, allocations: 0 / 0.8192 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002377/0.6579, allocations: 0.6722 MB / 0.8199 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/0.6633, allocations: 1.336 MB / 0.8212 GB, free: 8.449 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03296/0.6963, allocations: 19.06 MB / 0.8398 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/0.6974, allocations: 1.49 MB / 0.8413 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00162/0.699, allocations: 428.6 kB / 0.8417 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.7001, allocations: 0.8976 MB / 0.8426 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.7001, allocations: 0 / 0.8426 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3191/1.019, allocations: 68.17 MB / 0.9091 GB, free: 205.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.95, allocations: 1.375 kB / 0.9091 GB, free: 205.7 MB / 0.67 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)