Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7629 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 1.107 GB, free: 5.047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9748/0.9768, allocations: 168.7 MB / 1.272 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.09554/1.072, allocations: 76.5 MB / 1.346 GB, free: 1.258 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03055/1.103, allocations: 15.28 MB / 1.361 GB, free: 6.316 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003501/1.106, allocations: 65.56 kB / 1.361 GB, free: 6.293 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003489/1.11, allocations: 0.861 MB / 1.362 GB, free: 5.773 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.12, allocations: 2.727 MB / 1.365 GB, free: 4.145 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004935/1.125, allocations: 1.417 MB / 1.366 GB, free: 3.324 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008473/1.134, allocations: 4.406 MB / 1.37 GB, free: 1.125 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002683/1.136, allocations: 1.135 MB / 1.372 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004873/1.141, allocations: 1.68 MB / 1.373 GB, free: 15.52 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/1.144, allocations: 1.277 MB / 1.374 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000432/1.144, allocations: 162.5 kB / 1.375 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003989/1.148, allocations: 1.45 MB / 1.376 GB, free: 13.95 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005255/1.149, allocations: 413.6 kB / 1.376 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001522/1.15, allocations: 0.9091 MB / 1.377 GB, free: 13 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005611/1.156, allocations: 2.887 MB / 1.38 GB, free: 11.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.607e-06/1.156, allocations: 5.531 kB / 1.38 GB, free: 11.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.294e-06/1.156, allocations: 0 / 1.38 GB, free: 11.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.861e-05/1.156, allocations: 0 / 1.38 GB, free: 11.05 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004941/1.161, allocations: 2.137 MB / 1.382 GB, free: 9.402 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.161, allocations: 9.781 kB / 1.382 GB, free: 9.402 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/1.161, allocations: 148.8 kB / 1.382 GB, free: 9.281 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/1.162, allocations: 239.7 kB / 1.383 GB, free: 9.164 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003287/1.166, allocations: 1.533 MB / 1.384 GB, free: 7.957 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/1.166, allocations: 79.83 kB / 1.384 GB, free: 7.918 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/1.166, allocations: 100.8 kB / 1.384 GB, free: 7.887 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/1.168, allocations: 1.101 MB / 1.385 GB, free: 7.207 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.902e-05/1.168, allocations: 13.25 kB / 1.385 GB, free: 7.195 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/1.168, allocations: 40.86 kB / 1.385 GB, free: 7.164 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/1.168, allocations: 29.28 kB / 1.385 GB, free: 7.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/1.171, allocations: 0.8942 MB / 1.386 GB, free: 6.711 MB / 1.076 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.008524/1.179, allocations: 4.917 MB / 1.391 GB, free: 2.469 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/1.181, allocations: 0.5857 MB / 1.392 GB, free: 2.168 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/1.182, allocations: 324.5 kB / 1.392 GB, free: 2.012 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008488/1.182, allocations: 0.8288 MB / 1.393 GB, free: 1.043 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.974e-05/1.182, allocations: 42.05 kB / 1.393 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of pre-optimization done (n=62): time 4.349e-06/1.183, allocations: 1.375 kB / 1.393 GB, free: 0.9961 MB / 1.076 GB Notification: Performance of matching and sorting (n=62): time 0.005657/1.188, allocations: 1.407 MB / 1.394 GB, free: 252 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.188, allocations: 58.34 kB / 1.394 GB, free: 184 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002238/1.19, allocations: 1.226 MB / 1.395 GB, free: 15.5 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/1.191, allocations: 42.48 kB / 1.395 GB, free: 15.46 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/1.191, allocations: 0.6138 MB / 1.396 GB, free: 14.91 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.192, allocations: 220.6 kB / 1.396 GB, free: 14.72 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/1.192, allocations: 152.1 kB / 1.396 GB, free: 14.63 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.192, allocations: 340.7 kB / 1.397 GB, free: 14.3 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007716/1.193, allocations: 295.4 kB / 1.397 GB, free: 14.15 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009605/1.194, allocations: 492.4 kB / 1.397 GB, free: 13.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/1.195, allocations: 0.7134 MB / 1.398 GB, free: 13.32 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.195, allocations: 1.281 kB / 1.398 GB, free: 13.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005158/1.201, allocations: 1.275 MB / 1.399 GB, free: 12.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/1.201, allocations: 6.562 kB / 1.399 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/1.201, allocations: 3.25 kB / 1.399 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007257/1.201, allocations: 155.8 kB / 1.4 GB, free: 12.61 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/1.202, allocations: 159.3 kB / 1.4 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/1.203, allocations: 0.7134 MB / 1.4 GB, free: 11.94 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/1.205, allocations: 121.7 kB / 1.401 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001559/1.205, allocations: 39.41 kB / 1.401 GB, free: 11.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/1.206, allocations: 0.5525 MB / 1.401 GB, free: 11.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009704/1.207, allocations: 0.4902 MB / 1.402 GB, free: 11.12 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001551/1.208, allocations: 0.6988 MB / 1.402 GB, free: 10.68 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.26e-06/1.208, allocations: 0 / 1.402 GB, free: 10.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005005/1.213, allocations: 1.266 MB / 1.404 GB, free: 10.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/1.214, allocations: 6.438 kB / 1.404 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.214, allocations: 3.312 kB / 1.404 GB, free: 10.05 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/1.214, allocations: 164.5 kB / 1.404 GB, free: 9.965 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/1.215, allocations: 150.9 kB / 1.404 GB, free: 9.93 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009727/1.216, allocations: 0.7175 MB / 1.405 GB, free: 9.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.217, allocations: 95.53 kB / 1.405 GB, free: 9.246 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.217, allocations: 34.83 kB / 1.405 GB, free: 9.234 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003248/1.218, allocations: 229.8 kB / 1.405 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004578/1.218, allocations: 140.8 kB / 1.405 GB, free: 8.941 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004867/1.223, allocations: 1.26 MB / 1.406 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.223, allocations: 6.875 kB / 1.406 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.223, allocations: 0 / 1.406 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004235/1.227, allocations: 1.088 MB / 1.407 GB, free: 7.621 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/1.233, allocations: 2.309 MB / 1.41 GB, free: 5.969 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/1.233, allocations: 3.719 kB / 1.41 GB, free: 5.969 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/1.233, allocations: 113.3 kB / 1.41 GB, free: 5.938 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006338/1.234, allocations: 147.3 kB / 1.41 GB, free: 5.867 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.9e-05/1.234, allocations: 21.55 kB / 1.41 GB, free: 5.855 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009513/1.235, allocations: 0.7059 MB / 1.411 GB, free: 5.234 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.026e-06/1.235, allocations: 6.594 kB / 1.411 GB, free: 5.23 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/1.238, allocations: 1.405 MB / 1.412 GB, free: 3.879 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009204/1.239, allocations: 312 kB / 1.412 GB, free: 3.555 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/1.239, allocations: 19.98 kB / 1.412 GB, free: 3.535 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000991/1.24, allocations: 47.94 kB / 1.412 GB, free: 3.488 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.241, allocations: 60.31 kB / 1.412 GB, free: 3.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.843e-05/1.241, allocations: 31.98 kB / 1.412 GB, free: 3.398 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001572/1.242, allocations: 0.8818 MB / 1.413 GB, free: 2.516 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.242, allocations: 0 / 1.413 GB, free: 2.516 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002596/1.245, allocations: 0.7251 MB / 1.414 GB, free: 1.789 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004635/1.25, allocations: 2.305 MB / 1.416 GB, free: 15.41 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.252, allocations: 1.067 MB / 1.417 GB, free: 14.36 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.252, allocations: 8.125 kB / 1.417 GB, free: 14.35 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.253, allocations: 371.1 kB / 1.418 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004215/1.258, allocations: 0.7952 MB / 1.418 GB, free: 13.21 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/1.281, allocations: 9.876 MB / 1.428 GB, free: 3.031 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009536/1.281, allocations: 1.176 MB / 1.429 GB, free: 1.828 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001355/1.283, allocations: 307 kB / 1.429 GB, free: 1.523 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008013/1.284, allocations: 0.5149 MB / 1.43 GB, free: 1.008 MB / 1.107 GB Notification: Performance of SimCode: time 1.383e-06/1.284, allocations: 0 / 1.43 GB, free: 1.008 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09348/1.377, allocations: 42.72 MB / 1.472 GB, free: 6.801 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/16.22, allocations: 14.66 kB / 1.472 GB, free: 6.789 MB / 1.154 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_11_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 22.319609925994882] Failed to read output from testmodel.py, exit status != 0: 16.365865127008874 16.390174958 15.229189197 Calling exit ...