Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008205, allocations: 92.16 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.0008426/0.0008427, 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9512/0.9512, allocations: 135.3 MB / 426.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003406, allocations: 15.92 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 82.3 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00174/0.1664, allocations: 0.9828 MB / 0.5883 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.1676, allocations: 0.5783 MB / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.251e-05/0.1677, allocations: 0 / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.1677, allocations: 0 / 0.5889 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.046e-05/0.1678, allocations: 7.922 kB / 0.5889 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.1685, allocations: 127.6 kB / 0.589 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.21e-05/0.1686, allocations: 23.92 kB / 0.589 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1686, allocations: 7.938 kB / 0.5891 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.451e-05/0.1687, allocations: 11.92 kB / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.109e-05/0.1687, allocations: 11.98 kB / 0.5891 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1688, allocations: 7.938 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005964/0.1694, allocations: 331.4 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.633e-05/0.1694, allocations: 7.938 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.1694, allocations: 29.7 kB / 0.5894 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.1697, allocations: 100.1 kB / 0.5895 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1697, allocations: 8 kB / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1697, allocations: 0 / 0.5895 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1697, allocations: 0 / 0.5895 GB, free: 0.7578 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004578/0.1702, allocations: 363.1 kB / 0.5899 GB, free: 364 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.1702, allocations: 12.03 kB / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.1703, allocations: 0 / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1704, allocations: 171 kB / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.1704, allocations: 0 / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.1705, allocations: 4 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.1706, allocations: 61.59 kB / 0.5901 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1706, allocations: 4 kB / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1706, allocations: 0 / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1706, allocations: 0 / 0.5901 GB, free: 64 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.1707, allocations: 19.98 kB / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002039/0.1709, allocations: 173.5 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.171, allocations: 54.56 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.1711, allocations: 32.84 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.1711, allocations: 4.172 kB / 0.5904 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1712, allocations: 38.55 kB / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1712, allocations: 0 / 0.5904 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001196/0.1724, allocations: 0.58 MB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1724, allocations: 51.41 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.179e-05/0.1725, allocations: 97.84 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.1725, allocations: 29.7 kB / 0.5912 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.1726, allocations: 80.14 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.1727, allocations: 43.38 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.1727, allocations: 4 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.1728, allocations: 327 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/0.1729, allocations: 23.92 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.803e-05/0.1729, allocations: 19.98 kB / 0.5916 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.173, allocations: 31.75 kB / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.173, allocations: 0 / 0.5917 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001605/0.1731, allocations: 101.5 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.1732, allocations: 4 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1732, allocations: 0 / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1732, allocations: 0 / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1733, allocations: 23.98 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1733, allocations: 0 / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.1733, allocations: 4 kB / 0.5918 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1734, allocations: 4 kB / 0.5918 GB, free: 14.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.51e-05/0.1735, allocations: 117.7 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.1735, allocations: 4 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1737, allocations: 111.3 kB / 0.592 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.1737, allocations: 4 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1737, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1737, allocations: 0 / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004324/0.1742, allocations: 358.3 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1742, allocations: 0 / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1743, allocations: 23.98 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1743, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1743, allocations: 4 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.1743, allocations: 4 kB / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1743, allocations: 0 / 0.5924 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1746, allocations: 219.4 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/0.1747, allocations: 81.02 kB / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1747, allocations: 8.016 kB / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.084e-05/0.1748, allocations: 0 / 0.5927 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.1748, allocations: 8 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.1748, allocations: 7.984 kB / 0.5927 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.896e-05/0.1748, allocations: 75.28 kB / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1749, allocations: 0 / 0.5928 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002757/0.1751, allocations: 36 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0002194/0.1754, allocations: 143.3 kB / 0.593 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001595/0.1755, allocations: 58 kB / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.1755, allocations: 0 / 0.593 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.1756, allocations: 39.92 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.1758, allocations: 8.781 kB / 0.5931 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005691/0.1764, allocations: 340.7 kB / 0.5934 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.1767, allocations: 0.6887 MB / 0.5941 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.863e-05/0.1768, allocations: 11.92 kB / 0.5941 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.1768, allocations: 15.44 kB / 0.5941 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/0.1768, allocations: 4 kB / 0.5941 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.003556/0.1804, allocations: 0.8848 MB / 0.595 GB, free: 10.77 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)