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.001211/0.001212, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.462/1.462, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.798/1.798, allocations: 292.3 MB / 0.5489 GB, free: 12.88 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.001465/0.001465, allocations: 66.64 kB / 0.6715 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2427, allocations: 114.5 MB / 0.7834 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07164/0.3144, allocations: 62.64 MB / 0.8445 GB, free: 14.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.3346, allocations: 13.58 MB / 0.8578 GB, free: 1.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002306/0.3369, allocations: 59.69 kB / 0.8578 GB, free: 1.012 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.34, allocations: 0.9355 MB / 0.8588 GB, free: 72 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007092/0.3472, allocations: 2.366 MB / 0.8611 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.3517, allocations: 1.631 MB / 0.8627 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005987/0.3577, allocations: 4.244 MB / 0.8668 GB, free: 7.82 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.3603, allocations: 1.418 MB / 0.8682 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.3651, allocations: 1.64 MB / 0.8698 GB, free: 4.723 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003251/0.3684, allocations: 1.288 MB / 0.871 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006719/0.3691, allocations: 176 kB / 0.8712 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.373, allocations: 1.427 MB / 0.8726 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.3741, allocations: 0.5023 MB / 0.8731 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/0.3764, allocations: 1.003 MB / 0.8741 GB, free: 324 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006637/0.3831, allocations: 3.128 MB / 0.8771 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.3831, allocations: 0 / 0.8771 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.295e-06/0.3831, allocations: 0 / 0.8771 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.0001005/0.3832, allocations: 4 kB / 0.8771 GB, free: 13.18 MB / 0.7013 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.006456/0.3897, allocations: 2.341 MB / 0.8794 GB, free: 10.78 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3897, allocations: 8.031 kB / 0.8794 GB, free: 10.77 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/0.3915, allocations: 314.4 kB / 0.8797 GB, free: 10.46 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.3946, allocations: 1.4 MB / 0.8811 GB, free: 9.012 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.3948, allocations: 161.5 kB / 0.8813 GB, free: 8.84 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002515/0.3951, allocations: 108 kB / 0.8814 GB, free: 8.734 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003241/0.3983, allocations: 1.438 MB / 0.8828 GB, free: 7.207 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3984, allocations: 3.938 kB / 0.8828 GB, free: 7.203 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.3985, allocations: 44 kB / 0.8828 GB, free: 7.16 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.3986, allocations: 40 kB / 0.8828 GB, free: 7.121 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003435/0.402, allocations: 1.335 MB / 0.8841 GB, free: 5.785 MB / 0.7013 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.01017/0.4122, allocations: 6.667 MB / 0.8907 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.4145, allocations: 1.168 MB / 0.8918 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.4159, allocations: 0.5601 MB / 0.8923 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008595/0.4168, allocations: 1.149 MB / 0.8935 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.4168, allocations: 43.22 kB / 0.8935 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 3.055e-06/0.4168, allocations: 0 / 0.8935 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.004339/0.4212, allocations: 1.593 MB / 0.8951 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.4213, allocations: 111.5 kB / 0.8952 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002252/0.4235, allocations: 1.404 MB / 0.8965 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.4237, allocations: 41.7 kB / 0.8966 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006262/0.4243, allocations: 0.7047 MB / 0.8973 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003267/0.4246, allocations: 260.2 kB / 0.8975 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.425, allocations: 178.5 kB / 0.8977 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.4252, allocations: 341.9 kB / 0.898 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.4265, allocations: 0.4927 MB / 0.8985 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001464/0.428, allocations: 0.7308 MB / 0.8992 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.4306, allocations: 1.121 MB / 0.9003 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.283e-06/0.4307, allocations: 4 kB / 0.9003 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003382/0.4341, allocations: 1.35 MB / 0.9016 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.4341, allocations: 8 kB / 0.9016 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4341, allocations: 8.5 kB / 0.9016 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.4341, allocations: 11.94 kB / 0.9016 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.4354, allocations: 275.6 kB / 0.9019 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.4354, allocations: 11.98 kB / 0.9019 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.4366, allocations: 162.9 kB / 0.9021 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4368, allocations: 39.98 kB / 0.9021 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001739/0.4385, allocations: 0.7914 MB / 0.9029 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/0.4399, allocations: 0.7229 MB / 0.9036 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0025/0.4425, allocations: 1.121 MB / 0.9047 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.4425, allocations: 0 / 0.9047 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003234/0.4457, allocations: 1.347 MB / 0.906 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.4457, allocations: 8 kB / 0.906 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4458, allocations: 4 kB / 0.906 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4458, allocations: 8 kB / 0.906 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.447, allocations: 275.8 kB / 0.9063 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/0.447, allocations: 8 kB / 0.9063 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4482, allocations: 147.1 kB / 0.9064 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.469e-05/0.4483, allocations: 43.92 kB / 0.9065 GB, free: 13.71 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.0002971/0.4486, allocations: 236 kB / 0.9067 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004209/0.449, allocations: 146.2 kB / 0.9068 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003329/0.4524, allocations: 1.466 MB / 0.9083 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.678e-05/0.4524, allocations: 11.98 kB / 0.9083 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4524, allocations: 7.938 kB / 0.9083 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002586/0.455, allocations: 1.105 MB / 0.9094 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006204/0.4612, allocations: 3.094 MB / 0.9124 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.4613, allocations: 12.03 kB / 0.9124 GB, free: 7.457 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009494/0.4622, allocations: 191.6 kB / 0.9126 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.018e-05/0.4623, allocations: 8 kB / 0.9126 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.145e-05/0.4623, allocations: 20 kB / 0.9126 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/0.4623, allocations: 11.98 kB / 0.9126 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.4624, allocations: 19.8 kB / 0.9126 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.4671, allocations: 2.064 MB / 0.9147 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009586/0.4681, allocations: 378.8 kB / 0.915 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004235/0.4685, allocations: 24 kB / 0.915 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001403/0.4699, allocations: 99.92 kB / 0.9151 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4701, allocations: 84.33 kB / 0.9152 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.4703, allocations: 47.91 kB / 0.9153 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001792/0.4721, allocations: 1.072 MB / 0.9163 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4721, allocations: 0 / 0.9163 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002591/0.4747, allocations: 0.7993 MB / 0.9171 GB, free: 2.559 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.001005/0.4757, allocations: 480.5 kB / 0.9176 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004767/0.4805, allocations: 1.872 MB / 0.9194 GB, free: 220 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.4805, allocations: 4.438 kB / 0.9194 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.3441/0.8246, allocations: 0.6326 MB / 0.92 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004259/0.8289, allocations: 0.8264 MB / 0.9208 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.8334, allocations: 2.789 MB / 0.9235 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.8342, allocations: 1.277 MB / 0.9248 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002191/0.8364, allocations: 404.2 kB / 0.9252 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.8369, allocations: 131.5 kB / 0.9253 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of SimCode: time 1.332e-06/0.8369, allocations: 0 / 0.9253 GB, free: 133.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05857/0.8954, allocations: 33.57 MB / 0.9581 GB, free: 121.1 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)