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.001254/0.001254, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 188.9 kB / 16.62 MB, free: 6.613 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.396/1.396, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.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.772/1.772, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001549/0.001549, allocations: 80.27 kB / 0.6723 GB, free: 26.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2363, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1129/0.3493, allocations: 115.6 MB / 0.897 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4554/0.8047, allocations: 20.7 MB / 0.9172 GB, free: 40.92 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005884/0.8107, allocations: 109.6 kB / 0.9173 GB, free: 40.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00561/0.8164, allocations: 1.644 MB / 0.9189 GB, free: 40.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.8295, allocations: 3.928 MB / 0.9227 GB, free: 40.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008994/0.8385, allocations: 2.884 MB / 0.9255 GB, free: 40.7 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01224/0.8507, allocations: 7.997 MB / 0.9333 GB, free: 40.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005089/0.8559, allocations: 2.681 MB / 0.936 GB, free: 40.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008562/0.8644, allocations: 2.985 MB / 0.9389 GB, free: 39.8 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005429/0.8699, allocations: 2.353 MB / 0.9412 GB, free: 39.31 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.8713, allocations: 331.3 kB / 0.9415 GB, free: 39.3 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008457/0.8798, allocations: 2.044 MB / 0.9435 GB, free: 39.15 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002269/0.8821, allocations: 0.9389 MB / 0.9444 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005684/0.8878, allocations: 1.831 MB / 0.9462 GB, free: 38.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.8995, allocations: 5.52 MB / 0.9516 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.8996, allocations: 1.344 kB / 0.9516 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8996, allocations: 0 / 0.9516 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001949/0.8998, allocations: 0 / 0.9516 GB, free: 36.42 MB / 0.7169 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.0105/0.9103, allocations: 3.853 MB / 0.9553 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.9104, allocations: 13.75 kB / 0.9554 GB, free: 34.14 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003824/0.9142, allocations: 0.5802 MB / 0.9559 GB, free: 33.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005899/0.9201, allocations: 2.616 MB / 0.9585 GB, free: 32.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.9204, allocations: 300 kB / 0.9588 GB, free: 32.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003801/0.9208, allocations: 202.6 kB / 0.959 GB, free: 32.13 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00529/0.9261, allocations: 2.552 MB / 0.9615 GB, free: 30.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.9262, allocations: 10.28 kB / 0.9615 GB, free: 30.47 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/0.9265, allocations: 85.03 kB / 0.9615 GB, free: 30.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.501e-05/0.9266, allocations: 66.89 kB / 0.9616 GB, free: 30.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00453/0.9312, allocations: 2.225 MB / 0.9638 GB, free: 29.25 MB / 0.7169 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.01463/0.9458, allocations: 11.4 MB / 0.9749 GB, free: 19.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.9484, allocations: 1.322 MB / 0.9762 GB, free: 19.01 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.9499, allocations: 0.8113 MB / 0.977 GB, free: 18.58 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/0.9505, allocations: 1.328 MB / 0.9783 GB, free: 17.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001937/0.9525, allocations: 1.055 MB / 0.9793 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 3.046e-06/0.9525, allocations: 4 kB / 0.9793 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.005611/0.9581, allocations: 2.382 MB / 0.9817 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.9583, allocations: 486.3 kB / 0.9821 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003546/0.9618, allocations: 2.683 MB / 0.9847 GB, free: 13.12 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003047/0.9621, allocations: 57.83 kB / 0.9848 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009464/0.9631, allocations: 1.311 MB / 0.9861 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.9635, allocations: 399.1 kB / 0.9865 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/0.964, allocations: 347.7 kB / 0.9868 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.9641, allocations: 301.1 kB / 0.9871 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.9658, allocations: 0.7786 MB / 0.9878 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.9678, allocations: 1.305 MB / 0.9891 GB, free: 9.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.9711, allocations: 1.87 MB / 0.9909 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.9712, allocations: 3.406 kB / 0.9909 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004967/0.9761, allocations: 2.255 MB / 0.9931 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.9762, allocations: 40.5 kB / 0.9932 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.9762, allocations: 16 kB / 0.9932 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.9763, allocations: 16 kB / 0.9932 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.978, allocations: 419.7 kB / 0.9936 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.019e-05/0.978, allocations: 23.92 kB / 0.9936 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002786/0.9808, allocations: 261.7 kB / 0.9939 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.981, allocations: 71.97 kB / 0.9939 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002579/0.9836, allocations: 1.278 MB / 0.9952 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002068/0.9857, allocations: 1.307 MB / 0.9965 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003296/0.989, allocations: 1.852 MB / 0.9983 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.185e-06/0.989, allocations: 0 / 0.9983 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005542/0.9946, allocations: 2.253 MB / 1 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.9947, allocations: 37.7 kB / 1.001 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.9947, allocations: 8 kB / 1.001 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.483e-05/0.9947, allocations: 20 kB / 1.001 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.9965, allocations: 403.9 kB / 1.001 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.565e-05/0.9966, allocations: 23.92 kB / 1.001 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002989/0.9996, allocations: 219.1 kB / 1.001 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002601/0.9999, allocations: 67.92 kB / 1.001 GB, free: 13.75 MB / 0.7325 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.0006758/1.001, allocations: 283.8 kB / 1.001 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001098/1.002, allocations: 280.6 kB / 1.002 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005193/1.007, allocations: 2.093 MB / 1.004 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.007, allocations: 16 kB / 1.004 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.007, allocations: 8 kB / 1.004 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003636/1.011, allocations: 1.641 MB / 1.005 GB, free: 9.398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/1.025, allocations: 5.219 MB / 1.011 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/1.025, allocations: 8 kB / 1.011 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.026, allocations: 264.3 kB / 1.011 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-05/1.026, allocations: 12 kB / 1.011 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/1.027, allocations: 39.97 kB / 1.011 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.423e-05/1.027, allocations: 11.94 kB / 1.011 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.027, allocations: 19.81 kB / 1.011 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/1.034, allocations: 3.075 MB / 1.014 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.036, allocations: 0.5871 MB / 1.014 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001663/1.038, allocations: 28.05 kB / 1.014 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.041, allocations: 127.7 kB / 1.015 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003608/1.041, allocations: 120.6 kB / 1.015 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003002/1.042, allocations: 63.95 kB / 1.015 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004271/1.046, allocations: 1.876 MB / 1.017 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.71e-07/1.046, allocations: 0 / 1.017 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.006407/1.052, allocations: 1.446 MB / 1.018 GB, free: 12.36 MB / 0.7481 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.002155/1.055, allocations: 0.6629 MB / 1.019 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007568/1.062, allocations: 3.015 MB / 1.022 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/1.062, allocations: 4.672 kB / 1.022 GB, free: 8.707 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.064, allocations: 0.9289 MB / 1.023 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008644/1.073, allocations: 1.391 MB / 1.024 GB, free: 6.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/1.083, allocations: 4.784 MB / 1.029 GB, free: 1.551 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/1.085, allocations: 1.757 MB / 1.03 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004216/1.089, allocations: 0.712 MB / 1.031 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/1.09, allocations: 215.4 kB / 1.031 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of SimCode: time 6.72e-07/1.09, allocations: 0 / 1.031 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of Templates: time 0.09481/1.185, allocations: 54.06 MB / 1.084 GB, free: 9.629 MB / 0.8106 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)