Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.00126/0.00126, allocations: 114.7 kB / 17.6 MB, free: 4.699 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.001289/0.001289, allocations: 186 kB / 20.78 MB, free: 1.539 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.39/1.39, allocations: 225.6 MB / 249.4 MB, free: 3.336 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.682/2.682, allocations: 476.7 MB / 0.7629 GB, free: 15.19 MB / 0.6075 GB " [Timeout remaining time 177] 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.Examples.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 67.89 kB / 1.107 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9552/0.9573, allocations: 168.7 MB / 1.272 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06841/1.026, allocations: 63.67 MB / 1.334 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0214/1.047, allocations: 13.74 MB / 1.347 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002957/1.05, allocations: 64.38 kB / 1.347 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/1.053, allocations: 0.9818 MB / 1.348 GB, free: 15.96 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/1.061, allocations: 2.539 MB / 1.351 GB, free: 14.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005013/1.066, allocations: 1.626 MB / 1.352 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007568/1.074, allocations: 4.328 MB / 1.356 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/1.076, allocations: 1.128 MB / 1.358 GB, free: 10.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004596/1.081, allocations: 1.686 MB / 1.359 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/1.084, allocations: 1.352 MB / 1.36 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006084/1.085, allocations: 176.4 kB / 1.361 GB, free: 9.457 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/1.089, allocations: 1.469 MB / 1.362 GB, free: 8.926 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009345/1.09, allocations: 0.5199 MB / 1.363 GB, free: 8.617 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002049/1.092, allocations: 1.004 MB / 1.364 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006795/1.099, allocations: 3.189 MB / 1.367 GB, free: 6.188 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.099, allocations: 0 / 1.367 GB, free: 6.188 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/1.099, allocations: 1.094 kB / 1.367 GB, free: 6.188 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.721e-05/1.099, allocations: 0 / 1.367 GB, free: 6.188 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006048/1.105, allocations: 2.404 MB / 1.369 GB, free: 4.41 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.105, allocations: 8.906 kB / 1.369 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/1.105, allocations: 167 kB / 1.369 GB, free: 4.273 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003212/1.109, allocations: 0.5459 MB / 1.37 GB, free: 4.023 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/1.112, allocations: 1.505 MB / 1.371 GB, free: 2.863 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002127/1.112, allocations: 160.3 kB / 1.371 GB, free: 2.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/1.112, allocations: 107.7 kB / 1.371 GB, free: 2.715 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003966/1.116, allocations: 1.567 MB / 1.373 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/1.116, allocations: 1.469 kB / 1.373 GB, free: 1.699 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/1.116, allocations: 43.88 kB / 1.373 GB, free: 1.668 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/1.116, allocations: 33.16 kB / 1.373 GB, free: 1.664 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00451/1.121, allocations: 1.559 MB / 1.375 GB, free: 0.8906 MB / 1.061 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.01194/1.133, allocations: 6.925 MB / 1.381 GB, free: 10.81 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/1.136, allocations: 1.236 MB / 1.383 GB, free: 9.949 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/1.138, allocations: 0.6297 MB / 1.383 GB, free: 9.629 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/1.139, allocations: 1.149 MB / 1.384 GB, free: 8.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/1.139, allocations: 45.44 kB / 1.384 GB, free: 8.223 MB / 1.076 GB Notification: Performance of pre-optimization done (n=77): time 3.457e-06/1.139, allocations: 0 / 1.384 GB, free: 8.223 MB / 1.076 GB Notification: Performance of matching and sorting (n=77): time 0.006689/1.146, allocations: 1.909 MB / 1.386 GB, free: 7.266 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.146, allocations: 120.5 kB / 1.386 GB, free: 7.129 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002632/1.149, allocations: 1.398 MB / 1.388 GB, free: 6.371 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003034/1.149, allocations: 43.86 kB / 1.388 GB, free: 6.328 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008289/1.15, allocations: 0.7254 MB / 1.388 GB, free: 5.684 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004448/1.15, allocations: 285.8 kB / 1.389 GB, free: 5.434 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/1.151, allocations: 183.4 kB / 1.389 GB, free: 5.324 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001662/1.151, allocations: 334.8 kB / 1.389 GB, free: 5 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/1.153, allocations: 0.5991 MB / 1.39 GB, free: 4.691 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.155, allocations: 0.8364 MB / 1.391 GB, free: 4.102 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003756/1.159, allocations: 1.317 MB / 1.392 GB, free: 3.316 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/1.159, allocations: 2.344 kB / 1.392 GB, free: 3.316 MB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004691/1.163, allocations: 1.56 MB / 1.393 GB, free: 2.527 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/1.163, allocations: 6.375 kB / 1.393 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.163, allocations: 5.469 kB / 1.393 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/1.163, allocations: 8.625 kB / 1.393 GB, free: 2.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/1.165, allocations: 309.8 kB / 1.394 GB, free: 2.434 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/1.165, allocations: 16.61 kB / 1.394 GB, free: 2.426 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.167, allocations: 189.2 kB / 1.394 GB, free: 2.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.167, allocations: 40.11 kB / 1.394 GB, free: 2.309 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002443/1.169, allocations: 0.9101 MB / 1.395 GB, free: 1.781 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002045/1.171, allocations: 0.8223 MB / 1.396 GB, free: 1.199 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003586/1.175, allocations: 1.312 MB / 1.397 GB, free: 424 kB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.09e-06/1.175, allocations: 1.062 kB / 1.397 GB, free: 424 kB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004555/1.179, allocations: 1.558 MB / 1.398 GB, free: 15.62 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.179, allocations: 7.25 kB / 1.398 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.179, allocations: 4.344 kB / 1.398 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/1.179, allocations: 10.72 kB / 1.398 GB, free: 15.62 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/1.181, allocations: 307.8 kB / 1.399 GB, free: 15.53 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/1.181, allocations: 13.28 kB / 1.399 GB, free: 15.52 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/1.183, allocations: 179 kB / 1.399 GB, free: 15.43 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.183, allocations: 39.73 kB / 1.399 GB, free: 15.42 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003794/1.183, allocations: 234.5 kB / 1.399 GB, free: 15.2 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/1.184, allocations: 155.8 kB / 1.399 GB, free: 15.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00444/1.188, allocations: 1.696 MB / 1.401 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/1.188, allocations: 10.95 kB / 1.401 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/1.188, allocations: 3.938 kB / 1.401 GB, free: 14.11 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003583/1.192, allocations: 1.31 MB / 1.402 GB, free: 13.37 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007802/1.199, allocations: 3.39 MB / 1.406 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.199, allocations: 4 kB / 1.406 GB, free: 10.06 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.201, allocations: 232.2 kB / 1.406 GB, free: 9.836 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/1.201, allocations: 4 kB / 1.406 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/1.201, allocations: 23.98 kB / 1.406 GB, free: 9.809 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.349e-05/1.201, allocations: 15.92 kB / 1.406 GB, free: 9.793 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.919e-06/1.201, allocations: 11.94 kB / 1.406 GB, free: 9.781 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/1.208, allocations: 2.416 MB / 1.408 GB, free: 7.289 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.209, allocations: 399.7 kB / 1.409 GB, free: 6.879 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/1.21, allocations: 27.98 kB / 1.409 GB, free: 6.852 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/1.212, allocations: 135.8 kB / 1.409 GB, free: 6.719 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/1.212, allocations: 80.34 kB / 1.409 GB, free: 6.637 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/1.212, allocations: 51.95 kB / 1.409 GB, free: 6.586 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001698/1.214, allocations: 1.072 MB / 1.41 GB, free: 5.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.11e-07/1.214, allocations: 0 / 1.41 GB, free: 5.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002749/1.216, allocations: 0.8227 MB / 1.411 GB, free: 4.695 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007862/1.224, allocations: 3.33 MB / 1.414 GB, free: 1.289 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006535/1.231, allocations: 2.052 MB / 1.416 GB, free: 15.24 MB / 1.108 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/1.231, allocations: 0 / 1.416 GB, free: 15.24 MB / 1.108 GB Notification: Performance of simCode: created simulation system equations: time 0.002312/1.233, allocations: 0.7185 MB / 1.417 GB, free: 14.52 MB / 1.108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/1.238, allocations: 0.8272 MB / 1.418 GB, free: 13.71 MB / 1.108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02995/1.268, allocations: 13.23 MB / 1.43 GB, free: 36 kB / 1.108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.269, allocations: 1.285 MB / 1.432 GB, free: 14.72 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002012/1.271, allocations: 424.1 kB / 1.432 GB, free: 14.3 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/1.272, allocations: 0.6242 MB / 1.433 GB, free: 13.68 MB / 1.123 GB Notification: Performance of SimCode: time 1.663e-06/1.272, allocations: 0 / 1.433 GB, free: 13.68 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1002/1.372, allocations: 47.85 MB / 1.479 GB, free: 14.33 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.62, allocations: 4.062 kB / 1.479 GB, free: 14.32 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.csv --start-time 0 --stop-time 14400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.370631716010394] Failed to read output from testmodel.py, exit status != 0: 12.722864031995414 12.746944496 11.643276747 Calling exit ...