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.63/2.63, allocations: 287.3 MB / 302.3 MB, free: 8.285 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.001506/0.001506, allocations: 179.9 kB / 370.8 MB, free: 10.85 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.29/2.29, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001198/0.001197, allocations: 101.3 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007641/0.0007644, allocations: 16.55 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2643, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00274/0.2671, allocations: 1.938 MB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002547/0.2697, allocations: 1.502 MB / 0.9816 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001869/0.2699, allocations: 4 kB / 0.9816 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009806/0.2709, allocations: 255 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.2711, allocations: 83.66 kB / 0.982 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.2716, allocations: 87.83 kB / 0.982 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.2719, allocations: 207.6 kB / 0.9822 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.272, allocations: 44.7 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000216/0.2723, allocations: 123.5 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.2726, allocations: 167.5 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.2727, allocations: 24 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.2728, allocations: 51.97 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.273, allocations: 103.7 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.2731, allocations: 85.45 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.2735, allocations: 383.3 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2735, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2735, allocations: 0 / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.2735, allocations: 0 / 0.9832 GB, free: 23.22 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.001547/0.2751, allocations: 0.6615 MB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.2752, allocations: 16.03 kB / 0.9838 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.794e-05/0.2752, allocations: 54.48 kB / 0.9839 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.2767, allocations: 171.3 kB / 0.9841 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005971/0.2773, allocations: 341.2 kB / 0.9844 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.2774, allocations: 83.62 kB / 0.9845 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.977e-05/0.2775, allocations: 12 kB / 0.9845 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.2787, allocations: 315.3 kB / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2787, allocations: 0 / 0.9848 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.2788, allocations: 4 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2788, allocations: 7.953 kB / 0.9848 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.2807, allocations: 468.3 kB / 0.9852 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.2833, allocations: 0.8747 MB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.2844, allocations: 292.4 kB / 0.9864 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.477e-05/0.2845, allocations: 8.312 kB / 0.9864 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.2845, allocations: 30.56 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.066e-06/0.2846, allocations: 7.938 kB / 0.9864 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.003121/0.2877, allocations: 0.7077 MB / 0.9871 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.2878, allocations: 59.34 kB / 0.9872 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.2884, allocations: 421.6 kB / 0.9876 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.221e-05/0.2885, allocations: 29.7 kB / 0.9876 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2887, allocations: 176 kB / 0.9878 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.928e-05/0.2888, allocations: 63.09 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.2888, allocations: 4 kB / 0.9878 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.2889, allocations: 350.8 kB / 0.9882 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.2899, allocations: 215.9 kB / 0.9884 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.2909, allocations: 249.5 kB / 0.9886 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009145/0.2919, allocations: 203.9 kB / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2919, allocations: 0 / 0.9888 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002104/0.294, allocations: 0.4989 MB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2941, allocations: 4 kB / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.2941, allocations: 4 kB / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.2941, allocations: 0 / 0.9893 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.2949, allocations: 71.92 kB / 0.9894 GB, free: 16.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.295, allocations: 3.984 kB / 0.9894 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.2956, allocations: 51.84 kB / 0.9894 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.725e-05/0.2957, allocations: 11.97 kB / 0.9894 GB, free: 16.58 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.0002719/0.296, allocations: 181.6 kB / 0.9896 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2961, allocations: 39.53 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.2962, allocations: 39.59 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2962, allocations: 4 kB / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.2962, allocations: 0 / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2962, allocations: 0 / 0.9897 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.2969, allocations: 482.6 kB / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2969, allocations: 0 / 0.9901 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008557/0.2978, allocations: 75.92 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.2978, allocations: 0 / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/0.2979, allocations: 4 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2979, allocations: 0 / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2979, allocations: 4 kB / 0.9902 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.3, allocations: 0.6041 MB / 0.9908 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.3002, allocations: 112.7 kB / 0.9909 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.168e-05/0.3003, allocations: 4 kB / 0.9909 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006382/0.3009, allocations: 43.94 kB / 0.991 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.3011, allocations: 27.95 kB / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.3012, allocations: 8 kB / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000454/0.3016, allocations: 307.1 kB / 0.9913 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/0.3017, allocations: 0 / 0.9913 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004867/0.3022, allocations: 63.91 kB / 0.9914 GB, free: 14.51 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.002331/0.3045, allocations: 1.144 MB / 0.9925 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002036/0.3066, allocations: 479.5 kB / 0.9929 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.3066, allocations: 0 / 0.9929 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.3076, allocations: 253.2 kB / 0.9932 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.3082, allocations: 45.47 kB / 0.9932 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008431/0.3167, allocations: 2.595 MB / 0.9957 GB, free: 9.941 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.317, allocations: 0.8064 MB / 0.9965 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005763/0.3176, allocations: 70.19 kB / 0.9966 GB, free: 9.039 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003624/0.318, allocations: 99.39 kB / 0.9967 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of SimCode: time 1.624e-06/0.318, allocations: 0 / 0.9967 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.3512, allocations: 7.182 MB / 1.004 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002855/0.3515, allocations: 198.9 kB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.07, allocations: 0 / 1.004 GB, free: 1.746 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)