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.001096/0.001096, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001394/0.001394, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.366/1.366, allocations: 205.1 MB / 222 MB, free: 4.734 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.721/1.721, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001296/0.001296, allocations: 65.2 kB / 0.6708 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2208, allocations: 114.6 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05468/0.2755, allocations: 62.23 MB / 0.8434 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.2935, allocations: 13.64 MB / 0.8568 GB, free: 1.914 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.2958, allocations: 55.69 kB / 0.8568 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002562/0.2984, allocations: 0.8043 MB / 0.8576 GB, free: 1.051 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006059/0.3045, allocations: 2.188 MB / 0.8597 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.3084, allocations: 1.495 MB / 0.8612 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005875/0.3143, allocations: 5.429 MB / 0.8665 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/0.3164, allocations: 1.206 MB / 0.8677 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.3197, allocations: 1.42 MB / 0.8691 GB, free: 5.258 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/0.3218, allocations: 1.28 MB / 0.8703 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.3221, allocations: 92 kB / 0.8704 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.3252, allocations: 1.317 MB / 0.8717 GB, free: 2.562 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005456/0.3257, allocations: 438.3 kB / 0.8721 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.327, allocations: 0.921 MB / 0.873 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.3315, allocations: 3.069 MB / 0.876 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3316, allocations: 0 / 0.876 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.263e-06/0.3316, allocations: 4 kB / 0.876 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.365e-05/0.3316, allocations: 0 / 0.876 GB, free: 14.12 MB / 0.7012 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.004873/0.3365, allocations: 2.329 MB / 0.8783 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3365, allocations: 12.03 kB / 0.8783 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.338, allocations: 318.4 kB / 0.8786 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.3407, allocations: 1.432 MB / 0.88 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.3409, allocations: 165.5 kB / 0.8801 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.3411, allocations: 104 kB / 0.8802 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.344, allocations: 1.438 MB / 0.8817 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.344, allocations: 0 / 0.8817 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.3442, allocations: 44 kB / 0.8817 GB, free: 8.082 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.51e-05/0.3442, allocations: 35.94 kB / 0.8817 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003122/0.3473, allocations: 1.339 MB / 0.883 GB, free: 6.711 MB / 0.7012 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.008616/0.356, allocations: 6.62 MB / 0.8895 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.3582, allocations: 1.17 MB / 0.8906 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.3595, allocations: 0.5571 MB / 0.8912 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008422/0.3603, allocations: 1.152 MB / 0.8923 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.3604, allocations: 39.78 kB / 0.8924 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 2.905e-06/0.3604, allocations: 0 / 0.8924 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.004321/0.3647, allocations: 1.585 MB / 0.8939 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.3648, allocations: 111.5 kB / 0.894 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/0.3669, allocations: 1.396 MB / 0.8954 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.3671, allocations: 41.7 kB / 0.8954 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.3677, allocations: 0.7085 MB / 0.8961 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002788/0.368, allocations: 264.2 kB / 0.8964 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002979/0.3683, allocations: 182.5 kB / 0.8965 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3684, allocations: 337.9 kB / 0.8968 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3697, allocations: 0.4927 MB / 0.8973 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001384/0.371, allocations: 0.723 MB / 0.898 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002436/0.3735, allocations: 1.137 MB / 0.8991 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3735, allocations: 0 / 0.8991 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003322/0.3768, allocations: 1.354 MB / 0.9005 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3769, allocations: 4 kB / 0.9005 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3769, allocations: 8 kB / 0.9005 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3769, allocations: 8 kB / 0.9005 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.3781, allocations: 272.2 kB / 0.9007 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3782, allocations: 8 kB / 0.9008 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3795, allocations: 202.8 kB / 0.9009 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.3796, allocations: 43.92 kB / 0.901 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001633/0.3813, allocations: 0.7914 MB / 0.9018 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001355/0.3826, allocations: 0.719 MB / 0.9025 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002404/0.3851, allocations: 1.117 MB / 0.9036 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.358e-06/0.3851, allocations: 4 kB / 0.9036 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00328/0.3884, allocations: 1.355 MB / 0.9049 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3884, allocations: 4 kB / 0.9049 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3884, allocations: 8 kB / 0.9049 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3884, allocations: 8 kB / 0.9049 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.3897, allocations: 271.7 kB / 0.9052 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.3897, allocations: 11.94 kB / 0.9052 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.3912, allocations: 175.2 kB / 0.9053 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.3914, allocations: 47.92 kB / 0.9054 GB, free: 14.62 MB / 0.7325 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.0003869/0.3917, allocations: 224.1 kB / 0.9056 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/0.3923, allocations: 146.2 kB / 0.9057 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/0.3957, allocations: 1.482 MB / 0.9072 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.477e-05/0.3958, allocations: 4 kB / 0.9072 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3958, allocations: 8 kB / 0.9072 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00241/0.3982, allocations: 1.105 MB / 0.9083 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/0.4046, allocations: 3.086 MB / 0.9113 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.4046, allocations: 8 kB / 0.9113 GB, free: 8.383 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009778/0.4056, allocations: 183.7 kB / 0.9115 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-05/0.4056, allocations: 8 kB / 0.9115 GB, free: 8.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.4057, allocations: 31.92 kB / 0.9115 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.4057, allocations: 8 kB / 0.9115 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.4058, allocations: 19.88 kB / 0.9115 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.4103, allocations: 2.052 MB / 0.9135 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008159/0.4112, allocations: 378.8 kB / 0.9139 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/0.4116, allocations: 31.92 kB / 0.9139 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.4131, allocations: 135.8 kB / 0.9141 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.4133, allocations: 80.34 kB / 0.9141 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4134, allocations: 43.91 kB / 0.9142 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001674/0.4151, allocations: 1.068 MB / 0.9152 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.61e-07/0.4151, allocations: 0 / 0.9152 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002293/0.4174, allocations: 0.7915 MB / 0.916 GB, free: 3.469 MB / 0.7325 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.001019/0.4185, allocations: 466 kB / 0.9164 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004427/0.4229, allocations: 1.802 MB / 0.9182 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.4229, allocations: 0 / 0.9182 GB, free: 1.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001558/0.4245, allocations: 0.6403 MB / 0.9188 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3887/0.8132, allocations: 0.7825 MB / 0.9196 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004947/0.8182, allocations: 3.29 MB / 0.9228 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.8194, allocations: 1.281 MB / 0.9241 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002291/0.8217, allocations: 406.4 kB / 0.9244 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.8222, allocations: 126.8 kB / 0.9246 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.8222, allocations: 0 / 0.9246 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.05571/0.8779, allocations: 31.71 MB / 0.9555 GB, free: 121.7 MB / 0.7325 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1)