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.0007848/0.0007848, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005903/0.005903, allocations: 170.3 kB / 16.27 MB, free: 6.652 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.39/1.39, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9825/0.9825, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003387, allocations: 12 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1784, allocations: 82.31 MB / 0.588 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00171/0.1802, allocations: 0.9827 MB / 0.5889 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1813, allocations: 0.6246 MB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.048e-05/0.1814, allocations: 3.938 kB / 0.5896 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.1814, allocations: 3.984 kB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.1815, allocations: 3.938 kB / 0.5896 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006153/0.1821, allocations: 115.6 kB / 0.5897 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.7e-05/0.1821, allocations: 23.92 kB / 0.5897 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1822, allocations: 7.984 kB / 0.5897 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1822, allocations: 4 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.1823, allocations: 11.92 kB / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.1823, allocations: 0 / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005352/0.1829, allocations: 343.3 kB / 0.59 GB, free: 476 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1829, allocations: 8 kB / 0.5901 GB, free: 468 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.1829, allocations: 33.64 kB / 0.5901 GB, free: 428 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1832, allocations: 147.9 kB / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1832, allocations: 0 / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1832, allocations: 0 / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1832, allocations: 0 / 0.5902 GB, free: 280 kB / 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.0004963/0.1838, allocations: 359.4 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1838, allocations: 12.03 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.501e-05/0.1838, allocations: 0.9375 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.184, allocations: 168.4 kB / 0.5907 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.184, allocations: 8.312 kB / 0.5907 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.1841, allocations: 384 / 0.5907 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1842, allocations: 45.81 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1842, allocations: 0 / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.1842, allocations: 7.938 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1842, allocations: 0 / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.889e-05/0.1843, allocations: 12 kB / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.1845, allocations: 153.7 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1847, allocations: 42.61 kB / 0.591 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.1848, allocations: 20.94 kB / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.1848, allocations: 0 / 0.591 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.079e-05/0.1849, allocations: 42.44 kB / 0.5911 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1849, allocations: 4 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0008014/0.1857, allocations: 310.5 kB / 0.5914 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1858, allocations: 59.34 kB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.788e-05/0.1858, allocations: 97.84 kB / 0.5915 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1859, allocations: 25.7 kB / 0.5915 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.1859, allocations: 88.14 kB / 0.5916 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.652e-05/0.1859, allocations: 11.81 kB / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.186, allocations: 17.7 kB / 0.5916 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1861, allocations: 314.8 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.1862, allocations: 8 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.1862, allocations: 15.98 kB / 0.592 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.972e-05/0.1863, allocations: 28.86 kB / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.1863, allocations: 0 / 0.592 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001155/0.1864, allocations: 81.45 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1864, allocations: 5.875 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1864, allocations: 4.234 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.1864, allocations: 0 / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.087e-05/0.1865, allocations: 12 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1865, allocations: 3.984 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.1865, allocations: 0 / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1865, allocations: 3.984 kB / 0.5921 GB, free: 14.08 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.613e-05/0.1866, allocations: 113.8 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.1866, allocations: 3.938 kB / 0.5922 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.1868, allocations: 77.59 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1868, allocations: 0 / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1868, allocations: 0 / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1868, allocations: 3.984 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.1871, allocations: 311.4 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1872, allocations: 0 / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1872, allocations: 12 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1872, allocations: 3.938 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1872, allocations: 8 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1872, allocations: 4.031 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1873, allocations: 0 / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1875, allocations: 184.2 kB / 0.5928 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.1875, allocations: 85.12 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.1876, allocations: 256 / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.336e-05/0.1876, allocations: 4 kB / 0.5929 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.6e-05/0.1877, allocations: 12 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.1877, allocations: 8 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.1877, allocations: 79.27 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1877, allocations: 0 / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002442/0.188, allocations: 27.88 kB / 0.593 GB, free: 13.05 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 (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.0001646/0.1881, allocations: 123.2 kB / 0.5931 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.592e-05/0.1882, allocations: 31.92 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1883, allocations: 0 / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1883, allocations: 20 kB / 0.5932 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1885, allocations: 8 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.189, allocations: 225.8 kB / 0.5934 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.1893, allocations: 0.6809 MB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.1894, allocations: 4 kB / 0.5941 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.1894, allocations: 11.44 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1894, allocations: 0 / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.003038/0.1924, allocations: 0.6001 MB / 0.5947 GB, free: 11.32 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)