Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_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.001092/0.001092, allocations: 106.4 kB / 16.41 MB, free: 6.465 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.001163/0.001164, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7728/0.7728, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 74.91 kB / 0.568 GB, free: 28.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1349, allocations: 77.92 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4874/0.6223, allocations: 132.2 MB / 0.7731 GB, free: 28.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02872/0.6511, allocations: 23.21 MB / 0.7958 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004883/0.656, allocations: 126.9 kB / 0.7959 GB, free: 27.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.6597, allocations: 1.537 MB / 0.7974 GB, free: 26.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.6702, allocations: 4.316 MB / 0.8016 GB, free: 24.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005165/0.6754, allocations: 2.179 MB / 0.8038 GB, free: 23.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00862/0.684, allocations: 6.536 MB / 0.8101 GB, free: 19.97 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002822/0.6868, allocations: 2.355 MB / 0.8124 GB, free: 18.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/0.6919, allocations: 2.807 MB / 0.8152 GB, free: 16.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002334/0.6942, allocations: 1.887 MB / 0.817 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.6946, allocations: 247.9 kB / 0.8173 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003881/0.6985, allocations: 1.936 MB / 0.8192 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004385/0.6989, allocations: 0.6025 MB / 0.8197 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.7003, allocations: 1.449 MB / 0.8212 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005548/0.7058, allocations: 4.373 MB / 0.8254 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.7059, allocations: 0 / 0.8254 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7059, allocations: 0 / 0.8254 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.65e-05/0.706, allocations: 0 / 0.8254 GB, free: 10.78 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.005122/0.7111, allocations: 3.255 MB / 0.8286 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.7111, allocations: 12.62 kB / 0.8286 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.7113, allocations: 223.9 kB / 0.8288 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004167/0.7155, allocations: 0.8531 MB / 0.8297 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003993/0.7195, allocations: 2.345 MB / 0.832 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/0.7196, allocations: 127 kB / 0.8321 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.7198, allocations: 156 kB / 0.8322 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003446/0.7233, allocations: 1.923 MB / 0.8341 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.7233, allocations: 4 kB / 0.8341 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.7235, allocations: 64 kB / 0.8342 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.7235, allocations: 47.88 kB / 0.8342 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.7275, allocations: 1.78 MB / 0.836 GB, free: 15.97 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.01364/0.7412, allocations: 8.988 MB / 0.8447 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/0.7455, allocations: 1.201 MB / 0.8459 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.7466, allocations: 461.4 kB / 0.8463 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.7477, allocations: 1.728 MB / 0.848 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.7478, allocations: 42.56 kB / 0.8481 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.424e-06/0.7478, allocations: 0 / 0.8481 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008614/0.7564, allocations: 2.333 MB / 0.8504 GB, free: 272 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.7565, allocations: 92.86 kB / 0.8504 GB, free: 160 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/0.7602, allocations: 2.485 MB / 0.8529 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.7603, allocations: 45.7 kB / 0.8529 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000857/0.7612, allocations: 1.057 MB / 0.8539 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.7615, allocations: 288.5 kB / 0.8542 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.7619, allocations: 250.8 kB / 0.8545 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.762, allocations: 345.9 kB / 0.8548 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.7638, allocations: 0.5724 MB / 0.8553 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00203/0.7658, allocations: 0.9543 MB / 0.8563 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/0.7688, allocations: 1.248 MB / 0.8575 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/0.7688, allocations: 7.938 kB / 0.8575 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006273/0.7751, allocations: 2.037 MB / 0.8595 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.7751, allocations: 8 kB / 0.8595 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.7751, allocations: 12 kB / 0.8595 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.7767, allocations: 417.8 kB / 0.8599 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.7779, allocations: 283.6 kB / 0.8602 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.7799, allocations: 1.504 MB / 0.8616 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.7826, allocations: 370.5 kB / 0.862 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/0.7827, allocations: 59.97 kB / 0.8621 GB, free: 3.887 MB / 0.6075 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.0008135/0.7835, allocations: 457.5 kB / 0.8625 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004356/0.784, allocations: 266.2 kB / 0.8627 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.7876, allocations: 1.487 MB / 0.8642 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.457e-05/0.7876, allocations: 16 kB / 0.8642 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.7876, allocations: 3.938 kB / 0.8642 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.7877, allocations: 7.984 kB / 0.8642 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007457/0.7951, allocations: 3.597 MB / 0.8677 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.7952, allocations: 11.97 kB / 0.8678 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006112/0.7958, allocations: 131.8 kB / 0.8679 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.7972, allocations: 411.9 kB / 0.8683 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-05/0.7973, allocations: 27.98 kB / 0.8683 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.7998, allocations: 1.569 MB / 0.8698 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7998, allocations: 4 kB / 0.8698 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00601/0.8058, allocations: 1.948 MB / 0.8717 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.8069, allocations: 0.4911 MB / 0.8722 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/0.8073, allocations: 27.83 kB / 0.8722 GB, free: 9.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.8089, allocations: 135.8 kB / 0.8724 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.809, allocations: 59.88 kB / 0.8724 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/0.8091, allocations: 47.89 kB / 0.8725 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002923/0.8121, allocations: 1.742 MB / 0.8742 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8121, allocations: 0 / 0.8742 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002895/0.815, allocations: 0.698 MB / 0.8749 GB, free: 6.543 MB / 0.6231 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.00742/0.8224, allocations: 3.004 MB / 0.8778 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004179/0.8266, allocations: 1.347 MB / 0.8791 GB, free: 2.195 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8267, allocations: 4.062 kB / 0.8791 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.8289, allocations: 0.6588 MB / 0.8798 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006504/0.8355, allocations: 1.344 MB / 0.8811 GB, free: 216 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03489/0.8704, allocations: 16.74 MB / 0.8974 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/0.8714, allocations: 1.486 MB / 0.8989 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001789/0.8732, allocations: 428.6 kB / 0.8993 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.8743, allocations: 0.8976 MB / 0.9001 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/0.8743, allocations: 0 / 0.9001 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/0.9845, allocations: 65.84 MB / 0.9644 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.74, allocations: 10.53 kB / 0.9645 GB, free: 11.04 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)