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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005908/0.005908, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 192.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.446/2.446, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 64.12 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6246/0.6264, allocations: 159.1 MB / 1.22 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05827/0.6847, allocations: 62.65 MB / 1.281 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.7009, allocations: 13.66 MB / 1.295 GB, free: 5.434 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.702, allocations: 63.69 kB / 1.295 GB, free: 5.371 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.7038, allocations: 0.9394 MB / 1.296 GB, free: 4.426 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/0.708, allocations: 2.431 MB / 1.298 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002952/0.711, allocations: 1.6 MB / 1.3 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00406/0.7151, allocations: 4.3 MB / 1.304 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.7166, allocations: 1.425 MB / 1.305 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002461/0.7191, allocations: 1.639 MB / 1.307 GB, free: 8.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001361/0.7205, allocations: 1.303 MB / 1.308 GB, free: 7.672 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.7207, allocations: 176 kB / 1.308 GB, free: 7.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.723, allocations: 1.435 MB / 1.31 GB, free: 6.062 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.7234, allocations: 0.4984 MB / 1.31 GB, free: 5.562 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008944/0.7243, allocations: 1.015 MB / 1.311 GB, free: 4.543 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003374/0.7277, allocations: 3.184 MB / 1.314 GB, free: 1.352 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.7277, allocations: 0 / 1.314 GB, free: 1.352 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7277, allocations: 0 / 1.314 GB, free: 1.352 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.497e-05/0.7278, allocations: 0 / 1.314 GB, free: 1.352 MB / 1.029 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.003773/0.7315, allocations: 2.405 MB / 1.317 GB, free: 14.88 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.7316, allocations: 8.031 kB / 1.317 GB, free: 14.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/0.7318, allocations: 172.8 kB / 1.317 GB, free: 14.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.7346, allocations: 0.5382 MB / 1.317 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.7367, allocations: 1.495 MB / 1.319 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.7368, allocations: 161.5 kB / 1.319 GB, free: 12.44 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.737, allocations: 112 kB / 1.319 GB, free: 12.33 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.7402, allocations: 1.562 MB / 1.32 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.7402, allocations: 0 / 1.32 GB, free: 10.68 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.7403, allocations: 51.92 kB / 1.321 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/0.7404, allocations: 31.94 kB / 1.321 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004019/0.7444, allocations: 1.561 MB / 1.322 GB, free: 9.031 MB / 1.045 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.008035/0.7524, allocations: 6.922 MB / 1.329 GB, free: 1.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.7551, allocations: 1.292 MB / 1.33 GB, free: 304 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.7568, allocations: 0.6669 MB / 1.331 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008432/0.7577, allocations: 1.145 MB / 1.332 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.7577, allocations: 51.22 kB / 1.332 GB, free: 14.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=77): time 1.753e-06/0.7577, allocations: 0.5625 kB / 1.332 GB, free: 14.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=77): time 0.005419/0.7632, allocations: 1.91 MB / 1.334 GB, free: 12.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.868e-05/0.7632, allocations: 111.5 kB / 1.334 GB, free: 12.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.7649, allocations: 1.409 MB / 1.335 GB, free: 10.69 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.045e-05/0.765, allocations: 41.7 kB / 1.335 GB, free: 10.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/0.7656, allocations: 0.7214 MB / 1.336 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.7658, allocations: 281.6 kB / 1.336 GB, free: 9.637 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003186/0.7661, allocations: 182.5 kB / 1.336 GB, free: 9.453 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.7663, allocations: 337.9 kB / 1.337 GB, free: 9.117 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.768, allocations: 0.5941 MB / 1.337 GB, free: 8.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.7699, allocations: 0.8361 MB / 1.338 GB, free: 7.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/0.7734, allocations: 1.32 MB / 1.339 GB, free: 6.211 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7734, allocations: 0 / 1.339 GB, free: 6.211 MB / 1.061 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003986/0.7774, allocations: 1.566 MB / 1.341 GB, free: 4.637 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.7774, allocations: 6.031 kB / 1.341 GB, free: 4.633 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.7774, allocations: 8 kB / 1.341 GB, free: 4.625 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.7775, allocations: 8 kB / 1.341 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.7789, allocations: 304 kB / 1.341 GB, free: 4.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.7789, allocations: 19.94 kB / 1.341 GB, free: 4.301 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7801, allocations: 191.2 kB / 1.342 GB, free: 4.113 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.7802, allocations: 39.98 kB / 1.342 GB, free: 4.074 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002044/0.7823, allocations: 0.9078 MB / 1.342 GB, free: 3.164 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00185/0.7841, allocations: 0.8205 MB / 1.343 GB, free: 2.25 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003372/0.7875, allocations: 1.316 MB / 1.345 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.7875, allocations: 0 / 1.345 GB, free: 0.8672 MB / 1.061 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003924/0.7914, allocations: 1.559 MB / 1.346 GB, free: 15.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.7915, allocations: 4 kB / 1.346 GB, free: 15.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.7915, allocations: 12.03 kB / 1.346 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-06/0.7915, allocations: 8 kB / 1.346 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.7929, allocations: 307.5 kB / 1.346 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.7929, allocations: 15.92 kB / 1.346 GB, free: 14.96 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.7941, allocations: 179.3 kB / 1.347 GB, free: 14.79 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.7942, allocations: 39.98 kB / 1.347 GB, free: 14.75 MB / 1.076 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.0002296/0.7944, allocations: 240 kB / 1.347 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.7947, allocations: 155 kB / 1.347 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/0.7988, allocations: 1.692 MB / 1.349 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.7989, allocations: 12 kB / 1.349 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.7989, allocations: 3.938 kB / 1.349 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00348/0.8024, allocations: 1.304 MB / 1.35 GB, free: 11.28 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006151/0.8085, allocations: 3.396 MB / 1.353 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.8085, allocations: 4 kB / 1.353 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.8097, allocations: 232.2 kB / 1.353 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.8097, allocations: 12 kB / 1.353 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/0.8098, allocations: 23.92 kB / 1.353 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.367e-06/0.8098, allocations: 11.94 kB / 1.354 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.8098, allocations: 7.938 kB / 1.354 GB, free: 7.488 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/0.8154, allocations: 2.416 MB / 1.356 GB, free: 4.996 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/0.8159, allocations: 407.6 kB / 1.356 GB, free: 4.578 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/0.8161, allocations: 16 kB / 1.356 GB, free: 4.562 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.8174, allocations: 139.8 kB / 1.356 GB, free: 4.426 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001856/0.8176, allocations: 88.34 kB / 1.356 GB, free: 4.336 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/0.8177, allocations: 39.97 kB / 1.357 GB, free: 4.297 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001317/0.819, allocations: 1.079 MB / 1.358 GB, free: 3.223 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/0.819, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001626/0.8207, allocations: 0.8149 MB / 1.358 GB, free: 2.406 MB / 1.076 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.00679/0.8275, allocations: 3.345 MB / 1.362 GB, free: 14.99 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005609/0.8331, allocations: 2.122 MB / 1.364 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8331, allocations: 4 kB / 1.364 GB, free: 12.86 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002014/0.8351, allocations: 0.7498 MB / 1.364 GB, free: 12.11 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.8384, allocations: 0.8204 MB / 1.365 GB, free: 11.3 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02175/0.8601, allocations: 13.23 MB / 1.378 GB, free: 13.63 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008749/0.861, allocations: 1.284 MB / 1.379 GB, free: 12.32 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001367/0.8624, allocations: 420.1 kB / 1.38 GB, free: 11.9 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009064/0.8633, allocations: 0.6164 MB / 1.38 GB, free: 11.29 MB / 1.107 GB Notification: Performance of SimCode: time 3.91e-07/0.8633, allocations: 0 / 1.38 GB, free: 11.29 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.144/4.008, allocations: 47.57 MB / 1.427 GB, free: 12.25 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.41/19.41, allocations: 3.938 kB / 1.427 GB, free: 12.25 MB / 1.154 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)