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.001312/0.001312, allocations: 113 kB / 18.94 MB, free: 2.934 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.001438/0.001438, allocations: 209.8 kB / 22.25 MB, free: 5.086 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 8 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.00246/0.00246, allocations: 279.7 kB / 312.7 MB, free: 2.797 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.162/1.162, allocations: 180.6 MB / 0.5369 GB, free: 12.93 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.002825/0.002825, allocations: 103.3 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1667, allocations: 95.39 MB / 0.8327 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1406/0.3073, allocations: 135 MB / 0.9645 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4016/0.7089, allocations: 23.33 MB / 0.9873 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004167/0.7131, allocations: 170.2 kB / 0.9875 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004102/0.7172, allocations: 1.549 MB / 0.989 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01384/0.731, allocations: 4.396 MB / 0.9933 GB, free: 42.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007181/0.7382, allocations: 2.26 MB / 0.9955 GB, free: 42.24 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01252/0.7507, allocations: 6.611 MB / 1.002 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007417/0.7581, allocations: 1.847 MB / 1.004 GB, free: 42.05 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/0.7687, allocations: 2.886 MB / 1.007 GB, free: 41.94 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00439/0.7731, allocations: 1.97 MB / 1.008 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.7742, allocations: 248.6 kB / 1.009 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/0.7804, allocations: 2.062 MB / 1.011 GB, free: 41.55 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.7816, allocations: 0.6242 MB / 1.011 GB, free: 41.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004051/0.7857, allocations: 1.461 MB / 1.013 GB, free: 41.03 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.7965, allocations: 4.459 MB / 1.017 GB, free: 40.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7965, allocations: 0 / 1.017 GB, free: 40.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7965, allocations: 0 / 1.017 GB, free: 40.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001325/0.7966, allocations: 0 / 1.017 GB, free: 40.43 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.008333/0.8049, allocations: 3.205 MB / 1.02 GB, free: 38.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.805, allocations: 10.28 kB / 1.02 GB, free: 38.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000561/0.8055, allocations: 221.3 kB / 1.02 GB, free: 38.86 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004706/0.8102, allocations: 0.8497 MB / 1.021 GB, free: 38.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00548/0.8157, allocations: 2.265 MB / 1.024 GB, free: 38.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.8159, allocations: 122.8 kB / 1.024 GB, free: 38.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/0.8164, allocations: 172.2 kB / 1.024 GB, free: 38.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/0.8213, allocations: 1.92 MB / 1.026 GB, free: 37.87 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-05/0.8214, allocations: 1.688 kB / 1.026 GB, free: 37.87 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/0.8217, allocations: 64.19 kB / 1.026 GB, free: 37.87 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.8217, allocations: 37.38 kB / 1.026 GB, free: 37.87 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.8265, allocations: 1.807 MB / 1.028 GB, free: 37.82 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.01406/0.8406, allocations: 8.861 MB / 1.036 GB, free: 32.54 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.8448, allocations: 1.15 MB / 1.037 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.8458, allocations: 437.1 kB / 1.038 GB, free: 31.73 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004973/0.8463, allocations: 159.2 kB / 1.038 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.8463, allocations: 51.78 kB / 1.038 GB, free: 31.62 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/0.8463, allocations: 7.875 kB / 1.038 GB, free: 31.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008599/0.8549, allocations: 2.195 MB / 1.04 GB, free: 30.53 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.855, allocations: 82.92 kB / 1.04 GB, free: 30.44 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/0.8598, allocations: 2.533 MB / 1.043 GB, free: 29.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.86, allocations: 43.61 kB / 1.043 GB, free: 29.05 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008977/0.8609, allocations: 1.057 MB / 1.044 GB, free: 28.12 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003472/0.8613, allocations: 279.1 kB / 1.044 GB, free: 27.89 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/0.8618, allocations: 259.5 kB / 1.044 GB, free: 27.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/0.8619, allocations: 342.7 kB / 1.045 GB, free: 27.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.8635, allocations: 0.5759 MB / 1.045 GB, free: 27.13 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.8653, allocations: 0.9576 MB / 1.046 GB, free: 26.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002744/0.8681, allocations: 1.25 MB / 1.047 GB, free: 25.62 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.8681, allocations: 6.562 kB / 1.047 GB, free: 25.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006426/0.8745, allocations: 2.021 MB / 1.049 GB, free: 24.66 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.8746, allocations: 8.344 kB / 1.049 GB, free: 24.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.8746, allocations: 9.719 kB / 1.049 GB, free: 24.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/0.8764, allocations: 0.4926 MB / 1.05 GB, free: 24.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.8775, allocations: 281.9 kB / 1.05 GB, free: 24.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/0.8794, allocations: 1.51 MB / 1.052 GB, free: 23.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003036/0.8824, allocations: 376.2 kB / 1.052 GB, free: 22.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.8827, allocations: 60.91 kB / 1.052 GB, free: 22.82 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.001112/0.8838, allocations: 463.2 kB / 1.052 GB, free: 22.51 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007809/0.8846, allocations: 256.7 kB / 1.053 GB, free: 22.37 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003556/0.8882, allocations: 1.512 MB / 1.054 GB, free: 21.16 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/0.8882, allocations: 8 kB / 1.054 GB, free: 21.15 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.8882, allocations: 4 kB / 1.054 GB, free: 21.14 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.8882, allocations: 3.984 kB / 1.054 GB, free: 21.14 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/0.8964, allocations: 3.595 MB / 1.058 GB, free: 17.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.131e-05/0.8965, allocations: 4 kB / 1.058 GB, free: 17.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.8971, allocations: 130.2 kB / 1.058 GB, free: 17.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.8988, allocations: 498.5 kB / 1.058 GB, free: 16.88 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.8989, allocations: 27.98 kB / 1.058 GB, free: 16.85 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/0.9011, allocations: 1.587 MB / 1.06 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9011, allocations: 4 kB / 1.06 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.9069, allocations: 1.957 MB / 1.062 GB, free: 13.23 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.9083, allocations: 428.1 kB / 1.062 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008174/0.9091, allocations: 27.89 kB / 1.062 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.9113, allocations: 135.8 kB / 1.062 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.9114, allocations: 58.84 kB / 1.062 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001253/0.9115, allocations: 47.95 kB / 1.062 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00309/0.9146, allocations: 1.773 MB / 1.064 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9146, allocations: 4 kB / 1.064 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002813/0.9174, allocations: 0.6941 MB / 1.065 GB, free: 10.08 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.006965/0.9244, allocations: 2.997 MB / 1.068 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004011/0.9284, allocations: 1.307 MB / 1.069 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/0.9284, allocations: 4 kB / 1.069 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002258/0.9307, allocations: 0.6584 MB / 1.07 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006988/0.9376, allocations: 1.332 MB / 1.071 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03968/0.9773, allocations: 16.75 MB / 1.087 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001765/0.9791, allocations: 1.494 MB / 1.089 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002442/0.9815, allocations: 434.8 kB / 1.089 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001826/0.9834, allocations: 0.9054 MB / 1.09 GB, free: 60 kB / 0.7325 GB Notification: Performance of SimCode: time 1.363e-06/0.9834, allocations: 0 / 1.09 GB, free: 60 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/1.118, allocations: 67.28 MB / 1.156 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/17.96, allocations: 15.92 kB / 1.156 GB, free: 13.83 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.05740173600134] Failed to read output from testmodel.py, exit status != 0: 18.11745561600037 18.133945654 17.333795352 Calling exit ...