Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001671/0.001671, allocations: 111.8 kB / 16.41 MB, free: 6.5 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.002047/0.002047, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.434/1.434, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.585/2.585, allocations: 437.1 MB / 0.7171 GB, free: 4.125 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.89 kB / 1.027 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7988/0.8008, allocations: 151.6 MB / 1.175 GB, free: 17.45 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06169/0.8625, allocations: 62.66 MB / 1.236 GB, free: 1.5 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.8848, allocations: 13.65 MB / 1.249 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002639/0.8875, allocations: 60.22 kB / 1.249 GB, free: 6.312 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002924/0.8904, allocations: 0.9531 MB / 1.25 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007551/0.8981, allocations: 2.419 MB / 1.253 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004301/0.9024, allocations: 1.606 MB / 1.254 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006894/0.9093, allocations: 4.291 MB / 1.258 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.9115, allocations: 1.417 MB / 1.26 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004309/0.9158, allocations: 1.652 MB / 1.261 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002113/0.9179, allocations: 1.293 MB / 1.263 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000307/0.9182, allocations: 175.6 kB / 1.263 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003895/0.9221, allocations: 1.429 MB / 1.264 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000552/0.9227, allocations: 0.5043 MB / 1.265 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.9239, allocations: 1.005 MB / 1.266 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005079/0.929, allocations: 3.188 MB / 1.269 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.929, allocations: 0 / 1.269 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.627e-06/0.929, allocations: 4 kB / 1.269 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.168e-05/0.929, allocations: 3.938 kB / 1.269 GB, free: 8.512 MB / 0.9825 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.004558/0.9336, allocations: 2.405 MB / 1.271 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.9337, allocations: 8.625 kB / 1.271 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.9339, allocations: 168.8 kB / 1.271 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003043/0.9369, allocations: 0.5422 MB / 1.272 GB, free: 5.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00279/0.9397, allocations: 1.503 MB / 1.273 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/0.9399, allocations: 157.5 kB / 1.273 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.9401, allocations: 112 kB / 1.273 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.9437, allocations: 1.555 MB / 1.275 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.9437, allocations: 8 kB / 1.275 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.9439, allocations: 47.98 kB / 1.275 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-05/0.9439, allocations: 32 kB / 1.275 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/0.9483, allocations: 1.557 MB / 1.277 GB, free: 200 kB / 0.9825 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.009762/0.9581, allocations: 6.937 MB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002862/0.961, allocations: 1.272 MB / 1.285 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.9628, allocations: 0.6669 MB / 1.285 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/0.9639, allocations: 1.152 MB / 1.286 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.9639, allocations: 39.22 kB / 1.286 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 4.318e-06/0.964, allocations: 7.938 kB / 1.286 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.005858/0.9698, allocations: 1.903 MB / 1.288 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.9699, allocations: 115.5 kB / 1.288 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.9719, allocations: 1.408 MB / 1.29 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.972, allocations: 41.7 kB / 1.29 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/0.9726, allocations: 0.7253 MB / 1.291 GB, free: 1.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002889/0.9729, allocations: 277.6 kB / 1.291 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003512/0.9733, allocations: 178.6 kB / 1.291 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.9735, allocations: 341.9 kB / 1.291 GB, free: 296 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001888/0.9754, allocations: 0.5981 MB / 1.292 GB, free: 15.68 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.9774, allocations: 0.8283 MB / 1.293 GB, free: 14.77 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.9811, allocations: 1.316 MB / 1.294 GB, free: 13.38 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.9811, allocations: 7.938 kB / 1.294 GB, free: 13.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004479/0.9856, allocations: 1.558 MB / 1.296 GB, free: 11.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.9856, allocations: 4 kB / 1.296 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.9857, allocations: 8.5 kB / 1.296 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.34e-05/0.9857, allocations: 16 kB / 1.296 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.9872, allocations: 307.5 kB / 1.296 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.216e-05/0.9873, allocations: 15.94 kB / 1.296 GB, free: 11.46 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.9888, allocations: 195.1 kB / 1.296 GB, free: 11.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.9889, allocations: 35.98 kB / 1.296 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002364/0.9912, allocations: 0.906 MB / 1.297 GB, free: 10.33 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002005/0.9933, allocations: 0.8322 MB / 1.298 GB, free: 9.406 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003687/0.997, allocations: 1.312 MB / 1.299 GB, free: 8.031 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.312e-06/0.997, allocations: 0 / 1.299 GB, free: 8.031 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004756/1.002, allocations: 1.562 MB / 1.301 GB, free: 6.461 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/1.002, allocations: 11.98 kB / 1.301 GB, free: 6.449 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.002, allocations: 4 kB / 1.301 GB, free: 6.445 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.002, allocations: 12 kB / 1.301 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/1.003, allocations: 304 kB / 1.301 GB, free: 6.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-05/1.003, allocations: 16 kB / 1.301 GB, free: 6.121 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/1.005, allocations: 179.3 kB / 1.301 GB, free: 5.945 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.005, allocations: 43.92 kB / 1.301 GB, free: 5.902 MB / 1.014 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.0003821/1.006, allocations: 240 kB / 1.301 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005414/1.006, allocations: 155 kB / 1.301 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.011, allocations: 1.689 MB / 1.303 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/1.011, allocations: 11.98 kB / 1.303 GB, free: 3.777 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.011, allocations: 3.938 kB / 1.303 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003813/1.015, allocations: 1.308 MB / 1.304 GB, free: 2.434 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007846/1.023, allocations: 3.393 MB / 1.308 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/1.023, allocations: 4 kB / 1.308 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/1.024, allocations: 235.8 kB / 1.308 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/1.024, allocations: 4 kB / 1.308 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.476e-05/1.024, allocations: 23.98 kB / 1.308 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/1.024, allocations: 11.94 kB / 1.308 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/1.025, allocations: 7.938 kB / 1.308 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006511/1.031, allocations: 2.42 MB / 1.31 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008662/1.032, allocations: 407.5 kB / 1.311 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.032, allocations: 20 kB / 1.311 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.034, allocations: 143.8 kB / 1.311 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/1.034, allocations: 80.34 kB / 1.311 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.035, allocations: 47.95 kB / 1.311 GB, free: 11.45 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002033/1.037, allocations: 1.072 MB / 1.312 GB, free: 10.38 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.21e-07/1.037, allocations: 4 kB / 1.312 GB, free: 10.38 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003183/1.04, allocations: 0.8227 MB / 1.313 GB, free: 9.551 MB / 1.029 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.008848/1.049, allocations: 3.322 MB / 1.316 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007066/1.056, allocations: 2.134 MB / 1.318 GB, free: 4.012 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-05/1.056, allocations: 4 kB / 1.318 GB, free: 4.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/1.058, allocations: 0.7419 MB / 1.319 GB, free: 3.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005294/1.064, allocations: 0.8349 MB / 1.32 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/1.095, allocations: 13.23 MB / 1.333 GB, free: 4.773 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/1.097, allocations: 1.281 MB / 1.334 GB, free: 3.465 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002054/1.099, allocations: 412.2 kB / 1.334 GB, free: 3.055 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.1, allocations: 0.6203 MB / 1.335 GB, free: 2.434 MB / 1.045 GB Notification: Performance of SimCode: time 8.91e-07/1.1, allocations: 0 / 1.335 GB, free: 2.434 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/1.201, allocations: 47.58 MB / 1.381 GB, free: 3.309 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/13.01, allocations: 3.984 kB / 1.381 GB, free: 3.305 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --stepSize=5.76 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.81847912701778] Failed to read output from testmodel.py, exit status != 0: 13.10783538594842 13.125156898 12.192234694 Calling exit ...