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.001399/0.0014, allocations: 104 kB / 16.35 MB, free: 5.879 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.001636/0.001636, allocations: 198.1 kB / 17.29 MB, free: 5.516 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.324/1.324, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.77/1.77, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.002322/0.002322, allocations: 70.88 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2441, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.4871/0.7313, allocations: 115.5 MB / 0.8976 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03418/0.7656, allocations: 20.73 MB / 0.9178 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005378/0.771, allocations: 111.4 kB / 0.918 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005833/0.7769, allocations: 1.637 MB / 0.9196 GB, free: 14.33 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/0.7909, allocations: 3.929 MB / 0.9234 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009124/0.8, allocations: 2.888 MB / 0.9262 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.813, allocations: 7.989 MB / 0.934 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005523/0.8186, allocations: 2.682 MB / 0.9366 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007846/0.8264, allocations: 2.982 MB / 0.9395 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004924/0.8314, allocations: 2.354 MB / 0.9418 GB, free: 9.492 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001521/0.8329, allocations: 332 kB / 0.9422 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006695/0.8397, allocations: 2.047 MB / 0.9442 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001904/0.8416, allocations: 0.9384 MB / 0.9451 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005761/0.8474, allocations: 1.843 MB / 0.9469 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01478/0.8622, allocations: 5.538 MB / 0.9523 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 9.908e-06/0.8622, allocations: 4 kB / 0.9523 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.376e-06/0.8622, allocations: 0 / 0.9523 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0002007/0.8624, allocations: 0 / 0.9523 GB, free: 14.77 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.01134/0.8738, allocations: 3.858 MB / 0.9561 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8738, allocations: 12.03 kB / 0.9561 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003445/0.8773, allocations: 0.5899 MB / 0.9566 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006124/0.8835, allocations: 2.487 MB / 0.9591 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.8839, allocations: 302.6 kB / 0.9594 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000657/0.8846, allocations: 200 kB / 0.9596 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006199/0.8908, allocations: 2.568 MB / 0.9621 GB, free: 4.469 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.088e-05/0.8909, allocations: 7.938 kB / 0.9621 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.8913, allocations: 84 kB / 0.9621 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-05/0.8914, allocations: 63.98 kB / 0.9622 GB, free: 4.316 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005153/0.8965, allocations: 2.219 MB / 0.9644 GB, free: 2.094 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.01766/0.9142, allocations: 11.44 MB / 0.9755 GB, free: 6.156 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/0.9173, allocations: 1.309 MB / 0.9768 GB, free: 4.84 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001745/0.919, allocations: 0.8118 MB / 0.9776 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.9202, allocations: 1.323 MB / 0.9789 GB, free: 2.41 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002436/0.9226, allocations: 1.066 MB / 0.9799 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=115): time 5.09e-06/0.9226, allocations: 0 / 0.9799 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of matching and sorting (n=115): time 0.006576/0.9292, allocations: 2.387 MB / 0.9823 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003793/0.9296, allocations: 479.6 kB / 0.9827 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006299/0.9359, allocations: 2.688 MB / 0.9854 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004063/0.9364, allocations: 53.7 kB / 0.9854 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001569/0.938, allocations: 1.295 MB / 0.9867 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006374/0.9386, allocations: 406.2 kB / 0.9871 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008218/0.9394, allocations: 335.3 kB / 0.9874 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9396, allocations: 309.1 kB / 0.9877 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/0.9415, allocations: 0.779 MB / 0.9884 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.9438, allocations: 1.313 MB / 0.9897 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003684/0.9475, allocations: 1.864 MB / 0.9915 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.9475, allocations: 4 kB / 0.9915 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005148/0.9527, allocations: 2.256 MB / 0.9937 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.9527, allocations: 37.69 kB / 0.9938 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.9528, allocations: 12 kB / 0.9938 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/0.9528, allocations: 16 kB / 0.9938 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/0.9546, allocations: 412 kB / 0.9942 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.591e-05/0.9546, allocations: 26.11 kB / 0.9942 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/0.957, allocations: 265.7 kB / 0.9945 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/0.9571, allocations: 74.47 kB / 0.9946 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002639/0.9598, allocations: 1.273 MB / 0.9958 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002108/0.9619, allocations: 1.305 MB / 0.9971 GB, free: 14.98 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003612/0.9655, allocations: 1.852 MB / 0.9989 GB, free: 12.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.035e-05/0.9656, allocations: 0 / 0.9989 GB, free: 12.98 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005025/0.9706, allocations: 2.252 MB / 1.001 GB, free: 10.71 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/0.9706, allocations: 37.7 kB / 1.001 GB, free: 10.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.9707, allocations: 8 kB / 1.001 GB, free: 10.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.9707, allocations: 23.94 kB / 1.001 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.9725, allocations: 412.1 kB / 1.002 GB, free: 10.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/0.9725, allocations: 23.92 kB / 1.002 GB, free: 10.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/0.9748, allocations: 207.2 kB / 1.002 GB, free: 10.01 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001629/0.975, allocations: 63.98 kB / 1.002 GB, free: 9.945 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.0004895/0.9755, allocations: 296.8 kB / 1.002 GB, free: 9.648 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008168/0.9763, allocations: 276.6 kB / 1.002 GB, free: 9.375 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/0.9808, allocations: 2.093 MB / 1.004 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/0.9809, allocations: 16 kB / 1.004 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.9809, allocations: 0 / 1.004 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003272/0.9842, allocations: 1.649 MB / 1.006 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.9947, allocations: 5.225 MB / 1.011 GB, free: 192 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/0.9947, allocations: 8 kB / 1.011 GB, free: 184 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.9961, allocations: 267.7 kB / 1.011 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.399e-05/0.9961, allocations: 12 kB / 1.011 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.9963, allocations: 39.97 kB / 1.011 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.708e-05/0.9963, allocations: 17.19 kB / 1.011 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9963, allocations: 8 kB / 1.011 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006364/1.003, allocations: 3.086 MB / 1.014 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.005, allocations: 0.5834 MB / 1.015 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008246/1.006, allocations: 35.92 kB / 1.015 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.008, allocations: 115.8 kB / 1.015 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/1.008, allocations: 112.7 kB / 1.015 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001799/1.008, allocations: 67.95 kB / 1.015 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003529/1.012, allocations: 1.868 MB / 1.017 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.31e-07/1.012, allocations: 0 / 1.017 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004709/1.017, allocations: 1.446 MB / 1.019 GB, free: 8.414 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.001645/1.018, allocations: 0.67 MB / 1.019 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00664/1.025, allocations: 3.019 MB / 1.022 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.76e-05/1.025, allocations: 5.141 kB / 1.022 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.027, allocations: 0.9285 MB / 1.023 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006942/1.034, allocations: 1.398 MB / 1.024 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008608/1.043, allocations: 4.775 MB / 1.029 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/1.044, allocations: 1.757 MB / 1.031 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003461/1.048, allocations: 0.7087 MB / 1.032 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009048/1.049, allocations: 219.4 kB / 1.032 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of SimCode: time 8.32e-07/1.049, allocations: 0 / 1.032 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.08536/1.134, allocations: 54.07 MB / 1.085 GB, free: 5.59 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)