Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.753/2.753, allocations: 287.5 MB / 302.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 181.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.315/2.315, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.00112, allocations: 90.42 kB / 0.743 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007354/0.0007361, allocations: 15.84 kB / 0.8659 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2549/0.2557, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003009/0.2588, allocations: 2 MB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.2619, allocations: 1.588 MB / 0.982 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.2622, allocations: 4 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.2634, allocations: 254.8 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.2638, allocations: 59.48 kB / 0.9823 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.2644, allocations: 91.83 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005225/0.265, allocations: 290.8 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.2652, allocations: 32.73 kB / 0.9827 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.2655, allocations: 115.5 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.2659, allocations: 179.4 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.266, allocations: 20 kB / 0.983 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.2662, allocations: 51.97 kB / 0.983 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.2664, allocations: 107.7 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2665, allocations: 85.52 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004594/0.267, allocations: 379.3 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/0.267, allocations: 0 / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.224e-06/0.267, allocations: 0 / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.267, allocations: 0 / 0.9836 GB, free: 23.02 MB / 0.6198 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.001752/0.2688, allocations: 0.6732 MB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.2689, allocations: 8.031 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.269, allocations: 42.56 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.2717, allocations: 183.2 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007594/0.2726, allocations: 345.2 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.2728, allocations: 87.62 kB / 0.9848 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.501e-05/0.2728, allocations: 8 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.2741, allocations: 315.3 kB / 0.9852 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2742, allocations: 3.984 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.625e-05/0.2742, allocations: 7.938 kB / 0.9852 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.2743, allocations: 7.953 kB / 0.9852 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002001/0.2763, allocations: 456.4 kB / 0.9856 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.2791, allocations: 0.8786 MB / 0.9865 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001219/0.2804, allocations: 290.4 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001013/0.2815, allocations: 241 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.686e-05/0.2816, allocations: 11.84 kB / 0.987 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2816, allocations: 34.56 kB / 0.987 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.647e-06/0.2816, allocations: 7.938 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.003254/0.2849, allocations: 0.7066 MB / 0.9877 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.285, allocations: 55.41 kB / 0.9878 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006452/0.2857, allocations: 421.6 kB / 0.9882 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.2858, allocations: 29.7 kB / 0.9882 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.286, allocations: 176 kB / 0.9884 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-05/0.2861, allocations: 67.08 kB / 0.9884 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.105e-05/0.2861, allocations: 8 kB / 0.9884 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.2863, allocations: 350.8 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.2873, allocations: 211.9 kB / 0.989 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.2883, allocations: 251.3 kB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.2894, allocations: 202.2 kB / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.2895, allocations: 0 / 0.9894 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002307/0.2918, allocations: 0.5008 MB / 0.9899 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.2919, allocations: 8 kB / 0.9899 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.2919, allocations: 0 / 0.9899 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/0.292, allocations: 0 / 0.9899 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009127/0.2929, allocations: 71.92 kB / 0.99 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.293, allocations: 7.984 kB / 0.99 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007126/0.2937, allocations: 51.89 kB / 0.99 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/0.2938, allocations: 7.984 kB / 0.99 GB, free: 16.12 MB / 0.6198 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.0003134/0.2941, allocations: 169.7 kB / 0.9902 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.2942, allocations: 39.53 kB / 0.9902 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.2944, allocations: 39.59 kB / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.2944, allocations: 0 / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.2944, allocations: 0 / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2944, allocations: 4 kB / 0.9903 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007737/0.2952, allocations: 482.6 kB / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.2953, allocations: 0 / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008948/0.2962, allocations: 67.92 kB / 0.9908 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.2962, allocations: 3.938 kB / 0.9908 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.2963, allocations: 4 kB / 0.9908 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.2963, allocations: 8 kB / 0.9908 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2963, allocations: 0 / 0.9908 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.2985, allocations: 0.598 MB / 0.9914 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.2988, allocations: 116.7 kB / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.2989, allocations: 0 / 0.9915 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.2995, allocations: 47.94 kB / 0.9916 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.2997, allocations: 27.95 kB / 0.9916 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.443e-05/0.2998, allocations: 8 kB / 0.9916 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004826/0.3003, allocations: 311.1 kB / 0.9919 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.41e-07/0.3003, allocations: 0 / 0.9919 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004974/0.3008, allocations: 67.91 kB / 0.992 GB, free: 14.06 MB / 0.6198 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.002592/0.3034, allocations: 1.135 MB / 0.9931 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002154/0.3056, allocations: 483.5 kB / 0.9935 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3057, allocations: 0 / 0.9935 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.3068, allocations: 250 kB / 0.9938 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007274/0.3076, allocations: 49.53 kB / 0.9938 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008164/0.3157, allocations: 2.638 MB / 0.9964 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.3162, allocations: 0.7908 MB / 0.9972 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005923/0.3168, allocations: 66.23 kB / 0.9972 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.3171, allocations: 107.4 kB / 0.9973 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of SimCode: time 1.513e-06/0.3172, allocations: 0 / 0.9973 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03739/0.3546, allocations: 7.204 MB / 1.004 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000291/0.3549, allocations: 215.3 kB / 1.005 GB, free: 1.242 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.815/3.17, allocations: 0 / 1.005 GB, free: 1.242 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)