Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.012/1.012, allocations: 135.6 MB / 425.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00292/0.00292, allocations: 66.3 kB / 0.5059 GB, free: 4.828 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1913, allocations: 81.02 MB / 0.585 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002491/0.1939, allocations: 1.257 MB / 0.5862 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1949, allocations: 0.6166 MB / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.195, allocations: 0 / 0.5868 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.195, allocations: 3.938 kB / 0.5868 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.616e-05/0.195, allocations: 3.984 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.1956, allocations: 150.8 kB / 0.587 GB, free: 1.883 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.1956, allocations: 23.88 kB / 0.587 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.744e-05/0.1957, allocations: 0 / 0.587 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.1957, allocations: 15.97 kB / 0.587 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.1958, allocations: 7.938 kB / 0.587 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.1958, allocations: 0 / 0.587 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.1963, allocations: 347.3 kB / 0.5873 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.1963, allocations: 0 / 0.5873 GB, free: 1.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.1964, allocations: 19.92 kB / 0.5874 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.1966, allocations: 144 kB / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1967, allocations: 0 / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1967, allocations: 0 / 0.5875 GB, free: 1.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1967, allocations: 0 / 0.5875 GB, free: 1.336 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004253/0.1971, allocations: 371.3 kB / 0.5878 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.1972, allocations: 8.031 kB / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1972, allocations: 4.938 kB / 0.5879 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.1973, allocations: 160.4 kB / 0.588 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1973, allocations: 384 / 0.588 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1974, allocations: 8.375 kB / 0.588 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.1975, allocations: 45.75 kB / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.1975, allocations: 0 / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.1975, allocations: 0 / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1975, allocations: 4 kB / 0.5881 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.1976, allocations: 19.97 kB / 0.5881 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.1978, allocations: 161.6 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.1979, allocations: 54.5 kB / 0.5883 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.198, allocations: 16.86 kB / 0.5883 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.198, allocations: 0 / 0.5883 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.198, allocations: 34.5 kB / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 2.555e-06/0.1981, allocations: 0 / 0.5883 GB, free: 312 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006305/0.1987, allocations: 310.2 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1987, allocations: 63.41 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.1988, allocations: 97.8 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.1988, allocations: 25.7 kB / 0.5888 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.1989, allocations: 84.14 kB / 0.5889 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1989, allocations: 19.7 kB / 0.5889 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.199, allocations: 17.72 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1991, allocations: 314.8 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.1991, allocations: 11.98 kB / 0.5892 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.098e-05/0.1992, allocations: 12 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.1992, allocations: 32.86 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1992, allocations: 0 / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001011/0.1993, allocations: 69.61 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1994, allocations: 4 kB / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1994, allocations: 0 / 0.5894 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1994, allocations: 7.938 kB / 0.5894 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.1995, allocations: 11.98 kB / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1995, allocations: 0 / 0.5894 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.009e-05/0.1995, allocations: 4 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1995, allocations: 8 kB / 0.5894 GB, free: 15.12 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 (7): * Single equations (assignments): 7 * 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 7.773e-05/0.1996, allocations: 105.8 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1996, allocations: 7.938 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.1997, allocations: 77.58 kB / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1998, allocations: 0 / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1998, allocations: 0 / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.1998, allocations: 0 / 0.5896 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.2001, allocations: 323.5 kB / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2001, allocations: 0 / 0.5899 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.457e-05/0.2002, allocations: 15.92 kB / 0.5899 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.2002, allocations: 7.938 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2002, allocations: 0 / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2002, allocations: 240 / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2002, allocations: 0 / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.2004, allocations: 180.4 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.2005, allocations: 85.67 kB / 0.5902 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2005, allocations: 8 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.2006, allocations: 3.938 kB / 0.5902 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.2006, allocations: 7.922 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.2006, allocations: 4 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.452e-05/0.2007, allocations: 83.27 kB / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2007, allocations: 0 / 0.5903 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002436/0.2009, allocations: 27.88 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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 (6): * Single equations (assignments): 6 * 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.0001667/0.2011, allocations: 123.2 kB / 0.5904 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.2012, allocations: 39.91 kB / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2012, allocations: 0 / 0.5904 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.478e-05/0.2013, allocations: 19.98 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002065/0.2015, allocations: 2.062 kB / 0.5905 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.2019, allocations: 204.3 kB / 0.5907 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.2022, allocations: 0.6807 MB / 0.5913 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.969e-05/0.2022, allocations: 8 kB / 0.5913 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.875e-05/0.2022, allocations: 11.44 kB / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2023, allocations: 0 / 0.5913 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.002963/0.2052, allocations: 0.6476 MB / 0.592 GB, free: 12.34 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)