Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 105.2 kB / 16.41 MB, free: 6.5 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.001093/0.001093, allocations: 187 kB / 17.34 MB, free: 5.766 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8268/0.8268, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.89 kB / 0.582 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.174, allocations: 80.2 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003059/0.1771, allocations: 1.468 MB / 0.6618 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1784, allocations: 0.6266 MB / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.458e-05/0.1785, allocations: 0 / 0.6624 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.857e-05/0.1785, allocations: 11.92 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.498e-05/0.1786, allocations: 15.86 kB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007918/0.1794, allocations: 166.4 kB / 0.6626 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.1796, allocations: 39.91 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.1796, allocations: 4 kB / 0.6626 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.1797, allocations: 23.92 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.1798, allocations: 27.91 kB / 0.6627 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1798, allocations: 4 kB / 0.6627 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.1804, allocations: 355.2 kB / 0.663 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.477e-05/0.1804, allocations: 11.98 kB / 0.663 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.1805, allocations: 19.88 kB / 0.663 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1808, allocations: 183.5 kB / 0.6632 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1809, allocations: 0 / 0.6632 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1809, allocations: 0 / 0.6632 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.1809, allocations: 4 kB / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006816/0.1816, allocations: 395.3 kB / 0.6636 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1816, allocations: 12.03 kB / 0.6636 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.46e-05/0.1817, allocations: 12.84 kB / 0.6636 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.1818, allocations: 164.3 kB / 0.6638 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.267e-05/0.1819, allocations: 4.375 kB / 0.6638 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1819, allocations: 12.31 kB / 0.6638 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.1822, allocations: 77.59 kB / 0.6639 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.1822, allocations: 0 / 0.6639 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1822, allocations: 7.984 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1823, allocations: 4 kB / 0.6639 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.1825, allocations: 43.97 kB / 0.6639 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.1832, allocations: 332.5 kB / 0.6642 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.1835, allocations: 82.53 kB / 0.6643 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1836, allocations: 24.84 kB / 0.6643 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1836, allocations: 3.938 kB / 0.6643 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.1836, allocations: 42.5 kB / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1837, allocations: 0 / 0.6644 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001688/0.1853, allocations: 0.6423 MB / 0.665 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.1854, allocations: 55.41 kB / 0.6651 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.54e-05/0.1855, allocations: 101.8 kB / 0.6651 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1855, allocations: 29.7 kB / 0.6652 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.1856, allocations: 92.05 kB / 0.6653 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.1856, allocations: 43.33 kB / 0.6653 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/0.1857, allocations: 29.83 kB / 0.6653 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1858, allocations: 314.8 kB / 0.6656 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1859, allocations: 39.97 kB / 0.6657 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001186/0.1861, allocations: 31.98 kB / 0.6657 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1863, allocations: 83.89 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1864, allocations: 0 / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.1867, allocations: 113.6 kB / 0.6659 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1867, allocations: 4 kB / 0.6659 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1867, allocations: 0 / 0.6659 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1867, allocations: 7.938 kB / 0.6659 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.1869, allocations: 27.97 kB / 0.6659 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1869, allocations: 4 kB / 0.6659 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.187, allocations: 4.094 kB / 0.6659 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.187, allocations: 3.938 kB / 0.6659 GB, free: 4.215 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 9.591e-05/0.1871, allocations: 122.7 kB / 0.6661 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.1871, allocations: 4 kB / 0.6661 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003822/0.1875, allocations: 125.5 kB / 0.6662 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1875, allocations: 7.938 kB / 0.6662 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1875, allocations: 4 kB / 0.6662 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.1875, allocations: 0 / 0.6662 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005843/0.1881, allocations: 386.4 kB / 0.6666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1882, allocations: 3.938 kB / 0.6666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.1883, allocations: 23.98 kB / 0.6666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1883, allocations: 0 / 0.6666 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1883, allocations: 4 kB / 0.6666 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1883, allocations: 4 kB / 0.6666 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1883, allocations: 4 kB / 0.6666 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/0.1889, allocations: 250.3 kB / 0.6668 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.1889, allocations: 88.94 kB / 0.6669 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1889, allocations: 8.031 kB / 0.6669 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1891, allocations: 4 kB / 0.6669 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.1891, allocations: 12.05 kB / 0.6669 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.1891, allocations: 4 kB / 0.667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.124e-05/0.1892, allocations: 79.28 kB / 0.667 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.81e-07/0.1892, allocations: 0 / 0.667 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003103/0.1895, allocations: 39.98 kB / 0.6671 GB, free: 2.953 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002306/0.1897, allocations: 123.2 kB / 0.6672 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.1901, allocations: 95.81 kB / 0.6673 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1901, allocations: 4 kB / 0.6673 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1903, allocations: 43.92 kB / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1906, allocations: 16.25 kB / 0.6673 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007197/0.1913, allocations: 351.1 kB / 0.6677 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1916, allocations: 0.6889 MB / 0.6683 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.1917, allocations: 15.44 kB / 0.6684 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1917, allocations: 0 / 0.6684 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of Templates: time 0.003185/0.1949, allocations: 1.332 MB / 0.6697 GB, free: 240 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)