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.006395/0.006395, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001385/0.001385, allocations: 192.4 kB / 16.79 MB, free: 5.816 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.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9255/0.9255, allocations: 135.1 MB / 425.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00217/0.00217, allocations: 63.42 kB / 0.5053 GB, free: 5.723 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.162, allocations: 80.92 MB / 0.5843 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002716/0.1647, allocations: 1.531 MB / 0.5858 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1658, allocations: 0.6501 MB / 0.5865 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.1659, allocations: 4 kB / 0.5865 GB, free: 2.773 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.737e-05/0.1659, allocations: 3.938 kB / 0.5865 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.198e-05/0.166, allocations: 11.91 kB / 0.5865 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004878/0.1665, allocations: 139.5 kB / 0.5866 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.433e-05/0.1666, allocations: 39.91 kB / 0.5867 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.1666, allocations: 7.984 kB / 0.5867 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.212e-05/0.1667, allocations: 19.94 kB / 0.5867 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.596e-05/0.1667, allocations: 23.91 kB / 0.5867 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.1668, allocations: 11.92 kB / 0.5867 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.1672, allocations: 343.3 kB / 0.587 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.1673, allocations: 15.97 kB / 0.5871 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.1673, allocations: 23.88 kB / 0.5871 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.1675, allocations: 112 kB / 0.5872 GB, free: 2.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1675, allocations: 7.984 kB / 0.5872 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1675, allocations: 4 kB / 0.5872 GB, free: 2.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.1675, allocations: 0 / 0.5872 GB, free: 2.023 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.0006084/0.1681, allocations: 395.4 kB / 0.5876 GB, free: 1.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1682, allocations: 8.031 kB / 0.5876 GB, free: 1.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.1682, allocations: 8.844 kB / 0.5876 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1684, allocations: 172.2 kB / 0.5878 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.1684, allocations: 4.375 kB / 0.5878 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.1684, allocations: 12.38 kB / 0.5878 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.1687, allocations: 80.78 kB / 0.5879 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1687, allocations: 0 / 0.5879 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1687, allocations: 4 kB / 0.5879 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1687, allocations: 0 / 0.5879 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.169, allocations: 55.89 kB / 0.5879 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.1695, allocations: 324.6 kB / 0.5882 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.1698, allocations: 82.47 kB / 0.5883 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1699, allocations: 28.84 kB / 0.5883 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.17, allocations: 4 kB / 0.5883 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.17, allocations: 38.55 kB / 0.5884 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.17, allocations: 0 / 0.5884 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001635/0.1716, allocations: 0.6611 MB / 0.589 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1717, allocations: 59.34 kB / 0.5891 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.1718, allocations: 97.86 kB / 0.5892 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.1718, allocations: 25.7 kB / 0.5892 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.1718, allocations: 92.12 kB / 0.5893 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.485e-05/0.1719, allocations: 35.45 kB / 0.5893 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1719, allocations: 29.72 kB / 0.5893 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1721, allocations: 322.8 kB / 0.5896 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.1722, allocations: 28.11 kB / 0.5897 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.1723, allocations: 35.97 kB / 0.5897 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.1726, allocations: 76.77 kB / 0.5898 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1726, allocations: 0 / 0.5898 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003047/0.1729, allocations: 121.2 kB / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1729, allocations: 4 kB / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1729, allocations: 0 / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.1729, allocations: 4 kB / 0.5899 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1731, allocations: 27.92 kB / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1731, allocations: 0 / 0.5899 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/0.1732, allocations: 11.92 kB / 0.5899 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1732, allocations: 8 kB / 0.59 GB, free: 14.91 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.216e-05/0.1733, allocations: 117.8 kB / 0.5901 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1733, allocations: 11.84 kB / 0.5901 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.1737, allocations: 125.6 kB / 0.5902 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.1737, allocations: 3.938 kB / 0.5902 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1737, allocations: 0 / 0.5902 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1737, allocations: 0 / 0.5902 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.1743, allocations: 386.5 kB / 0.5906 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.1743, allocations: 3.938 kB / 0.5906 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1744, allocations: 31.91 kB / 0.5906 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1744, allocations: 0 / 0.5906 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.1744, allocations: 4 kB / 0.5906 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1745, allocations: 4 kB / 0.5906 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1745, allocations: 3.938 kB / 0.5906 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.1749, allocations: 247.3 kB / 0.5908 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.175, allocations: 81.05 kB / 0.5909 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.175, allocations: 8.031 kB / 0.5909 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.1751, allocations: 7.984 kB / 0.5909 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.1751, allocations: 7.984 kB / 0.5909 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1752, allocations: 8 kB / 0.591 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.1752, allocations: 79.28 kB / 0.591 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1752, allocations: 64 / 0.591 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002824/0.1755, allocations: 47.94 kB / 0.5911 GB, free: 13.64 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.0002097/0.1757, allocations: 131.1 kB / 0.5912 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002911/0.176, allocations: 83.95 kB / 0.5913 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.176, allocations: 0 / 0.5913 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1762, allocations: 47.91 kB / 0.5913 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1765, allocations: 18.62 kB / 0.5913 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.1772, allocations: 373 kB / 0.5917 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.1775, allocations: 0.6934 MB / 0.5924 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.1775, allocations: 23.42 kB / 0.5924 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1775, allocations: 0 / 0.5924 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.002889/0.1804, allocations: 1.294 MB / 0.5937 GB, free: 10.93 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)