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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 102.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 212.9 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002479/0.002479, allocations: 288 kB / 309.1 MB, free: 3.98 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.19/1.19, allocations: 180.9 MB / 0.5333 GB, free: 13.79 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002921/0.002921, allocations: 98.53 kB / 0.7342 GB, free: 28.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1603, allocations: 95.34 MB / 0.8273 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1377/0.298, allocations: 133.7 MB / 0.9579 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4219/0.7199, allocations: 23.26 MB / 0.9806 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004635/0.7246, allocations: 170.3 kB / 0.9807 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003788/0.7283, allocations: 1.547 MB / 0.9823 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.739, allocations: 4.322 MB / 0.9865 GB, free: 41.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005199/0.7442, allocations: 2.168 MB / 0.9886 GB, free: 41.71 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009466/0.7537, allocations: 6.533 MB / 0.995 GB, free: 41.7 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003855/0.7575, allocations: 1.906 MB / 0.9968 GB, free: 41.51 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007153/0.7647, allocations: 2.844 MB / 0.9996 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.7683, allocations: 1.973 MB / 1.002 GB, free: 41.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.7688, allocations: 246.8 kB / 1.002 GB, free: 41.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004793/0.7735, allocations: 2.028 MB / 1.004 GB, free: 41.04 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.7741, allocations: 0.6135 MB / 1.004 GB, free: 40.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002062/0.7762, allocations: 1.458 MB / 1.006 GB, free: 40.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006379/0.7826, allocations: 4.451 MB / 1.01 GB, free: 39.92 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7826, allocations: 0 / 1.01 GB, free: 39.92 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7826, allocations: 0 / 1.01 GB, free: 39.92 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.231e-05/0.7826, allocations: 0 / 1.01 GB, free: 39.92 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.006251/0.7889, allocations: 3.256 MB / 1.013 GB, free: 38.31 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.7889, allocations: 9 kB / 1.013 GB, free: 38.31 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00024/0.7892, allocations: 225.2 kB / 1.014 GB, free: 38.26 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004449/0.7936, allocations: 0.8528 MB / 1.014 GB, free: 38.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004182/0.7978, allocations: 2.339 MB / 1.017 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.049e-05/0.7979, allocations: 126.3 kB / 1.017 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.7981, allocations: 161.4 kB / 1.017 GB, free: 37.46 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/0.8018, allocations: 1.921 MB / 1.019 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.8019, allocations: 6.719 kB / 1.019 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.802, allocations: 64.47 kB / 1.019 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.232e-05/0.802, allocations: 36.31 kB / 1.019 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.8064, allocations: 1.783 MB / 1.021 GB, free: 37.2 MB / 0.7169 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.01142/0.8178, allocations: 8.986 MB / 1.029 GB, free: 32.24 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004097/0.8219, allocations: 1.159 MB / 1.031 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.8229, allocations: 436.6 kB / 1.031 GB, free: 31.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006925/0.8236, allocations: 1.72 MB / 1.033 GB, free: 29.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.8236, allocations: 42.19 kB / 1.033 GB, free: 29.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.8236, allocations: 3.938 kB / 1.033 GB, free: 29.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008595/0.8322, allocations: 2.334 MB / 1.035 GB, free: 28.88 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.8323, allocations: 87.39 kB / 1.035 GB, free: 28.79 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003514/0.8358, allocations: 2.489 MB / 1.037 GB, free: 27.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001365/0.8359, allocations: 45.61 kB / 1.038 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000607/0.8365, allocations: 1.054 MB / 1.039 GB, free: 26.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.8367, allocations: 286.3 kB / 1.039 GB, free: 26.33 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.8371, allocations: 248.8 kB / 1.039 GB, free: 26.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.041e-05/0.8372, allocations: 348.9 kB / 1.039 GB, free: 25.85 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/0.8388, allocations: 0.5693 MB / 1.04 GB, free: 25.58 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001842/0.8407, allocations: 0.9546 MB / 1.041 GB, free: 24.85 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.8434, allocations: 1.251 MB / 1.042 GB, free: 24.06 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.8434, allocations: 0 / 1.042 GB, free: 24.06 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006303/0.8497, allocations: 2.023 MB / 1.044 GB, free: 23.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.8497, allocations: 11.78 kB / 1.044 GB, free: 23.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.8497, allocations: 8.344 kB / 1.044 GB, free: 23.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/0.8513, allocations: 425.3 kB / 1.045 GB, free: 22.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.8524, allocations: 282 kB / 1.045 GB, free: 22.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001832/0.8542, allocations: 1.503 MB / 1.046 GB, free: 21.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.8572, allocations: 364 kB / 1.047 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.8573, allocations: 61.47 kB / 1.047 GB, free: 21.32 MB / 0.7169 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.0008912/0.8582, allocations: 464.6 kB / 1.047 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006119/0.8588, allocations: 257.5 kB / 1.047 GB, free: 20.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003783/0.8626, allocations: 1.49 MB / 1.049 GB, free: 19.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.8626, allocations: 8 kB / 1.049 GB, free: 19.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.8626, allocations: 6.719 kB / 1.049 GB, free: 19.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.8626, allocations: 3.984 kB / 1.049 GB, free: 19.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/0.8699, allocations: 3.593 MB / 1.052 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.8699, allocations: 7.469 kB / 1.052 GB, free: 16.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.8705, allocations: 129.7 kB / 1.052 GB, free: 16.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001386/0.8719, allocations: 415.9 kB / 1.053 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.207e-05/0.872, allocations: 31.92 kB / 1.053 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002241/0.8742, allocations: 1.571 MB / 1.054 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8742, allocations: 3.281 kB / 1.054 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/0.88, allocations: 1.942 MB / 1.056 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/0.8809, allocations: 498.9 kB / 1.057 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003152/0.8813, allocations: 20 kB / 1.057 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/0.8829, allocations: 139.8 kB / 1.057 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.901e-05/0.883, allocations: 58.7 kB / 1.057 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.8831, allocations: 43.97 kB / 1.057 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002552/0.8856, allocations: 1.746 MB / 1.059 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8856, allocations: 0 / 1.059 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001962/0.8876, allocations: 0.698 MB / 1.059 GB, free: 8.777 MB / 0.7169 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.006573/0.8942, allocations: 2.973 MB / 1.062 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003796/0.8979, allocations: 1.312 MB / 1.064 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.898, allocations: 0 / 1.064 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002139/0.9001, allocations: 0.6373 MB / 1.064 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/0.9058, allocations: 1.338 MB / 1.066 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0372/0.943, allocations: 16.73 MB / 1.082 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001212/0.9442, allocations: 1.49 MB / 1.083 GB, free: 124 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002042/0.9463, allocations: 435.1 kB / 1.084 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.9475, allocations: 0.9015 MB / 1.085 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.393e-06/0.9475, allocations: 0 / 1.085 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.076, allocations: 66.07 MB / 1.149 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.23/18.3, allocations: 0 / 1.149 GB, free: 13.91 MB / 0.8106 GB " [Timeout remaining time 642] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.415132857393473] Failed to read output from testmodel.py, exit status != 0: 18.444804771337658 18.471404789 17.6839204 Calling exit ...