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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008412/0.0008412, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001237/0.001237, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.749/1.748, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0005092/0.0005093, allocations: 17.06 kB / 0.6737 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2507, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05209/0.3029, allocations: 52.39 MB / 0.8384 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01697/0.3199, allocations: 11.58 MB / 0.8497 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.3221, allocations: 47.69 kB / 0.8497 GB, free: 11.7 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002941/0.3251, allocations: 0.8396 MB / 0.8506 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006629/0.3317, allocations: 2.138 MB / 0.8526 GB, free: 8.715 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.3364, allocations: 1.622 MB / 0.8542 GB, free: 7.117 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004929/0.3414, allocations: 2.525 MB / 0.8567 GB, free: 4.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001756/0.3432, allocations: 1.074 MB / 0.8577 GB, free: 3.484 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00264/0.3458, allocations: 1.207 MB / 0.8589 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.3473, allocations: 0.8791 MB / 0.8598 GB, free: 1.391 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.3475, allocations: 68 kB / 0.8598 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.3498, allocations: 0.8543 MB / 0.8607 GB, free: 480 kB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003454/0.3502, allocations: 354.7 kB / 0.861 GB, free: 124 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004735/0.3507, allocations: 384.8 kB / 0.8614 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.3532, allocations: 2.159 MB / 0.8635 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3532, allocations: 0 / 0.8635 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3532, allocations: 0 / 0.8635 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.796e-05/0.3532, allocations: 7.938 kB / 0.8635 GB, free: 13.57 MB / 0.6856 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.003832/0.3571, allocations: 1.998 MB / 0.8654 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.3571, allocations: 12.02 kB / 0.8655 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002314/0.3574, allocations: 168.6 kB / 0.8656 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/0.3587, allocations: 349.4 kB / 0.866 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002386/0.3611, allocations: 1.399 MB / 0.8673 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.3613, allocations: 161.4 kB / 0.8675 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.3614, allocations: 115.9 kB / 0.8676 GB, free: 9.246 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002632/0.3641, allocations: 1.418 MB / 0.869 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.3641, allocations: 4 kB / 0.869 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.3642, allocations: 52 kB / 0.869 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.3643, allocations: 28 kB / 0.8691 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003004/0.3673, allocations: 1.335 MB / 0.8704 GB, free: 6.324 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.007853/0.3752, allocations: 6.397 MB / 0.8766 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.3772, allocations: 1.143 MB / 0.8777 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007644/0.378, allocations: 1.152 MB / 0.8788 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.3781, allocations: 43.22 kB / 0.8789 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=77): time 2.905e-06/0.3781, allocations: 0 / 0.8789 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=77): time 0.003866/0.3819, allocations: 1.57 MB / 0.8804 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.382, allocations: 119.4 kB / 0.8805 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.3837, allocations: 1.307 MB / 0.8818 GB, free: 9.762 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3838, allocations: 45.7 kB / 0.8819 GB, free: 9.711 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/0.3843, allocations: 0.7047 MB / 0.8825 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.3846, allocations: 264.1 kB / 0.8828 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.3847, allocations: 16 kB / 0.8828 GB, free: 8.719 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3848, allocations: 341.9 kB / 0.8831 GB, free: 8.379 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.386, allocations: 497.7 kB / 0.8836 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.3873, allocations: 0.7034 MB / 0.8843 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.3885, allocations: 0.5222 MB / 0.8848 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.3885, allocations: 0 / 0.8848 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002874/0.3914, allocations: 1.339 MB / 0.8861 GB, free: 5.23 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006343/0.392, allocations: 1.881 MB / 0.8879 GB, free: 3.168 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.392, allocations: 4 kB / 0.888 GB, free: 3.164 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3921, allocations: 11.94 kB / 0.888 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.3932, allocations: 299.6 kB / 0.8882 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/0.3933, allocations: 12 kB / 0.8883 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.3945, allocations: 222.8 kB / 0.8885 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.3946, allocations: 39.98 kB / 0.8885 GB, free: 2.59 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3947, allocations: 14.75 kB / 0.8885 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/0.3972, allocations: 1.171 MB / 0.8897 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.3972, allocations: 4 kB / 0.8897 GB, free: 1.406 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3973, allocations: 11.94 kB / 0.8897 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.3984, allocations: 296.1 kB / 0.89 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.3984, allocations: 15.94 kB / 0.89 GB, free: 1.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/0.3997, allocations: 203.1 kB / 0.8902 GB, free: 0.8906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/0.3997, allocations: 43.94 kB / 0.8902 GB, free: 0.8477 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 (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.0006934/0.4004, allocations: 460.8 kB / 0.8907 GB, free: 396 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.4007, allocations: 158.1 kB / 0.8908 GB, free: 236 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/0.4037, allocations: 1.466 MB / 0.8922 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.4037, allocations: 11.98 kB / 0.8923 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4037, allocations: 0 / 0.8923 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002316/0.406, allocations: 1.097 MB / 0.8933 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.4112, allocations: 2.903 MB / 0.8962 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4113, allocations: 8 kB / 0.8962 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009235/0.4122, allocations: 216.3 kB / 0.8964 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.258e-05/0.4122, allocations: 8 kB / 0.8964 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.4123, allocations: 23.98 kB / 0.8964 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.4123, allocations: 11.94 kB / 0.8964 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4123, allocations: 7.938 kB / 0.8964 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004126/0.4165, allocations: 2.298 MB / 0.8987 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006707/0.4171, allocations: 370.8 kB / 0.899 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.4174, allocations: 32.05 kB / 0.899 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.4185, allocations: 155.8 kB / 0.8992 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.4187, allocations: 84.34 kB / 0.8993 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.609e-05/0.4188, allocations: 39.97 kB / 0.8993 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001186/0.42, allocations: 0.9362 MB / 0.9002 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.42, allocations: 0 / 0.9002 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001835/0.4218, allocations: 0.7951 MB / 0.901 GB, free: 5.332 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 (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.00549/0.4273, allocations: 4.368 MB / 0.9053 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00402/0.4314, allocations: 1.783 MB / 0.907 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.706e-06/0.4314, allocations: 3.859 kB / 0.907 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.4328, allocations: 0.6367 MB / 0.9076 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/0.4361, allocations: 0.6737 MB / 0.9083 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007334/0.4435, allocations: 7.404 MB / 0.9155 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008921/0.4444, allocations: 1.308 MB / 0.9168 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00174/0.4462, allocations: 389.5 kB / 0.9172 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007556/0.4469, allocations: 0.6047 MB / 0.9178 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of SimCode: time 9.72e-07/0.4469, allocations: 0 / 0.9178 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.319/2.766, allocations: 40.43 MB / 0.9572 GB, free: 118.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/2.767, allocations: 216.9 kB / 0.9575 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.937/5.703, allocations: 0 / 0.9575 GB, free: 118.2 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: