Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.00122/0.00122, allocations: 101.5 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.001379/0.001379, 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.396/1.396, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.002442/0.002442, allocations: 287.8 kB / 309.1 MB, free: 3.992 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.195/1.195, allocations: 180.9 MB / 0.5333 GB, free: 13.68 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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.002862/0.002862, allocations: 104 kB / 0.7342 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1626, allocations: 95.33 MB / 0.8273 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1388/0.3014, allocations: 133.7 MB / 0.9579 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4228/0.7242, allocations: 23.26 MB / 0.9806 GB, free: 41.87 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004124/0.7283, allocations: 170.4 kB / 0.9808 GB, free: 41.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004149/0.7325, allocations: 1.552 MB / 0.9823 GB, free: 41.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01115/0.7436, allocations: 4.321 MB / 0.9865 GB, free: 41.81 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005148/0.7488, allocations: 2.169 MB / 0.9886 GB, free: 41.76 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009155/0.7579, allocations: 6.536 MB / 0.995 GB, free: 41.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.7613, allocations: 1.923 MB / 0.9969 GB, free: 41.56 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006861/0.7682, allocations: 2.844 MB / 0.9997 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003559/0.7718, allocations: 1.98 MB / 1.002 GB, free: 41.12 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004397/0.7722, allocations: 247.3 kB / 1.002 GB, free: 41.12 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004514/0.7767, allocations: 2.024 MB / 1.004 GB, free: 41.09 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/0.7773, allocations: 0.6225 MB / 1.004 GB, free: 40.96 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.7791, allocations: 1.458 MB / 1.006 GB, free: 40.56 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006877/0.786, allocations: 4.456 MB / 1.01 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.786, allocations: 0 / 1.01 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.126e-06/0.786, allocations: 6.906 kB / 1.01 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.942e-05/0.786, allocations: 0 / 1.01 GB, free: 39.96 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.005329/0.7914, allocations: 3.271 MB / 1.013 GB, free: 38.35 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.7914, allocations: 11.62 kB / 1.013 GB, free: 38.35 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002227/0.7916, allocations: 218.2 kB / 1.014 GB, free: 38.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004303/0.7959, allocations: 0.8559 MB / 1.014 GB, free: 38.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/0.7998, allocations: 2.336 MB / 1.017 GB, free: 37.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.579e-05/0.7999, allocations: 130.5 kB / 1.017 GB, free: 37.51 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002146/0.8001, allocations: 160.5 kB / 1.017 GB, free: 37.51 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.8037, allocations: 1.924 MB / 1.019 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/0.8038, allocations: 2.625 kB / 1.019 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.8039, allocations: 64.94 kB / 1.019 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.8039, allocations: 38.06 kB / 1.019 GB, free: 37.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004478/0.8084, allocations: 1.801 MB / 1.021 GB, free: 37.25 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.01054/0.8189, allocations: 9.015 MB / 1.03 GB, free: 32.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/0.8231, allocations: 1.158 MB / 1.031 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.8242, allocations: 432.4 kB / 1.031 GB, free: 31.85 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007356/0.8249, allocations: 1.719 MB / 1.033 GB, free: 29.85 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.8249, allocations: 47.97 kB / 1.033 GB, free: 29.81 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.926e-06/0.8249, allocations: 0 / 1.033 GB, free: 29.81 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008665/0.8336, allocations: 2.343 MB / 1.035 GB, free: 28.87 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.8336, allocations: 85.83 kB / 1.035 GB, free: 28.78 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.8372, allocations: 2.529 MB / 1.038 GB, free: 27.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.8373, allocations: 46.33 kB / 1.038 GB, free: 27.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005979/0.8379, allocations: 1.047 MB / 1.039 GB, free: 26.46 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.8381, allocations: 289.5 kB / 1.039 GB, free: 26.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/0.8385, allocations: 258.5 kB / 1.039 GB, free: 26.07 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.8385, allocations: 345.8 kB / 1.04 GB, free: 25.74 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001664/0.8402, allocations: 0.5716 MB / 1.04 GB, free: 25.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/0.8421, allocations: 0.9521 MB / 1.041 GB, free: 24.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.8448, allocations: 1.25 MB / 1.042 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.8448, allocations: 2.344 kB / 1.042 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006192/0.851, allocations: 2.032 MB / 1.044 GB, free: 22.99 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8511, allocations: 8.312 kB / 1.044 GB, free: 22.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8511, allocations: 8.719 kB / 1.044 GB, free: 22.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001681/0.8528, allocations: 497.2 kB / 1.045 GB, free: 22.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.8539, allocations: 283.1 kB / 1.045 GB, free: 22.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.8557, allocations: 1.523 MB / 1.047 GB, free: 21.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/0.8584, allocations: 376.1 kB / 1.047 GB, free: 21.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.8585, allocations: 63.05 kB / 1.047 GB, free: 21.15 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000741/0.8592, allocations: 460.9 kB / 1.047 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.8596, allocations: 259 kB / 1.048 GB, free: 20.71 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/0.8629, allocations: 1.489 MB / 1.049 GB, free: 19.52 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.76e-05/0.8629, allocations: 15.98 kB / 1.049 GB, free: 19.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.863, allocations: 4 kB / 1.049 GB, free: 19.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.863, allocations: 3.984 kB / 1.049 GB, free: 19.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.8695, allocations: 3.61 MB / 1.053 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8695, allocations: 4 kB / 1.053 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.8701, allocations: 126.1 kB / 1.053 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.8715, allocations: 490.5 kB / 1.053 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.422e-05/0.8716, allocations: 23.98 kB / 1.053 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002235/0.8738, allocations: 1.583 MB / 1.055 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8738, allocations: 7.406 kB / 1.055 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.8794, allocations: 1.943 MB / 1.057 GB, free: 11.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/0.8802, allocations: 0.5067 MB / 1.057 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.8805, allocations: 19.98 kB / 1.057 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/0.8822, allocations: 135.8 kB / 1.057 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.8823, allocations: 64.86 kB / 1.057 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/0.8824, allocations: 43.97 kB / 1.057 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002414/0.8848, allocations: 1.773 MB / 1.059 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8848, allocations: 0 / 1.059 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001745/0.8865, allocations: 0.6941 MB / 1.06 GB, free: 8.344 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006497/0.893, allocations: 2.985 MB / 1.063 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003833/0.8969, allocations: 1.301 MB / 1.064 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.8969, allocations: 8.062 kB / 1.064 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/0.8991, allocations: 0.6524 MB / 1.065 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005599/0.9047, allocations: 1.325 MB / 1.066 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/0.9393, allocations: 16.73 MB / 1.082 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.9405, allocations: 1.486 MB / 1.084 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001761/0.9423, allocations: 440.4 kB / 1.084 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.9436, allocations: 0.9015 MB / 1.085 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of SimCode: time 7.61e-07/0.9436, allocations: 0 / 1.085 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1237/1.067, allocations: 66.41 MB / 1.15 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/18.18, allocations: 7 kB / 1.15 GB, free: 13.16 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_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_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.27063596015796] Failed to read output from testmodel.py, exit status != 0: 18.32120112190023 18.345151553 17.554760031 Calling exit ...