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.301/2.301, allocations: 253.1 MB / 260.6 MB, free: 7.426 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001565/0.001564, allocations: 182.4 kB / 319.9 MB, free: 3.098 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.018/2.018, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001491/0.001491, allocations: 90.69 kB / 0.6751 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.652e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2199, allocations: 106.3 MB / 0.8887 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.877/2.097, allocations: 428.2 MB / 1.307 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/2.098, allocations: 90.72 kB / 1.307 GB, free: 258.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.271/4.369, allocations: 0.4998 GB / 1.807 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.994e-06/4.369, allocations: 0 / 1.807 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002483/4.37, allocations: 47.05 kB / 1.807 GB, free: 124 MB / 0.8698 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.006828/4.376, allocations: 1.889 MB / 1.809 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/4.376, allocations: 8.031 kB / 1.809 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/4.379, allocations: 317.5 kB / 1.809 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/4.385, allocations: 1.631 MB / 1.81 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/4.385, allocations: 117.5 kB / 1.811 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/4.385, allocations: 71.55 kB / 1.811 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002992/4.388, allocations: 0.9843 MB / 1.812 GB, free: 118.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/4.391, allocations: 1.11 MB / 1.813 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/4.391, allocations: 11.91 kB / 1.813 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/4.392, allocations: 0 / 1.813 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/4.392, allocations: 35.94 kB / 1.813 GB, free: 117.7 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.01319/4.405, allocations: 6.705 MB / 1.819 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/4.407, allocations: 0.586 MB / 1.82 GB, free: 110 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008426/4.407, allocations: 377.1 kB / 1.82 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/4.408, allocations: 0.8305 MB / 1.821 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/4.408, allocations: 43.12 kB / 1.821 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 3.397e-06/4.408, allocations: 4 kB / 1.821 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.002678/4.411, allocations: 0.8097 MB / 1.822 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/4.411, allocations: 111.3 kB / 1.822 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/4.414, allocations: 1.145 MB / 1.823 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000311/4.414, allocations: 25.7 kB / 1.823 GB, free: 106.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006985/4.415, allocations: 0.7615 MB / 1.824 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003596/4.415, allocations: 220.7 kB / 1.824 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/4.415, allocations: 0 / 1.824 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.34e-05/4.415, allocations: 334 kB / 1.824 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/4.416, allocations: 346.5 kB / 1.825 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009638/4.417, allocations: 0.5968 MB / 1.825 GB, free: 104 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/4.418, allocations: 422.2 kB / 1.826 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/4.418, allocations: 4 kB / 1.826 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003117/4.422, allocations: 1.022 MB / 1.827 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004071/4.422, allocations: 1.876 MB / 1.829 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/4.422, allocations: 4 kB / 1.829 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.551e-05/4.422, allocations: 12 kB / 1.829 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/4.424, allocations: 267.6 kB / 1.829 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/4.424, allocations: 8 kB / 1.829 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/4.427, allocations: 211 kB / 1.829 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002709/4.428, allocations: 35.98 kB / 1.829 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/4.428, allocations: 5.562 kB / 1.829 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002591/4.43, allocations: 0.8457 MB / 1.83 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/4.43, allocations: 4 kB / 1.83 GB, free: 99.21 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/4.43, allocations: 12 kB / 1.83 GB, free: 99.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/4.433, allocations: 268.2 kB / 1.83 GB, free: 98.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/4.433, allocations: 19.89 kB / 1.83 GB, free: 98.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/4.435, allocations: 175.2 kB / 1.83 GB, free: 98.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002351/4.436, allocations: 35.98 kB / 1.83 GB, free: 98.71 MB / 0.8698 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 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.0003507/4.436, allocations: 130.1 kB / 1.83 GB, free: 98.57 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/4.436, allocations: 138.3 kB / 1.831 GB, free: 98.44 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/4.439, allocations: 0.9463 MB / 1.832 GB, free: 97.48 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/4.439, allocations: 4 kB / 1.832 GB, free: 97.47 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/4.439, allocations: 7.891 kB / 1.832 GB, free: 97.46 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001894/4.441, allocations: 0.8219 MB / 1.832 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00654/4.448, allocations: 2.428 MB / 1.835 GB, free: 94.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/4.448, allocations: 8.062 kB / 1.835 GB, free: 94.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001821/4.45, allocations: 210.8 kB / 1.835 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/4.45, allocations: 4 kB / 1.835 GB, free: 93.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/4.45, allocations: 11.98 kB / 1.835 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/4.45, allocations: 7.938 kB / 1.835 GB, free: 93.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/4.45, allocations: 4 kB / 1.835 GB, free: 93.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/4.454, allocations: 1.701 MB / 1.837 GB, free: 92.05 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/4.455, allocations: 371 kB / 1.837 GB, free: 91.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004244/4.456, allocations: 15.88 kB / 1.837 GB, free: 91.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/4.458, allocations: 111.9 kB / 1.837 GB, free: 91.55 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/4.458, allocations: 72.47 kB / 1.837 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/4.458, allocations: 31.97 kB / 1.837 GB, free: 91.45 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001843/4.46, allocations: 0.8639 MB / 1.838 GB, free: 90.58 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.61e-07/4.46, allocations: 0 / 1.838 GB, free: 90.58 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003992/4.464, allocations: 0.8339 MB / 1.839 GB, free: 89.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * 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.001962/4.466, allocations: 0.8099 MB / 1.84 GB, free: 89 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00355/4.47, allocations: 1.379 MB / 1.841 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/4.47, allocations: 0 / 1.841 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001249/4.471, allocations: 461.9 kB / 1.841 GB, free: 87.16 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/4.476, allocations: 0.5776 MB / 1.842 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00551/4.482, allocations: 1.994 MB / 1.844 GB, free: 84.54 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009722/4.483, allocations: 1.306 MB / 1.845 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003961/4.487, allocations: 0.497 MB / 1.846 GB, free: 82.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006089/4.488, allocations: 91.41 kB / 1.846 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/4.488, allocations: 0 / 1.846 GB, free: 82.61 MB / 0.8698 GB Notification: Performance of Templates: time 0.09208/4.58, allocations: 28.37 MB / 1.873 GB, free: 54.52 MB / 0.8698 GB