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.001303/0.001303, allocations: 112.8 kB / 16.37 MB, free: 6.012 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.001169/0.001169, allocations: 188.8 kB / 17.31 MB, free: 5.609 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.372/1.372, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.72/1.72, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001433/0.001433, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2357/0.2372, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.5518/0.7891, allocations: 115.6 MB / 0.8976 GB, free: 0.6875 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03381/0.8229, allocations: 20.71 MB / 0.9179 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006972/0.83, allocations: 110.7 kB / 0.918 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006474/0.8365, allocations: 1.648 MB / 0.9196 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01545/0.852, allocations: 3.923 MB / 0.9234 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009706/0.8618, allocations: 2.894 MB / 0.9262 GB, free: 8.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01478/0.8766, allocations: 7.982 MB / 0.934 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006246/0.8828, allocations: 2.681 MB / 0.9366 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008822/0.8917, allocations: 2.994 MB / 0.9396 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005127/0.8969, allocations: 2.35 MB / 0.9419 GB, free: 9.477 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001434/0.8983, allocations: 328 kB / 0.9422 GB, free: 9.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006937/0.9053, allocations: 2.047 MB / 0.9442 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.9073, allocations: 0.9307 MB / 0.9451 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005246/0.9125, allocations: 1.831 MB / 0.9469 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0131/0.9257, allocations: 5.523 MB / 0.9523 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9257, allocations: 0 / 0.9523 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.777e-06/0.9257, allocations: 4 kB / 0.9523 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001978/0.9259, allocations: 0 / 0.9523 GB, free: 14.79 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.01251/0.9385, allocations: 3.854 MB / 0.956 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.9385, allocations: 12.03 kB / 0.956 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003687/0.9422, allocations: 0.5782 MB / 0.9566 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00689/0.9491, allocations: 2.606 MB / 0.9592 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005609/0.9497, allocations: 302.7 kB / 0.9594 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008205/0.9506, allocations: 200 kB / 0.9596 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007273/0.9579, allocations: 2.556 MB / 0.9621 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.952e-05/0.958, allocations: 11.88 kB / 0.9621 GB, free: 4.391 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005055/0.9585, allocations: 91.98 kB / 0.9622 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.889e-05/0.9586, allocations: 59.98 kB / 0.9623 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005883/0.9645, allocations: 2.227 MB / 0.9645 GB, free: 2.012 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.02035/0.9849, allocations: 11.41 MB / 0.9756 GB, free: 6.102 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/0.9884, allocations: 1.32 MB / 0.9769 GB, free: 4.773 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.9903, allocations: 0.8079 MB / 0.9777 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/0.9915, allocations: 1.323 MB / 0.979 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002488/0.994, allocations: 1.062 MB / 0.98 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=115): time 4.378e-06/0.9941, allocations: 0 / 0.98 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of matching and sorting (n=115): time 0.006506/1.001, allocations: 2.383 MB / 0.9823 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000236/1.001, allocations: 487.6 kB / 0.9828 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005515/1.006, allocations: 2.685 MB / 0.9854 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004361/1.007, allocations: 57.7 kB / 0.9855 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.008, allocations: 1.303 MB / 0.9868 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006239/1.009, allocations: 402.2 kB / 0.9871 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005658/1.009, allocations: 339.3 kB / 0.9875 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.01, allocations: 305.1 kB / 0.9878 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001774/1.011, allocations: 0.7777 MB / 0.9885 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/1.014, allocations: 1.309 MB / 0.9898 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003934/1.018, allocations: 1.868 MB / 0.9916 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.018, allocations: 4 kB / 0.9916 GB, free: 4.812 MB / 0.7794 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005425/1.023, allocations: 2.259 MB / 0.9938 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/1.023, allocations: 37.69 kB / 0.9939 GB, free: 2.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.023, allocations: 12 kB / 0.9939 GB, free: 2.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/1.023, allocations: 16 kB / 0.9939 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.025, allocations: 411.5 kB / 0.9943 GB, free: 2.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/1.025, allocations: 23.92 kB / 0.9943 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/1.028, allocations: 257.7 kB / 0.9945 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.028, allocations: 75.91 kB / 0.9946 GB, free: 1.715 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002718/1.03, allocations: 1.288 MB / 0.9959 GB, free: 432 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002118/1.033, allocations: 1.297 MB / 0.9971 GB, free: 14.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003695/1.036, allocations: 1.86 MB / 0.999 GB, free: 12.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/1.036, allocations: 0 / 0.999 GB, free: 12.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005613/1.042, allocations: 2.253 MB / 1.001 GB, free: 10.64 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.326e-05/1.042, allocations: 37.7 kB / 1.001 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/1.042, allocations: 8 kB / 1.001 GB, free: 10.59 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.662e-05/1.042, allocations: 16 kB / 1.001 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.044, allocations: 411.5 kB / 1.002 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.024e-05/1.044, allocations: 23.92 kB / 1.002 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.047, allocations: 203.2 kB / 1.002 GB, free: 9.945 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/1.047, allocations: 67.98 kB / 1.002 GB, free: 9.879 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.0006236/1.048, allocations: 291.7 kB / 1.002 GB, free: 9.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.049, allocations: 280.6 kB / 1.002 GB, free: 9.309 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/1.054, allocations: 2.089 MB / 1.004 GB, free: 7.203 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/1.054, allocations: 12 kB / 1.004 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.054, allocations: 4 kB / 1.004 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003358/1.057, allocations: 1.649 MB / 1.006 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.068, allocations: 5.233 MB / 1.011 GB, free: 116 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/1.068, allocations: 10.12 kB / 1.011 GB, free: 108 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.07, allocations: 268.2 kB / 1.011 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.374e-05/1.07, allocations: 12 kB / 1.011 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.07, allocations: 35.97 kB / 1.012 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/1.07, allocations: 15.88 kB / 1.012 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/1.07, allocations: 8 kB / 1.012 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006568/1.076, allocations: 3.082 MB / 1.015 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.078, allocations: 0.5833 MB / 1.015 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005439/1.079, allocations: 28 kB / 1.015 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001937/1.081, allocations: 123 kB / 1.015 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/1.081, allocations: 112.7 kB / 1.015 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.081, allocations: 63.95 kB / 1.015 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002889/1.084, allocations: 1.868 MB / 1.017 GB, free: 9.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/1.084, allocations: 3.938 kB / 1.017 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.004154/1.088, allocations: 1.443 MB / 1.019 GB, free: 8.359 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.001503/1.09, allocations: 0.6792 MB / 1.019 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006467/1.096, allocations: 3.015 MB / 1.022 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-05/1.096, allocations: 4.672 kB / 1.022 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.098, allocations: 0.8778 MB / 1.023 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007471/1.106, allocations: 1.394 MB / 1.025 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008271/1.114, allocations: 4.855 MB / 1.029 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001338/1.115, allocations: 1.757 MB / 1.031 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/1.116, allocations: 231.3 kB / 1.031 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of SimCode: time 1.352e-06/1.116, allocations: 4 kB / 1.031 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.08371/1.2, allocations: 49.51 MB / 1.08 GB, free: 10.39 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)