Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 105.7 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.001124/0.001124, allocations: 195.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.312/1.312, 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001432/0.001432, allocations: 71.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1987, allocations: 114.6 MB / 0.7848 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.385/0.5838, allocations: 62.64 MB / 0.8459 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01845/0.6023, allocations: 13.57 MB / 0.8592 GB, free: 14.14 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002858/0.6052, allocations: 59 kB / 0.8592 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003116/0.6083, allocations: 0.9436 MB / 0.8602 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007819/0.6162, allocations: 2.368 MB / 0.8625 GB, free: 12.15 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004987/0.6212, allocations: 1.642 MB / 0.8641 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007085/0.6283, allocations: 4.243 MB / 0.8682 GB, free: 9.199 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002661/0.631, allocations: 1.411 MB / 0.8696 GB, free: 8.582 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004596/0.6356, allocations: 1.658 MB / 0.8712 GB, free: 7.797 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002768/0.6384, allocations: 1.283 MB / 0.8725 GB, free: 7.086 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005189/0.6389, allocations: 176.3 kB / 0.8726 GB, free: 7.086 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004332/0.6433, allocations: 1.432 MB / 0.874 GB, free: 6.332 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008186/0.6441, allocations: 0.504 MB / 0.8745 GB, free: 5.941 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.646, allocations: 1.008 MB / 0.8755 GB, free: 5.242 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006448/0.6525, allocations: 3.172 MB / 0.8786 GB, free: 3.086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.6525, allocations: 0 / 0.8786 GB, free: 3.086 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.725e-06/0.6526, allocations: 0 / 0.8786 GB, free: 3.086 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001087/0.6527, allocations: 1.156 kB / 0.8786 GB, free: 3.086 MB / 0.67 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.006539/0.6592, allocations: 2.326 MB / 0.8809 GB, free: 1.398 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.6593, allocations: 10.5 kB / 0.8809 GB, free: 1.398 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/0.6608, allocations: 318.2 kB / 0.8812 GB, free: 1.246 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.6635, allocations: 1.409 MB / 0.8826 GB, free: 152 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/0.6637, allocations: 153.2 kB / 0.8827 GB, free: 44 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.6639, allocations: 108.3 kB / 0.8828 GB, free: 8 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002962/0.6669, allocations: 1.438 MB / 0.8842 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.6669, allocations: 6.281 kB / 0.8842 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.667, allocations: 46.69 kB / 0.8843 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/0.6671, allocations: 33.23 kB / 0.8843 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003238/0.6703, allocations: 1.341 MB / 0.8856 GB, free: 14.34 MB / 0.6856 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.01011/0.6805, allocations: 6.619 MB / 0.8921 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.6829, allocations: 1.173 MB / 0.8932 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/0.6842, allocations: 0.5606 MB / 0.8938 GB, free: 7.352 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008153/0.685, allocations: 1.148 MB / 0.8949 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.6851, allocations: 40.31 kB / 0.8949 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.504e-06/0.6851, allocations: 0 / 0.8949 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of matching and sorting (n=77): time 0.004543/0.6896, allocations: 1.588 MB / 0.8965 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.6898, allocations: 111.2 kB / 0.8966 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/0.6918, allocations: 1.403 MB / 0.898 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.692, allocations: 43.28 kB / 0.898 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005959/0.6926, allocations: 0.7124 MB / 0.8987 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.6929, allocations: 264.4 kB / 0.899 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003113/0.6932, allocations: 178.3 kB / 0.8991 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6933, allocations: 341.8 kB / 0.8994 GB, free: 2.906 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.6946, allocations: 0.4907 MB / 0.8999 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/0.696, allocations: 0.7224 MB / 0.9006 GB, free: 2.109 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.6985, allocations: 1.136 MB / 0.9017 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.6986, allocations: 1.438 kB / 0.9017 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003319/0.7019, allocations: 1.346 MB / 0.9031 GB, free: 164 kB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.7019, allocations: 8 kB / 0.9031 GB, free: 156 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7019, allocations: 4 kB / 0.9031 GB, free: 152 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.702, allocations: 8.562 kB / 0.9031 GB, free: 144 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7033, allocations: 275.6 kB / 0.9033 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.7033, allocations: 11.94 kB / 0.9034 GB, free: 15.86 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.7047, allocations: 159.5 kB / 0.9035 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/0.7048, allocations: 37.67 kB / 0.9035 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/0.7066, allocations: 0.7985 MB / 0.9043 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001346/0.708, allocations: 0.7201 MB / 0.905 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002382/0.7103, allocations: 1.117 MB / 0.9061 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/0.7104, allocations: 0 / 0.9061 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003482/0.7138, allocations: 1.348 MB / 0.9074 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7139, allocations: 8 kB / 0.9074 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7139, allocations: 4 kB / 0.9074 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.7139, allocations: 8 kB / 0.9074 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.7151, allocations: 271.8 kB / 0.9077 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.7152, allocations: 11.94 kB / 0.9077 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.7165, allocations: 147.2 kB / 0.9079 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.7166, allocations: 41.14 kB / 0.9079 GB, free: 11.04 MB / 0.7012 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 (intGreThr.y,reaToInt.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.717, allocations: 237.1 kB / 0.9081 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/0.7173, allocations: 146.2 kB / 0.9083 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00329/0.7206, allocations: 1.478 MB / 0.9097 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.7207, allocations: 11.94 kB / 0.9097 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7207, allocations: 0 / 0.9097 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002483/0.7232, allocations: 1.117 MB / 0.9108 GB, free: 8 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005908/0.7291, allocations: 3.083 MB / 0.9138 GB, free: 4.797 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.7291, allocations: 5.188 kB / 0.9138 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/0.7301, allocations: 196.3 kB / 0.914 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.7302, allocations: 4 kB / 0.914 GB, free: 4.598 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.7302, allocations: 23.98 kB / 0.914 GB, free: 4.574 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.7303, allocations: 11.94 kB / 0.914 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.929e-06/0.7303, allocations: 11.92 kB / 0.9141 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.7347, allocations: 2.071 MB / 0.9161 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.7358, allocations: 386.7 kB / 0.9165 GB, free: 2 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.7361, allocations: 16 kB / 0.9165 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.7374, allocations: 102 kB / 0.9166 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.7376, allocations: 84.34 kB / 0.9166 GB, free: 1.805 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.744e-05/0.7377, allocations: 43.91 kB / 0.9167 GB, free: 1.762 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001751/0.7394, allocations: 1.075 MB / 0.9177 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7394, allocations: 0 / 0.9177 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002365/0.7418, allocations: 0.7994 MB / 0.9185 GB, free: 15.89 MB / 0.7169 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 (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.00119/0.743, allocations: 465.7 kB / 0.919 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004648/0.7477, allocations: 1.814 MB / 0.9207 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.7477, allocations: 0 / 0.9207 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.7493, allocations: 0.6444 MB / 0.9214 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/0.7538, allocations: 0.8375 MB / 0.9222 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.7585, allocations: 2.746 MB / 0.9249 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009671/0.7595, allocations: 1.275 MB / 0.9261 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001706/0.7612, allocations: 406 kB / 0.9265 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.7616, allocations: 135.4 kB / 0.9266 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of SimCode: time 1.412e-06/0.7616, allocations: 0 / 0.9266 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of Templates: time 0.05272/0.8143, allocations: 33.51 MB / 0.9594 GB, free: 6.52 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)