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.0009471/0.0009471, allocations: 98.03 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.004928/0.004928, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.974/0.974, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002999/0.0003, allocations: 8.844 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1687, allocations: 82.31 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001735/0.1704, allocations: 1.18 MB / 0.5891 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1716, allocations: 0.6346 MB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.1717, allocations: 0 / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.1717, allocations: 3.938 kB / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.365e-05/0.1718, allocations: 0 / 0.5898 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.1724, allocations: 147.5 kB / 0.5899 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.921e-05/0.1725, allocations: 47.86 kB / 0.5899 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.855e-05/0.1726, allocations: 4 kB / 0.5899 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.1726, allocations: 23.91 kB / 0.59 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.617e-05/0.1727, allocations: 23.91 kB / 0.59 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.1727, allocations: 4 kB / 0.59 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.1732, allocations: 351.3 kB / 0.5903 GB, free: 172 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.1733, allocations: 11.94 kB / 0.5903 GB, free: 160 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.057e-05/0.1733, allocations: 53.55 kB / 0.5904 GB, free: 100 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.1737, allocations: 175.8 kB / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1737, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1737, allocations: 0 / 0.5906 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1737, allocations: 0 / 0.5906 GB, free: 15.93 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.000642/0.1744, allocations: 391.4 kB / 0.5909 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1744, allocations: 8.031 kB / 0.5909 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.1745, allocations: 8.844 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.1746, allocations: 172.3 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.1746, allocations: 4.375 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1747, allocations: 12.31 kB / 0.5911 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.175, allocations: 88.91 kB / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.175, allocations: 0 / 0.5912 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.175, allocations: 7.938 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.175, allocations: 0 / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/0.1753, allocations: 55.95 kB / 0.5913 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006071/0.1759, allocations: 336.6 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1763, allocations: 90.52 kB / 0.5917 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.1764, allocations: 32.84 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1764, allocations: 4 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1765, allocations: 34.56 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1765, allocations: 0 / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001794/0.1783, allocations: 0.6736 MB / 0.5924 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.1783, allocations: 59.34 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.484e-05/0.1784, allocations: 101.8 kB / 0.5926 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1784, allocations: 25.7 kB / 0.5926 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.1785, allocations: 96.03 kB / 0.5927 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1785, allocations: 39.45 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/0.1786, allocations: 21.7 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1787, allocations: 310.8 kB / 0.593 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1789, allocations: 39.97 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.179, allocations: 31.98 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.1793, allocations: 80.83 kB / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1793, allocations: 0 / 0.5932 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003437/0.1796, allocations: 133.6 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.1797, allocations: 8 kB / 0.5933 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1797, allocations: 7.969 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1797, allocations: 0 / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.1799, allocations: 31.92 kB / 0.5934 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1799, allocations: 4 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.18, allocations: 4 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.18, allocations: 4 kB / 0.5934 GB, free: 12.75 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.881e-05/0.1801, allocations: 121.8 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.151e-05/0.1801, allocations: 11.88 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004184/0.1806, allocations: 133.5 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1806, allocations: 3.938 kB / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1806, allocations: 0 / 0.5936 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1806, allocations: 4 kB / 0.5936 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.1812, allocations: 396.7 kB / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1812, allocations: 0 / 0.594 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1814, allocations: 27.92 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1814, allocations: 4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1814, allocations: 4 kB / 0.594 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1814, allocations: 3.984 kB / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1814, allocations: 0 / 0.594 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.182, allocations: 271 kB / 0.5943 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.747e-05/0.182, allocations: 85.08 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.182, allocations: 4 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.1822, allocations: 4 kB / 0.5944 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1822, allocations: 7.984 kB / 0.5944 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1822, allocations: 4 kB / 0.5944 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.1823, allocations: 91.44 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1823, allocations: 4.062 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002883/0.1826, allocations: 39.94 kB / 0.5945 GB, free: 11.44 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.0002249/0.1828, allocations: 135.1 kB / 0.5947 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.1832, allocations: 91.89 kB / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1832, allocations: 0 / 0.5947 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1833, allocations: 51.97 kB / 0.5948 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.1837, allocations: 15.31 kB / 0.5948 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/0.1844, allocations: 392.6 kB / 0.5952 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1846, allocations: 0.6895 MB / 0.5959 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.372e-05/0.1847, allocations: 20.59 kB / 0.5959 GB, free: 10 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.1847, allocations: 11.44 kB / 0.5959 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.1847, allocations: 4 kB / 0.5959 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of Templates: time 0.003819/0.1886, allocations: 1.091 MB / 0.597 GB, free: 8.934 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)