Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 92 kB / 15.06 MB, free: 1.098 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.001758/0.001758, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.3 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.031/1.031, allocations: 135.3 MB / 426.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 16 kB / 0.507 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1808, allocations: 82.31 MB / 0.5874 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00142/0.1823, allocations: 0.9711 MB / 0.5883 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1834, allocations: 0.5744 MB / 0.5889 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.1834, allocations: 0 / 0.5889 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.69e-05/0.1834, allocations: 4 kB / 0.5889 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.1835, allocations: 7.875 kB / 0.5889 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1841, allocations: 123.6 kB / 0.589 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.921e-05/0.1841, allocations: 11.94 kB / 0.589 GB, free: 1.328 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.1842, allocations: 3.984 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.1842, allocations: 11.98 kB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.539e-05/0.1843, allocations: 7.938 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1843, allocations: 4 kB / 0.5891 GB, free: 1.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.1848, allocations: 339.3 kB / 0.5894 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.1849, allocations: 4 kB / 0.5894 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.1849, allocations: 29.7 kB / 0.5894 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.1851, allocations: 96.09 kB / 0.5895 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1851, allocations: 0 / 0.5895 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1851, allocations: 0 / 0.5895 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1851, allocations: 0 / 0.5895 GB, free: 0.8359 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.0004425/0.1856, allocations: 361.8 kB / 0.5898 GB, free: 448 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1856, allocations: 15.95 kB / 0.5899 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1857, allocations: 0 / 0.5899 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.1858, allocations: 175 kB / 0.59 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1858, allocations: 0 / 0.59 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.1859, allocations: 4 kB / 0.59 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.186, allocations: 41.69 kB / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.186, allocations: 0 / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.186, allocations: 0 / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.186, allocations: 0 / 0.5901 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.893e-05/0.1861, allocations: 8 kB / 0.5901 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.1863, allocations: 157.6 kB / 0.5902 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.1865, allocations: 50.64 kB / 0.5903 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.1866, allocations: 20.84 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1866, allocations: 0 / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.1866, allocations: 34.56 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1866, allocations: 0 / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006806/0.1873, allocations: 310.2 kB / 0.5906 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1874, allocations: 51.41 kB / 0.5907 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.1874, allocations: 98.19 kB / 0.5908 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1875, allocations: 25.7 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.1875, allocations: 80.14 kB / 0.5909 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1875, allocations: 23.7 kB / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1875, allocations: 0 / 0.5909 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1877, allocations: 314.8 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.1877, allocations: 12 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.1877, allocations: 19.92 kB / 0.5912 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.435e-05/0.1878, allocations: 15.95 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1878, allocations: 3.938 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/0.1879, allocations: 69.77 kB / 0.5913 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1879, allocations: 8 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1879, allocations: 240 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1879, allocations: 0 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.188, allocations: 11.98 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.188, allocations: 3.984 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.105e-05/0.188, allocations: 8 kB / 0.5913 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1881, allocations: 64 / 0.5913 GB, free: 14.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.629e-05/0.1882, allocations: 129.7 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.1882, allocations: 4 kB / 0.5915 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001382/0.1883, allocations: 65.66 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1883, allocations: 0 / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.1883, allocations: 4 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1884, allocations: 0 / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.1887, allocations: 319.4 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1887, allocations: 0 / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.1888, allocations: 8 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.1888, allocations: 4 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.1888, allocations: 4 kB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1888, allocations: 0 / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1888, allocations: 0 / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.189, allocations: 188.2 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.1891, allocations: 81.11 kB / 0.5921 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.1891, allocations: 3.984 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1892, allocations: 4 kB / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.1892, allocations: 0 / 0.5921 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.1892, allocations: 4 kB / 0.5921 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.494e-05/0.1893, allocations: 83.28 kB / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1893, allocations: 0 / 0.5922 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002517/0.1895, allocations: 23.92 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001756/0.1897, allocations: 127.3 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001189/0.1898, allocations: 31.92 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1898, allocations: 4 kB / 0.5924 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.739e-05/0.1899, allocations: 15.94 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1901, allocations: 14.02 kB / 0.5924 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.1905, allocations: 221.8 kB / 0.5926 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1908, allocations: 0.6848 MB / 0.5933 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.626e-05/0.1908, allocations: 8 kB / 0.5933 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1909, allocations: 11.44 kB / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.1909, allocations: 0 / 0.5933 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of Templates: time 0.002935/0.1938, allocations: 0.5977 MB / 0.5939 GB, free: 11.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)