Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001737/0.001747, allocations: 105.1 kB / 16.27 MB, free: 6.414 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.002101/0.002101, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 292.3 MB / 0.5495 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2605, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.5055/0.766, allocations: 115.6 MB / 0.8969 GB, free: 0.8906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03344/0.7995, allocations: 20.72 MB / 0.9171 GB, free: 15.95 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006317/0.8059, allocations: 111.5 kB / 0.9172 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006445/0.8124, allocations: 1.636 MB / 0.9188 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01397/0.8265, allocations: 3.918 MB / 0.9226 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009211/0.8357, allocations: 2.874 MB / 0.9254 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01268/0.8484, allocations: 7.974 MB / 0.9332 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005604/0.854, allocations: 2.675 MB / 0.9358 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008733/0.8628, allocations: 2.98 MB / 0.9388 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004963/0.8678, allocations: 2.357 MB / 0.9411 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001661/0.8695, allocations: 328 kB / 0.9414 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007325/0.8768, allocations: 2.04 MB / 0.9434 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001924/0.8788, allocations: 0.9384 MB / 0.9443 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004297/0.8831, allocations: 1.831 MB / 0.9461 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.8951, allocations: 5.476 MB / 0.9514 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.019e-05/0.8952, allocations: 7.984 kB / 0.9514 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8952, allocations: 3.938 kB / 0.9514 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002027/0.8954, allocations: 0 / 0.9514 GB, free: 15.38 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01155/0.9069, allocations: 3.862 MB / 0.9552 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.907, allocations: 12.02 kB / 0.9552 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/0.9106, allocations: 0.5821 MB / 0.9558 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006314/0.9169, allocations: 2.481 MB / 0.9582 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/0.9175, allocations: 306.6 kB / 0.9585 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006935/0.9182, allocations: 200 kB / 0.9587 GB, free: 7.773 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006841/0.9251, allocations: 2.568 MB / 0.9612 GB, free: 5.082 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.531e-05/0.9252, allocations: 11.86 kB / 0.9612 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005145/0.9257, allocations: 84 kB / 0.9613 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.881e-05/0.9258, allocations: 60 kB / 0.9613 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005715/0.9315, allocations: 2.227 MB / 0.9635 GB, free: 2.699 MB / 0.7481 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.02009/0.9517, allocations: 11.49 MB / 0.9747 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003392/0.9551, allocations: 1.324 MB / 0.976 GB, free: 5.375 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.957, allocations: 0.808 MB / 0.9768 GB, free: 4.566 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/0.9586, allocations: 1.323 MB / 0.9781 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002592/0.9612, allocations: 1.062 MB / 0.9791 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=115): time 3.847e-06/0.9613, allocations: 0 / 0.9791 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of matching and sorting (n=115): time 0.006814/0.9681, allocations: 2.383 MB / 0.9815 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000277/0.9684, allocations: 483.6 kB / 0.9819 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005611/0.974, allocations: 2.688 MB / 0.9846 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0005422/0.9746, allocations: 53.7 kB / 0.9846 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.9762, allocations: 1.303 MB / 0.9859 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007771/0.977, allocations: 410.2 kB / 0.9863 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.9781, allocations: 335.3 kB / 0.9866 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.9782, allocations: 305.1 kB / 0.9869 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.9802, allocations: 0.7816 MB / 0.9877 GB, free: 8.961 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00246/0.9827, allocations: 1.309 MB / 0.9889 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/0.9868, allocations: 1.86 MB / 0.9907 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.9868, allocations: 4 kB / 0.9907 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005874/0.9927, allocations: 2.256 MB / 0.993 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.533e-05/0.9928, allocations: 38.69 kB / 0.993 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.9929, allocations: 12 kB / 0.993 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.761e-05/0.9929, allocations: 20 kB / 0.993 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00184/0.9948, allocations: 411.3 kB / 0.9934 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.933e-05/0.9948, allocations: 31.05 kB / 0.9934 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/0.9974, allocations: 261.8 kB / 0.9937 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/0.9977, allocations: 63.98 kB / 0.9938 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003027/1.001, allocations: 1.289 MB / 0.995 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002383/1.003, allocations: 1.305 MB / 0.9963 GB, free: 15.51 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003875/1.007, allocations: 1.845 MB / 0.9981 GB, free: 13.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.004e-05/1.007, allocations: 0 / 0.9981 GB, free: 13.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.00566/1.013, allocations: 2.249 MB / 1 GB, free: 11.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/1.013, allocations: 37.7 kB / 1 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/1.013, allocations: 8 kB / 1 GB, free: 11.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/1.013, allocations: 27.97 kB / 1 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001839/1.015, allocations: 399.4 kB / 1.001 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.219e-05/1.015, allocations: 23.92 kB / 1.001 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/1.018, allocations: 215.2 kB / 1.001 GB, free: 10.55 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/1.018, allocations: 63.98 kB / 1.001 GB, free: 10.49 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * 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.0006579/1.018, allocations: 292.7 kB / 1.001 GB, free: 10.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.02, allocations: 276.6 kB / 1.002 GB, free: 9.922 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00484/1.024, allocations: 2.098 MB / 1.004 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-05/1.024, allocations: 16 kB / 1.004 GB, free: 7.793 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/1.024, allocations: 4 kB / 1.004 GB, free: 7.789 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003346/1.028, allocations: 1.645 MB / 1.005 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/1.039, allocations: 5.225 MB / 1.01 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.039, allocations: 8 kB / 1.01 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001419/1.04, allocations: 268.3 kB / 1.011 GB, free: 468 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-05/1.04, allocations: 12 kB / 1.011 GB, free: 456 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/1.041, allocations: 43.91 kB / 1.011 GB, free: 412 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.489e-05/1.041, allocations: 11.94 kB / 1.011 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/1.041, allocations: 11.94 kB / 1.011 GB, free: 388 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006647/1.047, allocations: 3.074 MB / 1.014 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.049, allocations: 0.5892 MB / 1.014 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009176/1.05, allocations: 31.94 kB / 1.014 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002372/1.052, allocations: 118.7 kB / 1.014 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002961/1.053, allocations: 116.7 kB / 1.015 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.053, allocations: 59.95 kB / 1.015 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003913/1.057, allocations: 1.876 MB / 1.016 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.31e-07/1.057, allocations: 0 / 1.016 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005735/1.062, allocations: 1.45 MB / 1.018 GB, free: 8.957 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001837/1.064, allocations: 0.6631 MB / 1.018 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.008219/1.073, allocations: 3.175 MB / 1.022 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-05/1.073, allocations: 4.375 kB / 1.022 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002239/1.075, allocations: 0.8782 MB / 1.022 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007967/1.083, allocations: 1.4 MB / 1.024 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.093, allocations: 4.925 MB / 1.029 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/1.095, allocations: 1.749 MB / 1.03 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.096, allocations: 235.3 kB / 1.031 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of SimCode: time 1.303e-06/1.096, allocations: 4 kB / 1.031 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of Templates: time 0.07406/1.17, allocations: 49.53 MB / 1.079 GB, free: 10.76 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)