Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_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.001204/0.001204, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001676/0.001676, allocations: 172.7 kB / 15.95 MB, free: 208 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.38/1.38, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.731/1.731, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005289/0.000529, allocations: 17.03 kB / 0.6738 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2634, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002679/0.2661, allocations: 2.004 MB / 0.7894 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002023/0.2681, allocations: 1.334 MB / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.2684, allocations: 0 / 0.7907 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005149/0.2689, allocations: 175.1 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.2691, allocations: 67.47 kB / 0.7909 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.2694, allocations: 91.83 kB / 0.791 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000356/0.2697, allocations: 286.8 kB / 0.7913 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.2699, allocations: 40.7 kB / 0.7913 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.2701, allocations: 119.5 kB / 0.7914 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.2704, allocations: 179.4 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.2705, allocations: 20 kB / 0.7916 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.2706, allocations: 51.97 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001341/0.2708, allocations: 107.7 kB / 0.7917 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.528e-05/0.2709, allocations: 81.52 kB / 0.7918 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.2712, allocations: 367.3 kB / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2712, allocations: 0 / 0.7922 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2712, allocations: 4 kB / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.2712, allocations: 0 / 0.7922 GB, free: 6.922 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001214/0.2725, allocations: 0.6693 MB / 0.7928 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2725, allocations: 8.031 kB / 0.7928 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.012e-05/0.2726, allocations: 50.5 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008111/0.2734, allocations: 179.3 kB / 0.7931 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.2739, allocations: 341.3 kB / 0.7934 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.274, allocations: 79.62 kB / 0.7935 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.128e-05/0.2741, allocations: 12 kB / 0.7935 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007284/0.2748, allocations: 319.2 kB / 0.7938 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.2749, allocations: 3.984 kB / 0.7938 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2749, allocations: 8 kB / 0.7938 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2749, allocations: 3.938 kB / 0.7938 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.276, allocations: 460.3 kB / 0.7942 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.2776, allocations: 0.8785 MB / 0.7951 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.2782, allocations: 298.4 kB / 0.7954 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005238/0.2787, allocations: 237 kB / 0.7956 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.2788, allocations: 11.91 kB / 0.7956 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.2788, allocations: 34.56 kB / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.2788, allocations: 0 / 0.7956 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001679/0.2805, allocations: 0.7103 MB / 0.7963 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.2806, allocations: 51.41 kB / 0.7964 GB, free: 2.406 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/0.281, allocations: 425.6 kB / 0.7968 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.2811, allocations: 25.7 kB / 0.7968 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.2812, allocations: 176 kB / 0.797 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.807e-05/0.2813, allocations: 63.09 kB / 0.797 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.322e-05/0.2813, allocations: 11.94 kB / 0.7971 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2815, allocations: 354.8 kB / 0.7974 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.282, allocations: 211.9 kB / 0.7976 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.2825, allocations: 247.3 kB / 0.7978 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004904/0.283, allocations: 211.8 kB / 0.798 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.283, allocations: 0 / 0.798 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001115/0.2842, allocations: 0.5 MB / 0.7985 GB, free: 176 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2842, allocations: 4 kB / 0.7985 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2842, allocations: 0 / 0.7985 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.2842, allocations: 4 kB / 0.7985 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.2847, allocations: 75.86 kB / 0.7986 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2847, allocations: 0 / 0.7986 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.285, allocations: 51.89 kB / 0.7987 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.285, allocations: 7.984 kB / 0.7987 GB, free: 32 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002341/0.2853, allocations: 169.8 kB / 0.7988 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.174e-05/0.2853, allocations: 35.53 kB / 0.7989 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.113e-05/0.2854, allocations: 39.59 kB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.2854, allocations: 4 kB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2854, allocations: 0 / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2855, allocations: 4 kB / 0.7989 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.286, allocations: 482.8 kB / 0.7994 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.286, allocations: 0 / 0.7994 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/0.2864, allocations: 71.86 kB / 0.7994 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.2865, allocations: 4 kB / 0.7994 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.2865, allocations: 8 kB / 0.7994 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.2865, allocations: 4 kB / 0.7994 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2865, allocations: 3.938 kB / 0.7995 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2877, allocations: 0.5963 MB / 0.8 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.2878, allocations: 120.6 kB / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.2879, allocations: 0 / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.2882, allocations: 51.94 kB / 0.8002 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.301e-05/0.2883, allocations: 23.95 kB / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2884, allocations: 8 kB / 0.8002 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003339/0.2887, allocations: 311.1 kB / 0.8005 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2887, allocations: 0 / 0.8005 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003254/0.289, allocations: 63.91 kB / 0.8006 GB, free: 13.96 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.001528/0.2906, allocations: 1.137 MB / 0.8017 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001139/0.2917, allocations: 483.5 kB / 0.8022 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2917, allocations: 0 / 0.8022 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.2923, allocations: 251.8 kB / 0.8024 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.2927, allocations: 41.53 kB / 0.8024 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.2975, allocations: 2.642 MB / 0.805 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.2979, allocations: 0.7947 MB / 0.8058 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002915/0.2982, allocations: 62.3 kB / 0.8059 GB, free: 8.473 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.2984, allocations: 105.9 kB / 0.806 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.2984, allocations: 3.938 kB / 0.806 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02306/0.3215, allocations: 7.189 MB / 0.813 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002358/0.3218, allocations: 221.3 kB / 0.8132 GB, free: 1.168 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.236, allocations: 0 / 0.8132 GB, free: 1.168 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) Environment - environmentSimulation: