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.005175/0.005175, allocations: 101.8 kB / 15.73 MB, free: 5.516 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.001384/0.001384, allocations: 200.6 kB / 16.68 MB, free: 5.445 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 14.96 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8459/0.8459, allocations: 135.6 MB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 74.86 kB / 0.5857 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1445, allocations: 81.03 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4392/0.5837, allocations: 132.2 MB / 0.7939 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02643/0.6102, allocations: 23.2 MB / 0.8166 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00451/0.6148, allocations: 124.2 kB / 0.8167 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003977/0.6188, allocations: 1.494 MB / 0.8182 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.631, allocations: 4.086 MB / 0.8221 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.6367, allocations: 2.16 MB / 0.8243 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009326/0.6461, allocations: 6.547 MB / 0.8306 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003575/0.6497, allocations: 2.36 MB / 0.833 GB, free: 5.289 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006287/0.656, allocations: 2.746 MB / 0.8356 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004077/0.6601, allocations: 1.889 MB / 0.8375 GB, free: 2.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007532/0.6609, allocations: 252.5 kB / 0.8377 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005021/0.6659, allocations: 1.944 MB / 0.8396 GB, free: 1.164 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007794/0.6667, allocations: 0.5953 MB / 0.8402 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002352/0.6691, allocations: 1.454 MB / 0.8416 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006856/0.6759, allocations: 4.404 MB / 0.8459 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.676, allocations: 0 / 0.8459 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.676, allocations: 0 / 0.8459 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.164e-05/0.676, allocations: 0 / 0.8459 GB, free: 10.7 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.005772/0.6818, allocations: 3.278 MB / 0.8491 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6818, allocations: 9.109 kB / 0.8491 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002769/0.6821, allocations: 227.7 kB / 0.8493 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004564/0.6867, allocations: 0.8528 MB / 0.8502 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004687/0.6914, allocations: 2.352 MB / 0.8525 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001222/0.6915, allocations: 131 kB / 0.8526 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002458/0.6918, allocations: 164 kB / 0.8528 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/0.696, allocations: 1.919 MB / 0.8546 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.382e-05/0.6961, allocations: 3.938 kB / 0.8546 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.6963, allocations: 71.94 kB / 0.8547 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.229e-05/0.6963, allocations: 36 kB / 0.8547 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005014/0.7013, allocations: 1.784 MB / 0.8565 GB, free: 15.63 MB / 0.6231 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.01381/0.7151, allocations: 8.989 MB / 0.8653 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/0.7198, allocations: 1.202 MB / 0.8664 GB, free: 4.828 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.7211, allocations: 466.8 kB / 0.8669 GB, free: 4.367 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.7225, allocations: 1.723 MB / 0.8686 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/0.7225, allocations: 46.5 kB / 0.8686 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/0.7225, allocations: 4 kB / 0.8686 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009355/0.7319, allocations: 2.339 MB / 0.8709 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.732, allocations: 85.11 kB / 0.871 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00425/0.7363, allocations: 2.5 MB / 0.8734 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.7364, allocations: 45.7 kB / 0.8735 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009928/0.7374, allocations: 1.047 MB / 0.8745 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/0.7377, allocations: 281.6 kB / 0.8748 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004573/0.7382, allocations: 258.8 kB / 0.875 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7383, allocations: 349.9 kB / 0.8753 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001877/0.7402, allocations: 0.5764 MB / 0.8759 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002298/0.7425, allocations: 0.9504 MB / 0.8768 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.7459, allocations: 1.248 MB / 0.878 GB, free: 8.164 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.7459, allocations: 4 kB / 0.878 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007101/0.753, allocations: 2.025 MB / 0.88 GB, free: 6.121 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.753, allocations: 12.62 kB / 0.88 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.7531, allocations: 12 kB / 0.88 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001833/0.7549, allocations: 409.2 kB / 0.8804 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/0.7562, allocations: 283.5 kB / 0.8807 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.7586, allocations: 1.507 MB / 0.8822 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.7617, allocations: 366.6 kB / 0.8825 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.7619, allocations: 63.95 kB / 0.8826 GB, free: 3.434 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.00106/0.7629, allocations: 465.8 kB / 0.883 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007546/0.7637, allocations: 270.2 kB / 0.8833 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.7679, allocations: 1.486 MB / 0.8847 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.7679, allocations: 12 kB / 0.8848 GB, free: 1.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.768, allocations: 4 kB / 0.8848 GB, free: 1.176 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.768, allocations: 7.969 kB / 0.8848 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008212/0.7762, allocations: 3.618 MB / 0.8883 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.7762, allocations: 7.938 kB / 0.8883 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/0.7769, allocations: 132.2 kB / 0.8884 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001562/0.7785, allocations: 409.2 kB / 0.8888 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.7785, allocations: 23.98 kB / 0.8888 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002846/0.7814, allocations: 1.572 MB / 0.8904 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7814, allocations: 8.781 kB / 0.8904 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006485/0.7879, allocations: 1.941 MB / 0.8923 GB, free: 9.242 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009996/0.7889, allocations: 0.4911 MB / 0.8928 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.7892, allocations: 27.89 kB / 0.8928 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/0.7909, allocations: 135.8 kB / 0.8929 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.7911, allocations: 67.66 kB / 0.893 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.742e-05/0.7912, allocations: 35.97 kB / 0.893 GB, free: 8.469 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003101/0.7943, allocations: 1.753 MB / 0.8947 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7943, allocations: 0 / 0.8947 GB, free: 6.711 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00186/0.7961, allocations: 0.6902 MB / 0.8954 GB, free: 6.02 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.007917/0.8041, allocations: 3.013 MB / 0.8983 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004646/0.8087, allocations: 1.35 MB / 0.8997 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.8088, allocations: 0 / 0.8997 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002593/0.8114, allocations: 0.6685 MB / 0.9003 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006262/0.8177, allocations: 1.327 MB / 0.9016 GB, free: 15.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03598/0.8536, allocations: 16.61 MB / 0.9178 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.8549, allocations: 1.493 MB / 0.9193 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001812/0.8567, allocations: 432.5 kB / 0.9197 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.858, allocations: 0.8976 MB / 0.9206 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of SimCode: time 7.92e-07/0.858, allocations: 0 / 0.9206 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/0.9781, allocations: 65.91 MB / 0.9849 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.23/17.21, allocations: 0 / 0.9849 GB, free: 10.36 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)