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.000934/0.0009375, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00541/0.00541, allocations: 170 kB / 16.26 MB, free: 6.613 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.281/1.281, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.557/1.557, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005824/0.0005825, allocations: 14.94 kB / 0.6744 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1837, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05028/0.234, allocations: 61.11 MB / 0.8477 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01528/0.2493, allocations: 13.47 MB / 0.8608 GB, free: 0.668 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.2506, allocations: 59.56 kB / 0.8609 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2525, allocations: 0.8004 MB / 0.8617 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004686/0.2572, allocations: 2.192 MB / 0.8638 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.2603, allocations: 1.466 MB / 0.8652 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004822/0.2652, allocations: 5.452 MB / 0.8706 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.2668, allocations: 1.157 MB / 0.8717 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.2692, allocations: 1.381 MB / 0.873 GB, free: 4.105 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.271, allocations: 1.233 MB / 0.8742 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001724/0.2712, allocations: 72 kB / 0.8743 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.2734, allocations: 1.29 MB / 0.8756 GB, free: 1.504 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003346/0.2738, allocations: 414.3 kB / 0.876 GB, free: 1.098 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.2746, allocations: 0.9072 MB / 0.8768 GB, free: 184 kB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002564/0.2771, allocations: 3.01 MB / 0.8798 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2771, allocations: 0 / 0.8798 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.756e-06/0.2772, allocations: 4 kB / 0.8798 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.2772, allocations: 0 / 0.8798 GB, free: 13.16 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.003272/0.2804, allocations: 2.026 MB / 0.8818 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2805, allocations: 8.031 kB / 0.8818 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.2807, allocations: 164.8 kB / 0.8819 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.2819, allocations: 354.3 kB / 0.8823 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.2838, allocations: 1.435 MB / 0.8837 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.2839, allocations: 153.5 kB / 0.8838 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2841, allocations: 108 kB / 0.8839 GB, free: 8.793 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.2866, allocations: 1.488 MB / 0.8854 GB, free: 7.215 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.2866, allocations: 4 kB / 0.8854 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.2868, allocations: 47.97 kB / 0.8854 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.2868, allocations: 32 kB / 0.8855 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.2898, allocations: 1.44 MB / 0.8869 GB, free: 5.691 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.006498/0.2963, allocations: 6.651 MB / 0.8934 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.2983, allocations: 1.225 MB / 0.8945 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.2996, allocations: 0.6079 MB / 0.8951 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.3003, allocations: 1.149 MB / 0.8963 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.3003, allocations: 47.22 kB / 0.8963 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=77): time 1.804e-06/0.3004, allocations: 0 / 0.8963 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=77): time 0.003894/0.3043, allocations: 1.738 MB / 0.898 GB, free: 9.477 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.3043, allocations: 115.5 kB / 0.8981 GB, free: 9.34 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001478/0.3058, allocations: 1.388 MB / 0.8995 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.832e-05/0.3059, allocations: 49.64 kB / 0.8995 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004924/0.3064, allocations: 0.7047 MB / 0.9002 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.3066, allocations: 264.1 kB / 0.9005 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.3067, allocations: 77.67 kB / 0.9005 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3068, allocations: 338 kB / 0.9009 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/0.3081, allocations: 0.5368 MB / 0.9014 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/0.3094, allocations: 0.7776 MB / 0.9021 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002467/0.3119, allocations: 1.226 MB / 0.9033 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3119, allocations: 0 / 0.9033 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002938/0.3149, allocations: 1.448 MB / 0.9048 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.315, allocations: 239.5 kB / 0.905 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.315, allocations: 7.938 kB / 0.905 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.315, allocations: 12 kB / 0.905 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.3162, allocations: 295.6 kB / 0.9053 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/0.3162, allocations: 11.94 kB / 0.9053 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.3174, allocations: 230.8 kB / 0.9055 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.3175, allocations: 35.98 kB / 0.9055 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-06/0.3175, allocations: 4 kB / 0.9056 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002889/0.3204, allocations: 1.284 MB / 0.9068 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3204, allocations: 4 kB / 0.9068 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.3204, allocations: 12 kB / 0.9068 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.3216, allocations: 300.1 kB / 0.9071 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3216, allocations: 8 kB / 0.9071 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3228, allocations: 207.1 kB / 0.9073 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.3229, allocations: 43.98 kB / 0.9074 GB, free: 15.61 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.0006006/0.3235, allocations: 464.7 kB / 0.9078 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.3237, allocations: 146.2 kB / 0.9079 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.3269, allocations: 1.583 MB / 0.9095 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.327, allocations: 11.98 kB / 0.9095 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.327, allocations: 0 / 0.9095 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002571/0.3296, allocations: 1.21 MB / 0.9107 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005281/0.3348, allocations: 3.18 MB / 0.9138 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3349, allocations: 4.562 kB / 0.9138 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009445/0.3358, allocations: 219.7 kB / 0.914 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/0.3358, allocations: 4 kB / 0.914 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.3359, allocations: 23.98 kB / 0.914 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/0.3359, allocations: 15.92 kB / 0.914 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3359, allocations: 4 kB / 0.914 GB, free: 8.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004289/0.3402, allocations: 2.224 MB / 0.9162 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005352/0.3408, allocations: 406.7 kB / 0.9166 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.341, allocations: 23.98 kB / 0.9166 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.3422, allocations: 167.7 kB / 0.9168 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.3424, allocations: 84.34 kB / 0.9169 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.124e-05/0.3425, allocations: 43.97 kB / 0.9169 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001362/0.3438, allocations: 1.064 MB / 0.9179 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3439, allocations: 0 / 0.9179 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001738/0.3456, allocations: 0.7954 MB / 0.9187 GB, free: 3.672 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.005302/0.3509, allocations: 3.103 MB / 0.9217 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.319/0.6699, allocations: 1.956 MB / 0.9237 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.6699, allocations: 1.562 kB / 0.9237 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.6717, allocations: 0.6958 MB / 0.9243 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/0.6763, allocations: 0.8215 MB / 0.9251 GB, free: 133.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.6979, allocations: 14.39 MB / 0.9392 GB, free: 126.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/0.6988, allocations: 1.279 MB / 0.9404 GB, free: 125.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001857/0.7006, allocations: 414.7 kB / 0.9408 GB, free: 125.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000815/0.7014, allocations: 0.6136 MB / 0.9414 GB, free: 125 MB / 0.7325 GB Notification: Performance of SimCode: time 1.343e-06/0.7015, allocations: 0.5 kB / 0.9414 GB, free: 125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.443/1.144, allocations: 46.9 MB / 0.9872 GB, free: 93.33 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/1.145, allocations: 239.2 kB / 0.9875 GB, free: 93.08 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/4.253, allocations: 7.938 kB / 0.9875 GB, free: 93.07 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/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)