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.001632/0.001632, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002109/0.002109, allocations: 216.4 kB / 22.26 MB, free: 5.113 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 8.039 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.002476/0.002476, allocations: 279.4 kB / 312.7 MB, free: 2.852 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.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 13.09 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.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.002853/0.002853, allocations: 99.14 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1553, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1435/0.2988, allocations: 134.9 MB / 0.9645 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4131/0.712, allocations: 23.33 MB / 0.9873 GB, free: 42.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00414/0.7161, allocations: 168.9 kB / 0.9874 GB, free: 42.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003806/0.7199, allocations: 1.552 MB / 0.989 GB, free: 42.47 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.7305, allocations: 4.392 MB / 0.9932 GB, free: 42.36 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004876/0.7354, allocations: 2.258 MB / 0.9954 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009148/0.7445, allocations: 6.591 MB / 1.002 GB, free: 42.29 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004103/0.7486, allocations: 1.843 MB / 1.004 GB, free: 42.11 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007164/0.7558, allocations: 2.881 MB / 1.006 GB, free: 42 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.7597, allocations: 1.965 MB / 1.008 GB, free: 41.65 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008638/0.7606, allocations: 246.2 kB / 1.009 GB, free: 41.65 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/0.7661, allocations: 2.066 MB / 1.011 GB, free: 41.61 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009869/0.7671, allocations: 0.6172 MB / 1.011 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003037/0.7702, allocations: 1.452 MB / 1.013 GB, free: 41.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008636/0.7788, allocations: 4.456 MB / 1.017 GB, free: 40.49 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.7788, allocations: 0 / 1.017 GB, free: 40.49 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7788, allocations: 0 / 1.017 GB, free: 40.49 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001186/0.7789, allocations: 0 / 1.017 GB, free: 40.49 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.007422/0.7864, allocations: 3.178 MB / 1.02 GB, free: 38.98 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7864, allocations: 15.56 kB / 1.02 GB, free: 38.98 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004238/0.7868, allocations: 219.7 kB / 1.02 GB, free: 38.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004317/0.7911, allocations: 0.8519 MB / 1.021 GB, free: 38.75 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.796, allocations: 2.271 MB / 1.023 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.7961, allocations: 126 kB / 1.024 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003237/0.7964, allocations: 162.3 kB / 1.024 GB, free: 38.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.8003, allocations: 1.927 MB / 1.026 GB, free: 37.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.599e-05/0.8004, allocations: 3 kB / 1.026 GB, free: 37.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.8005, allocations: 62.38 kB / 1.026 GB, free: 37.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.8005, allocations: 35.88 kB / 1.026 GB, free: 37.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/0.8047, allocations: 1.786 MB / 1.027 GB, free: 37.89 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.01129/0.816, allocations: 8.846 MB / 1.036 GB, free: 32.67 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003782/0.8198, allocations: 1.145 MB / 1.037 GB, free: 32.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009223/0.8207, allocations: 435.8 kB / 1.038 GB, free: 31.87 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.8211, allocations: 150.1 kB / 1.038 GB, free: 31.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.8212, allocations: 49.19 kB / 1.038 GB, free: 31.76 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.8212, allocations: 0 / 1.038 GB, free: 31.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007759/0.8289, allocations: 2.188 MB / 1.04 GB, free: 30.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.8289, allocations: 82.27 kB / 1.04 GB, free: 30.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.8326, allocations: 2.504 MB / 1.042 GB, free: 29.26 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.8328, allocations: 46.3 kB / 1.042 GB, free: 29.22 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/0.8334, allocations: 1.048 MB / 1.044 GB, free: 28.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.8336, allocations: 281.5 kB / 1.044 GB, free: 28.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.834, allocations: 256.7 kB / 1.044 GB, free: 27.91 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.455e-05/0.8341, allocations: 350.2 kB / 1.044 GB, free: 27.57 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.8355, allocations: 0.5711 MB / 1.045 GB, free: 27.3 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/0.8372, allocations: 0.9526 MB / 1.046 GB, free: 26.57 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002439/0.8397, allocations: 1.252 MB / 1.047 GB, free: 25.79 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.8397, allocations: 2.812 kB / 1.047 GB, free: 25.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005718/0.8454, allocations: 2.024 MB / 1.049 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.8454, allocations: 12.25 kB / 1.049 GB, free: 24.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.8454, allocations: 8.281 kB / 1.049 GB, free: 24.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.8468, allocations: 418.8 kB / 1.049 GB, free: 24.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.8479, allocations: 281.7 kB / 1.05 GB, free: 24.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.8496, allocations: 1.504 MB / 1.051 GB, free: 23.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.8523, allocations: 369.1 kB / 1.052 GB, free: 23.06 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.8524, allocations: 62.09 kB / 1.052 GB, free: 23.04 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.0007704/0.8531, allocations: 459.2 kB / 1.052 GB, free: 22.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.8535, allocations: 261 kB / 1.052 GB, free: 22.59 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002999/0.8565, allocations: 1.515 MB / 1.054 GB, free: 21.43 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/0.8565, allocations: 14.98 kB / 1.054 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8566, allocations: 96 / 1.054 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.8566, allocations: 7.922 kB / 1.054 GB, free: 21.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.8629, allocations: 3.572 MB / 1.057 GB, free: 17.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.863, allocations: 4 kB / 1.057 GB, free: 17.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.8635, allocations: 132.6 kB / 1.057 GB, free: 17.65 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/0.8648, allocations: 409.2 kB / 1.058 GB, free: 17.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.8649, allocations: 31.92 kB / 1.058 GB, free: 17.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/0.867, allocations: 1.571 MB / 1.059 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.867, allocations: 7.938 kB / 1.059 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005341/0.8723, allocations: 1.956 MB / 1.061 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.8736, allocations: 421 kB / 1.062 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/0.8739, allocations: 23.98 kB / 1.062 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.8755, allocations: 139.8 kB / 1.062 GB, free: 13.05 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.8756, allocations: 54.89 kB / 1.062 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.8757, allocations: 43.97 kB / 1.062 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002316/0.878, allocations: 1.753 MB / 1.064 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.1e-08/0.878, allocations: 0 / 1.064 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001725/0.8797, allocations: 0.7018 MB / 1.064 GB, free: 10.49 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.006104/0.8858, allocations: 2.988 MB / 1.067 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003516/0.8893, allocations: 1.31 MB / 1.069 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.8894, allocations: 0 / 1.069 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001988/0.8913, allocations: 0.6405 MB / 1.069 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005752/0.8971, allocations: 1.335 MB / 1.07 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/0.9318, allocations: 16.75 MB / 1.087 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.933, allocations: 1.49 MB / 1.088 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00179/0.9348, allocations: 432.3 kB / 1.089 GB, free: 1.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/0.9361, allocations: 0.8976 MB / 1.09 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of SimCode: time 8.52e-07/0.9361, allocations: 0 / 1.09 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/1.061, allocations: 66.94 MB / 1.155 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.8, allocations: 13.72 kB / 1.155 GB, free: 14.59 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: 21.97703251799976] Failed to read output from testmodel.py, exit status != 0: 17.959774447997916 17.975419389 17.193385298 Calling exit ...