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.00176/0.00176, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002292/0.002292, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00253/0.00253, allocations: 291 kB / 312.7 MB, free: 2.637 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.247/1.247, allocations: 180.6 MB / 0.5369 GB, free: 14.5 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002977/0.002977, allocations: 106.1 kB / 0.7395 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.157, allocations: 95.38 MB / 0.8326 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1337/0.2907, allocations: 121.6 MB / 0.9514 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.04562/0.3363, allocations: 21.6 MB / 0.9725 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006167/0.3425, allocations: 170.5 kB / 0.9726 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007298/0.3498, allocations: 1.483 MB / 0.9741 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02071/0.3705, allocations: 4.356 MB / 0.9783 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.3805, allocations: 2.198 MB / 0.9805 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3734/0.7539, allocations: 6.582 MB / 0.9869 GB, free: 43.01 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002831/0.7568, allocations: 1.814 MB / 0.9887 GB, free: 42.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00578/0.7625, allocations: 2.906 MB / 0.9915 GB, free: 42.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.766, allocations: 1.855 MB / 0.9933 GB, free: 42.62 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005995/0.7666, allocations: 246.1 kB / 0.9936 GB, free: 42.62 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004281/0.7709, allocations: 1.595 MB / 0.9951 GB, free: 42.62 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007219/0.7716, allocations: 0.6213 MB / 0.9957 GB, free: 42.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.7738, allocations: 1.162 MB / 0.9969 GB, free: 42.2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006664/0.7805, allocations: 4.385 MB / 1.001 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.7805, allocations: 0.8438 kB / 1.001 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7805, allocations: 1.281 kB / 1.001 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.685e-05/0.7805, allocations: 0 / 1.001 GB, free: 41.61 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.00589/0.7864, allocations: 3.195 MB / 1.004 GB, free: 40.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7865, allocations: 14.09 kB / 1.004 GB, free: 40.1 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/0.7867, allocations: 221.4 kB / 1.004 GB, free: 40.05 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/0.7908, allocations: 0.8518 MB / 1.005 GB, free: 39.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004268/0.7951, allocations: 2.271 MB / 1.008 GB, free: 39.31 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-05/0.7952, allocations: 123.7 kB / 1.008 GB, free: 39.31 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.7954, allocations: 161.6 kB / 1.008 GB, free: 39.31 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/0.799, allocations: 2.005 MB / 1.01 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.799, allocations: 3.375 kB / 1.01 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.7992, allocations: 65.22 kB / 1.01 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/0.7992, allocations: 38.31 kB / 1.01 GB, free: 38.99 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004046/0.8032, allocations: 1.799 MB / 1.012 GB, free: 38.95 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.009772/0.813, allocations: 6.489 MB / 1.018 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003771/0.8168, allocations: 1.137 MB / 1.019 GB, free: 36.83 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/0.8177, allocations: 435.5 kB / 1.019 GB, free: 36.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.8181, allocations: 160.9 kB / 1.02 GB, free: 36.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.8181, allocations: 37.25 kB / 1.02 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.8181, allocations: 0 / 1.02 GB, free: 36.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007653/0.8258, allocations: 2.197 MB / 1.022 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.8258, allocations: 85.73 kB / 1.022 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003097/0.8289, allocations: 2.538 MB / 1.024 GB, free: 36.15 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.829, allocations: 44.36 kB / 1.024 GB, free: 36.12 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.8296, allocations: 1.054 MB / 1.025 GB, free: 35.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.8298, allocations: 286.2 kB / 1.026 GB, free: 35.66 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003428/0.8302, allocations: 260.9 kB / 1.026 GB, free: 35.63 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.542e-05/0.8302, allocations: 344.8 kB / 1.026 GB, free: 35.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001505/0.8317, allocations: 0.5728 MB / 1.027 GB, free: 35.31 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.8335, allocations: 1.606 MB / 1.028 GB, free: 34.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.8361, allocations: 1.26 MB / 1.03 GB, free: 33.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.8361, allocations: 3 kB / 1.03 GB, free: 33.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005674/0.8418, allocations: 2.022 MB / 1.032 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.8418, allocations: 11.34 kB / 1.032 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.8418, allocations: 10.09 kB / 1.032 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.8434, allocations: 0.4945 MB / 1.032 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.8445, allocations: 274.4 kB / 1.032 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00175/0.8463, allocations: 1.517 MB / 1.034 GB, free: 32.42 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/0.8488, allocations: 369 kB / 1.034 GB, free: 32.31 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.8489, allocations: 63.75 kB / 1.034 GB, free: 32.31 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.0007288/0.8497, allocations: 453.8 kB / 1.035 GB, free: 32.19 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000395/0.85, allocations: 264.3 kB / 1.035 GB, free: 32.05 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.8533, allocations: 1.511 MB / 1.036 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.8533, allocations: 8.844 kB / 1.036 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8533, allocations: 3.922 kB / 1.036 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.8533, allocations: 4.125 kB / 1.036 GB, free: 31.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007343/0.8607, allocations: 3.308 MB / 1.04 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.8607, allocations: 4.75 kB / 1.04 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005553/0.8612, allocations: 122.4 kB / 1.04 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.8627, allocations: 491.9 kB / 1.04 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.8628, allocations: 29.72 kB / 1.04 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002198/0.865, allocations: 1.582 MB / 1.042 GB, free: 30.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.865, allocations: 7.25 kB / 1.042 GB, free: 30.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005534/0.8705, allocations: 1.955 MB / 1.044 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.8717, allocations: 428.1 kB / 1.044 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/0.8721, allocations: 19.59 kB / 1.044 GB, free: 29.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.8737, allocations: 127.8 kB / 1.044 GB, free: 29.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/0.8738, allocations: 64.55 kB / 1.044 GB, free: 29.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.59e-05/0.8739, allocations: 46.03 kB / 1.044 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002467/0.8763, allocations: 1.773 MB / 1.046 GB, free: 28.69 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8763, allocations: 0 / 1.046 GB, free: 28.69 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002003/0.8783, allocations: 0.6962 MB / 1.047 GB, free: 28.54 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.006411/0.8847, allocations: 3.015 MB / 1.05 GB, free: 26.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003806/0.8885, allocations: 1.298 MB / 1.051 GB, free: 26.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.8885, allocations: 7.469 kB / 1.051 GB, free: 26.17 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002566/0.8911, allocations: 0.6536 MB / 1.052 GB, free: 25.89 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005646/0.8968, allocations: 1.329 MB / 1.053 GB, free: 24.72 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02742/0.9242, allocations: 16.72 MB / 1.069 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006527/0.9248, allocations: 0.9255 MB / 1.07 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001722/0.9266, allocations: 439.8 kB / 1.071 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009347/0.9275, allocations: 0.9015 MB / 1.072 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of SimCode: time 9.12e-07/0.9275, allocations: 8 kB / 1.072 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.182/1.109, allocations: 70.75 MB / 1.141 GB, free: 328 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.12, allocations: 3.859 kB / 1.141 GB, free: 324 kB / 0.7794 GB " [Timeout remaining time 643] (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 os._exit(0), Time elapsed: 21.425290072336793] Failed to read output from testmodel.py, exit status != 0: 17.287565821781754 17.305692591 16.521570846 Calling exit ...