Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001288/0.001288, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001487/0.001487, allocations: 192.7 kB / 16.13 MB, free: 6.691 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.377/1.377, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9627/0.9627, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 60.47 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1693, allocations: 80.93 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002733/0.1721, allocations: 1.534 MB / 0.5852 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1732, allocations: 0.6502 MB / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.1732, allocations: 0 / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.1732, allocations: 0 / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.1733, allocations: 3.938 kB / 0.5858 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000464/0.1738, allocations: 146.7 kB / 0.586 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.1738, allocations: 43.8 kB / 0.586 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1739, allocations: 4 kB / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.272e-05/0.1739, allocations: 27.92 kB / 0.5861 GB, free: 2.578 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.174, allocations: 27.89 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.174, allocations: 0 / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1745, allocations: 347.3 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1745, allocations: 11.94 kB / 0.5864 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.02e-05/0.1746, allocations: 27.86 kB / 0.5865 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003087/0.1749, allocations: 175.8 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1749, allocations: 4 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1749, allocations: 0 / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1749, allocations: 0 / 0.5866 GB, free: 1.996 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006883/0.1756, allocations: 395.4 kB / 0.587 GB, free: 1.562 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.1757, allocations: 8.031 kB / 0.587 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.736e-05/0.1757, allocations: 12.78 kB / 0.587 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1759, allocations: 164.4 kB / 0.5872 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.1759, allocations: 4.375 kB / 0.5872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.1759, allocations: 12.38 kB / 0.5872 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.1762, allocations: 85.72 kB / 0.5873 GB, free: 1.238 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1762, allocations: 3.938 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1762, allocations: 0 / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1763, allocations: 0 / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.1765, allocations: 51.95 kB / 0.5873 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.1771, allocations: 332.6 kB / 0.5877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1773, allocations: 78.47 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.1774, allocations: 28.84 kB / 0.5878 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1775, allocations: 11.98 kB / 0.5878 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.1775, allocations: 30.56 kB / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.1775, allocations: 0 / 0.5878 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001644/0.1792, allocations: 0.654 MB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1792, allocations: 55.34 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.1793, allocations: 97.86 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1793, allocations: 25.7 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.1793, allocations: 92.12 kB / 0.5887 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/0.1794, allocations: 39.39 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1794, allocations: 29.72 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1795, allocations: 322.8 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.1797, allocations: 23.98 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.1798, allocations: 35.97 kB / 0.5891 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.18, allocations: 75.83 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1801, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006541/0.1807, allocations: 121.7 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.1808, allocations: 4 kB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1808, allocations: 4 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1808, allocations: 0 / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.1811, allocations: 31.86 kB / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1811, allocations: 0 / 0.5893 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.1812, allocations: 7.984 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.1812, allocations: 8 kB / 0.5894 GB, free: 14.89 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 0.0001333/0.1814, allocations: 121.9 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.1814, allocations: 7.844 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.182, allocations: 129.5 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.182, allocations: 3.938 kB / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.182, allocations: 0 / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.182, allocations: 0 / 0.5896 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008162/0.1828, allocations: 383.9 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.1829, allocations: 3.984 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.1831, allocations: 31.86 kB / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1831, allocations: 0 / 0.59 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.1831, allocations: 8 kB / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1831, allocations: 0 / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1832, allocations: 0 / 0.59 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.1838, allocations: 247.3 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.469e-05/0.1839, allocations: 85.08 kB / 0.5903 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.184, allocations: 4 kB / 0.5903 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1841, allocations: 7.984 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1842, allocations: 7.984 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.1842, allocations: 8 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.1843, allocations: 79.22 kB / 0.5904 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1843, allocations: 4.062 kB / 0.5904 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004701/0.1848, allocations: 39.94 kB / 0.5905 GB, free: 13.62 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.0003085/0.1851, allocations: 139.1 kB / 0.5906 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004417/0.1855, allocations: 77.7 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.1856, allocations: 0 / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.1857, allocations: 47.91 kB / 0.5907 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1863, allocations: 20.48 kB / 0.5908 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1873, allocations: 343.4 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1876, allocations: 0.6934 MB / 0.5918 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.1878, allocations: 20.58 kB / 0.5918 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.1878, allocations: 11.44 kB / 0.5918 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1878, allocations: 0 / 0.5918 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of Templates: time 0.005098/0.1929, allocations: 1.099 MB / 0.5929 GB, free: 11.16 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)