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.001427/0.001427, allocations: 99.62 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.001159/0.001159, allocations: 177.3 kB / 15.95 MB, free: 216 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.953/1.953, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.763/1.763, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0005464/0.0005465, allocations: 13.41 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2809, allocations: 116.3 MB / 0.7872 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002671/0.2836, allocations: 1.934 MB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.2856, allocations: 1.284 MB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2858, allocations: 0 / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.2863, allocations: 191.2 kB / 0.7906 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2864, allocations: 67.8 kB / 0.7906 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.2867, allocations: 99.75 kB / 0.7907 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.287, allocations: 207.6 kB / 0.7909 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2871, allocations: 40.7 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001902/0.2873, allocations: 123.5 kB / 0.7911 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002538/0.2875, allocations: 175.5 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.2876, allocations: 20 kB / 0.7913 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.2877, allocations: 47.97 kB / 0.7913 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.2878, allocations: 103.7 kB / 0.7914 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.409e-05/0.2879, allocations: 81.52 kB / 0.7915 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004165/0.2883, allocations: 375.3 kB / 0.7918 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2884, allocations: 0 / 0.7918 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2884, allocations: 3.938 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.976e-06/0.2884, allocations: 4 kB / 0.7919 GB, free: 7.141 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.001173/0.2896, allocations: 0.6615 MB / 0.7925 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2896, allocations: 8.031 kB / 0.7925 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.2897, allocations: 50.55 kB / 0.7926 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008603/0.2905, allocations: 179.3 kB / 0.7927 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004647/0.291, allocations: 333.2 kB / 0.793 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.2912, allocations: 87.62 kB / 0.7931 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.2912, allocations: 12 kB / 0.7931 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007349/0.2919, allocations: 323.3 kB / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.292, allocations: 0 / 0.7935 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.292, allocations: 8 kB / 0.7935 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.292, allocations: 4 kB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.2932, allocations: 464.3 kB / 0.7939 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.295, allocations: 0.8786 MB / 0.7948 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.2957, allocations: 294.3 kB / 0.795 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.2957, allocations: 8.25 kB / 0.7951 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.2957, allocations: 34.56 kB / 0.7951 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.2958, allocations: 0 / 0.7951 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.001825/0.2976, allocations: 0.7183 MB / 0.7958 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.2976, allocations: 51.41 kB / 0.7958 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.2982, allocations: 417.7 kB / 0.7962 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.2982, allocations: 29.7 kB / 0.7963 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.2984, allocations: 180 kB / 0.7964 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.2985, allocations: 59.11 kB / 0.7965 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.2985, allocations: 3.938 kB / 0.7965 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001909/0.2987, allocations: 358.8 kB / 0.7968 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.2993, allocations: 219.8 kB / 0.797 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.2999, allocations: 247.3 kB / 0.7973 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.3004, allocations: 199.9 kB / 0.7975 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3004, allocations: 0 / 0.7975 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001219/0.3016, allocations: 0.4962 MB / 0.798 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3017, allocations: 4 kB / 0.798 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3017, allocations: 0 / 0.798 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.3017, allocations: 0 / 0.798 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004665/0.3022, allocations: 83.86 kB / 0.798 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3022, allocations: 0 / 0.798 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.3025, allocations: 47.84 kB / 0.7981 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.3026, allocations: 15.98 kB / 0.7981 GB, free: 0.4961 MB / 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.0002155/0.3028, allocations: 169.7 kB / 0.7983 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.858e-05/0.3029, allocations: 35.53 kB / 0.7983 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.694e-05/0.303, allocations: 43.58 kB / 0.7983 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.303, allocations: 4 kB / 0.7983 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.303, allocations: 0 / 0.7983 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.303, allocations: 0 / 0.7983 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005754/0.3036, allocations: 478.8 kB / 0.7988 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.3036, allocations: 7.984 kB / 0.7988 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.304, allocations: 67.94 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.304, allocations: 0 / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.3041, allocations: 7.984 kB / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.3041, allocations: 0 / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3041, allocations: 0 / 0.7989 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001361/0.3055, allocations: 0.6041 MB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.3056, allocations: 116.7 kB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/0.3057, allocations: 4 kB / 0.7996 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003485/0.306, allocations: 39.95 kB / 0.7996 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3061, allocations: 31.95 kB / 0.7997 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.3062, allocations: 7.984 kB / 0.7997 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003469/0.3065, allocations: 303.1 kB / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3065, allocations: 0 / 0.7999 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000334/0.3069, allocations: 67.91 kB / 0.8 GB, free: 14.44 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.001728/0.3086, allocations: 1.144 MB / 0.8011 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.3098, allocations: 479.5 kB / 0.8016 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3099, allocations: 4 kB / 0.8016 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.3105, allocations: 247.8 kB / 0.8018 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3108, allocations: 41.55 kB / 0.8019 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004758/0.3156, allocations: 2.595 MB / 0.8044 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006838/0.3163, allocations: 0.8103 MB / 0.8052 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002967/0.3166, allocations: 62.25 kB / 0.8053 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.3168, allocations: 103.4 kB / 0.8054 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of SimCode: time 1.743e-06/0.3168, allocations: 0 / 0.8054 GB, free: 8.875 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.529/2.846, allocations: 7.163 MB / 0.8123 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/2.846, allocations: 210.5 kB / 0.8125 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/5.581, allocations: 1 kB / 0.8125 GB, free: 1.695 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: