Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.001143/0.001143, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001654/0.001654, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.052/2.052, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.368/1.368, allocations: 135.1 MB / 425.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002199/0.002199, allocations: 63.5 kB / 0.505 GB, free: 5.504 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1876, allocations: 80.93 MB / 0.584 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002439/0.1901, allocations: 1.333 MB / 0.5853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009989/0.1912, allocations: 0.6166 MB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.113e-05/0.1912, allocations: 4 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.1912, allocations: 0 / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.1913, allocations: 7.875 kB / 0.5859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005899/0.1919, allocations: 132.6 kB / 0.586 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.594e-05/0.1919, allocations: 27.92 kB / 0.5861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.192, allocations: 0 / 0.5861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.76e-05/0.192, allocations: 15.94 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.1921, allocations: 7.984 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1921, allocations: 4 kB / 0.5861 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005157/0.1926, allocations: 347.3 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.1926, allocations: 15.92 kB / 0.5864 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.835e-05/0.1927, allocations: 15.92 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.1929, allocations: 151.9 kB / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.193, allocations: 0 / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.193, allocations: 0 / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.193, allocations: 0 / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005081/0.1935, allocations: 367.3 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1936, allocations: 12.03 kB / 0.587 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.1936, allocations: 34.75 kB / 0.587 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/0.1937, allocations: 4.938 kB / 0.587 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.1938, allocations: 168.3 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1938, allocations: 4.375 kB / 0.5872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1938, allocations: 8.375 kB / 0.5872 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.194, allocations: 49.61 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.194, allocations: 0 / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.194, allocations: 8 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.194, allocations: 0 / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.866e-05/0.1941, allocations: 27.97 kB / 0.5873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.1943, allocations: 161.6 kB / 0.5874 GB, free: 1.078 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.1944, allocations: 66.48 kB / 0.5875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/0.1944, allocations: 28.83 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1945, allocations: 3.938 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1945, allocations: 38.56 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1945, allocations: 4 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001552/0.1961, allocations: 0.5839 MB / 0.5881 GB, free: 252 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.1962, allocations: 51.41 kB / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.1963, allocations: 101.8 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.1963, allocations: 29.8 kB / 0.5883 GB, free: 40 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.247e-05/0.1965, allocations: 84.08 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.1966, allocations: 39.39 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.1966, allocations: 25.72 kB / 0.5884 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1968, allocations: 318.8 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.962e-05/0.1969, allocations: 20 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.55e-05/0.197, allocations: 26.67 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1972, allocations: 64.86 kB / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1972, allocations: 0 / 0.5888 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002573/0.1975, allocations: 105.6 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.1975, allocations: 4 kB / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.1975, allocations: 0 / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1975, allocations: 0 / 0.5889 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1977, allocations: 27.92 kB / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1978, allocations: 0 / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.159e-05/0.1978, allocations: 0 / 0.589 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1978, allocations: 8 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001228/0.198, allocations: 117.8 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.198, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.1983, allocations: 105.6 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1983, allocations: 0 / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1983, allocations: 3.938 kB / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1983, allocations: 0 / 0.5892 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006098/0.199, allocations: 354.4 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.199, allocations: 0 / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.1992, allocations: 27.94 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1992, allocations: 3.984 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.1992, allocations: 4 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1992, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1993, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.1996, allocations: 215.4 kB / 0.5898 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1996, allocations: 81.02 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1997, allocations: 0 / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1998, allocations: 16.05 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.1999, allocations: 4 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1999, allocations: 3.938 kB / 0.5899 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.38e-05/0.2, allocations: 83.27 kB / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2, allocations: 0 / 0.59 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004957/0.2005, allocations: 32 kB / 0.59 GB, free: 14.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0007161/0.2012, allocations: 0.7898 MB / 0.5908 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.2014, allocations: 63.91 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2014, allocations: 3.938 kB / 0.5908 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.358e-05/0.2015, allocations: 35.66 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.2017, allocations: 15.92 kB / 0.5909 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2034, allocations: 1.51 MB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.2036, allocations: 0.6846 MB / 0.593 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.488e-05/0.2037, allocations: 11.98 kB / 0.593 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.2037, allocations: 15.44 kB / 0.593 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.2038, allocations: 3.938 kB / 0.593 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08892/0.2927, allocations: 1.942 MB / 0.5949 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/0.2931, allocations: 236.5 kB / 0.5952 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.083, allocations: 3.234 kB / 0.5952 GB, free: 8.898 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)