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.001042/0.001042, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008258/0.008259, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.356/1.356, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9353/0.9353, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004861, allocations: 8 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1817/0.1822, allocations: 82.3 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001455/0.1837, allocations: 0.9983 MB / 0.5889 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.1849, allocations: 0.6245 MB / 0.5896 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.632e-05/0.1849, allocations: 7.938 kB / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.1849, allocations: 0 / 0.5896 GB, free: 0.957 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.536e-05/0.185, allocations: 3.938 kB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1854, allocations: 123 kB / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.192e-05/0.1855, allocations: 15.94 kB / 0.5897 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.1855, allocations: 11.97 kB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1856, allocations: 4 kB / 0.5897 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.25e-05/0.1856, allocations: 11.94 kB / 0.5897 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1856, allocations: 4 kB / 0.5897 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000471/0.1861, allocations: 343.3 kB / 0.5901 GB, free: 464 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.1861, allocations: 7.984 kB / 0.5901 GB, free: 456 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.1862, allocations: 33.64 kB / 0.5901 GB, free: 416 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.1864, allocations: 143.9 kB / 0.5902 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1864, allocations: 0 / 0.5902 GB, free: 272 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1864, allocations: 0 / 0.5902 GB, free: 272 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.1864, allocations: 0 / 0.5902 GB, free: 272 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.0003961/0.1868, allocations: 359.4 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1869, allocations: 12.03 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.1869, allocations: 8.938 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1871, allocations: 164.4 kB / 0.5908 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1871, allocations: 4.375 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.1871, allocations: 4.375 kB / 0.5908 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1872, allocations: 45.75 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.1872, allocations: 0 / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1873, allocations: 4 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1873, allocations: 0 / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.061e-05/0.1873, allocations: 11.98 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1875, allocations: 157.7 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1877, allocations: 42.56 kB / 0.591 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.1877, allocations: 16.86 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1877, allocations: 3.938 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1878, allocations: 38.5 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.1878, allocations: 0 / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006197/0.1884, allocations: 322.5 kB / 0.5914 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.1884, allocations: 55.34 kB / 0.5914 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.672e-05/0.1885, allocations: 93.86 kB / 0.5915 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1885, allocations: 25.7 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.868e-05/0.1886, allocations: 88.14 kB / 0.5916 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.1886, allocations: 15.73 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.1887, allocations: 17.72 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.1888, allocations: 314.8 kB / 0.592 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.1888, allocations: 15.98 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.1888, allocations: 8 kB / 0.592 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.1889, allocations: 32.8 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1889, allocations: 3.984 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.189, allocations: 73.53 kB / 0.5921 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.189, allocations: 4 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.189, allocations: 0 / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.189, allocations: 3.984 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.681e-05/0.1891, allocations: 12 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.1891, allocations: 4 kB / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.1891, allocations: 0 / 0.5921 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1891, allocations: 4 kB / 0.5921 GB, free: 14.07 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 6.52e-05/0.1892, allocations: 113.8 kB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.154e-05/0.1892, allocations: 7.938 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.1894, allocations: 69.88 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1894, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1894, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1894, allocations: 4 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002967/0.1897, allocations: 319.5 kB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1897, allocations: 4 kB / 0.5926 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.1898, allocations: 11.98 kB / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1898, allocations: 0 / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1898, allocations: 4 kB / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1898, allocations: 0 / 0.5926 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1898, allocations: 3.984 kB / 0.5926 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.19, allocations: 188.2 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.19, allocations: 81.14 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.1901, allocations: 0 / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1901, allocations: 4 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.1902, allocations: 11.92 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.1902, allocations: 4 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.914e-05/0.1902, allocations: 75.28 kB / 0.593 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1902, allocations: 8.062 kB / 0.593 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002369/0.1905, allocations: 23.88 kB / 0.593 GB, free: 13.04 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.0002246/0.1907, allocations: 119.2 kB / 0.5931 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.778e-05/0.1908, allocations: 39.91 kB / 0.5932 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1908, allocations: 4 kB / 0.5932 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.1908, allocations: 11.98 kB / 0.5932 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1911, allocations: 13.81 kB / 0.5932 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003893/0.1915, allocations: 230.1 kB / 0.5934 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1917, allocations: 0.6809 MB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.1918, allocations: 4 kB / 0.5941 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.1918, allocations: 11.44 kB / 0.5941 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1918, allocations: 0 / 0.5941 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.002754/0.1945, allocations: 0.6227 MB / 0.5947 GB, free: 11.28 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)