Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 251.1 MB / 266.1 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 184.9 kB / 325.6 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.531/2.531, allocations: 205.4 MB / 0.5766 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 96.53 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004678, allocations: 12.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06896/0.2826, allocations: 52.44 MB / 0.9501 GB, free: 12.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.3037, allocations: 11.85 MB / 0.9617 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.3061, allocations: 43.69 kB / 0.9617 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.004112/0.3103, allocations: 0.9409 MB / 0.9626 GB, free: 16 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009319/0.3196, allocations: 2.125 MB / 0.9647 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007289/0.327, allocations: 1.527 MB / 0.9662 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006752/0.3337, allocations: 2.511 MB / 0.9686 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.3364, allocations: 1.062 MB / 0.9697 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.3404, allocations: 1.211 MB / 0.9709 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.3429, allocations: 0.8674 MB / 0.9717 GB, free: 6.684 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004919/0.3435, allocations: 68 kB / 0.9718 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004053/0.3475, allocations: 0.8582 MB / 0.9726 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0008521/0.3484, allocations: 346.7 kB / 0.9729 GB, free: 5.418 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008175/0.3493, allocations: 380.8 kB / 0.9733 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005325/0.3546, allocations: 2.143 MB / 0.9754 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3547, allocations: 4 kB / 0.9754 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.991e-06/0.3547, allocations: 0 / 0.9754 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.99e-05/0.3548, allocations: 7.938 kB / 0.9754 GB, free: 2.879 MB / 0.6198 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.006812/0.3616, allocations: 1.998 MB / 0.9774 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.3617, allocations: 16.02 kB / 0.9774 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002626/0.3643, allocations: 341.5 kB / 0.9777 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.3687, allocations: 1.399 MB / 0.9791 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002756/0.3691, allocations: 165.4 kB / 0.9792 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003295/0.3694, allocations: 104 kB / 0.9793 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00499/0.3744, allocations: 1.406 MB / 0.9807 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.056e-05/0.3745, allocations: 4 kB / 0.9807 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/0.3747, allocations: 44 kB / 0.9807 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.306e-05/0.3748, allocations: 31.98 kB / 0.9808 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006194/0.381, allocations: 1.327 MB / 0.9821 GB, free: 11.84 MB / 0.6355 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.01344/0.3945, allocations: 6.385 MB / 0.9883 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.3985, allocations: 1.145 MB / 0.9894 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.3997, allocations: 1.145 MB / 0.9905 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/0.3998, allocations: 43.22 kB / 0.9906 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=77): time 3.767e-06/0.3998, allocations: 0 / 0.9906 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of matching and sorting (n=77): time 0.007923/0.4078, allocations: 1.582 MB / 0.9921 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.753e-05/0.4079, allocations: 111.5 kB / 0.9922 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/0.4108, allocations: 1.307 MB / 0.9935 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/0.4112, allocations: 41.7 kB / 0.9935 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/0.412, allocations: 0.7123 MB / 0.9942 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004845/0.4126, allocations: 268 kB / 0.9945 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.609e-05/0.4127, allocations: 16 kB / 0.9945 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4128, allocations: 349.9 kB / 0.9948 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/0.4152, allocations: 485.7 kB / 0.9953 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/0.4179, allocations: 0.7074 MB / 0.996 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.4204, allocations: 0.5182 MB / 0.9965 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.4205, allocations: 8 kB / 0.9965 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.005872/0.4264, allocations: 1.335 MB / 0.9978 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007966/0.4272, allocations: 1.877 MB / 0.9996 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.4273, allocations: 11.94 kB / 0.9997 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.74e-05/0.4273, allocations: 8 kB / 0.9997 GB, free: 8.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.4298, allocations: 299.6 kB / 1 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.4299, allocations: 15.94 kB / 1 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/0.4324, allocations: 211 kB / 1 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/0.4326, allocations: 43.92 kB / 1 GB, free: 8.121 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4327, allocations: 4 kB / 1 GB, free: 8.117 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005407/0.4381, allocations: 1.179 MB / 1.001 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.4381, allocations: 4 kB / 1.001 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4382, allocations: 8 kB / 1.001 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002386/0.4406, allocations: 292.2 kB / 1.002 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/0.4406, allocations: 19.92 kB / 1.002 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002479/0.4431, allocations: 207 kB / 1.002 GB, free: 6.418 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001954/0.4433, allocations: 35.98 kB / 1.002 GB, free: 6.383 MB / 0.6511 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 (reaToInt.y,intGreThr.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.4445, allocations: 476.7 kB / 1.002 GB, free: 5.906 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/0.445, allocations: 142.2 kB / 1.002 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005808/0.4508, allocations: 1.466 MB / 1.004 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.4509, allocations: 4 kB / 1.004 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.4509, allocations: 4 kB / 1.004 GB, free: 4.266 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00476/0.4557, allocations: 1.105 MB / 1.005 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00985/0.4656, allocations: 2.899 MB / 1.008 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.4656, allocations: 4 kB / 1.008 GB, free: 108 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/0.4676, allocations: 216.3 kB / 1.008 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.052e-05/0.4677, allocations: 12 kB / 1.008 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001236/0.4678, allocations: 23.98 kB / 1.008 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.576e-05/0.4678, allocations: 11.94 kB / 1.008 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4678, allocations: 4 kB / 1.008 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008443/0.4763, allocations: 2.298 MB / 1.01 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/0.4777, allocations: 374.8 kB / 1.011 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005582/0.4783, allocations: 19.98 kB / 1.011 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/0.481, allocations: 170.2 kB / 1.011 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/0.4814, allocations: 88.34 kB / 1.011 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/0.4816, allocations: 35.98 kB / 1.011 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002382/0.484, allocations: 0.9362 MB / 1.012 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.82e-07/0.4841, allocations: 0 / 1.012 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003587/0.4877, allocations: 0.7951 MB / 1.013 GB, free: 10.88 MB / 0.6667 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001379/0.4891, allocations: 460.6 kB / 1.013 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008173/0.4973, allocations: 1.787 MB / 1.015 GB, free: 8.641 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/0.4974, allocations: 4 kB / 1.015 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.003053/0.5004, allocations: 0.6367 MB / 1.016 GB, free: 8 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006021/0.5065, allocations: 0.6591 MB / 1.016 GB, free: 7.348 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00811/0.5147, allocations: 3.222 MB / 1.019 GB, free: 4.035 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001282/0.516, allocations: 1.304 MB / 1.021 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003045/0.5191, allocations: 370.7 kB / 1.021 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006526/0.5198, allocations: 119.3 kB / 1.021 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of SimCode: time 1.423e-06/0.5198, allocations: 0 / 1.021 GB, free: 2.215 MB / 0.6667 GB Notification: Performance of Templates: time 0.0768/0.5966, allocations: 27.04 MB / 1.047 GB, free: 7.441 MB / 0.698 GB