Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 98.09 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9626/0.9626, allocations: 135.3 MB / 427.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003452, allocations: 11.94 kB / 0.5082 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1674, allocations: 82.31 MB / 0.5886 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001317/0.1688, allocations: 0.9905 MB / 0.5896 GB, free: 1.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1698, allocations: 0.6245 MB / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.572e-05/0.1698, allocations: 0 / 0.5902 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.729e-05/0.1699, allocations: 3.984 kB / 0.5902 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.18e-05/0.1699, allocations: 7.938 kB / 0.5902 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004614/0.1704, allocations: 123.6 kB / 0.5903 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.164e-05/0.1704, allocations: 19.92 kB / 0.5903 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.379e-05/0.1705, allocations: 0 / 0.5903 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.376e-05/0.1705, allocations: 7.938 kB / 0.5904 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.208e-05/0.1706, allocations: 15.92 kB / 0.5904 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.1706, allocations: 4 kB / 0.5904 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1711, allocations: 343.3 kB / 0.5907 GB, free: 468 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.1711, allocations: 0 / 0.5907 GB, free: 468 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.1711, allocations: 33.64 kB / 0.5907 GB, free: 428 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.1713, allocations: 104.1 kB / 0.5908 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1713, allocations: 0 / 0.5908 GB, free: 324 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1713, allocations: 4 kB / 0.5908 GB, free: 320 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1713, allocations: 0 / 0.5908 GB, free: 320 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004006/0.1717, allocations: 355.4 kB / 0.5912 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1718, allocations: 12.03 kB / 0.5912 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.1718, allocations: 4.875 kB / 0.5912 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1719, allocations: 168.3 kB / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.172, allocations: 4.375 kB / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.172, allocations: 384 / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.1721, allocations: 49.81 kB / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1721, allocations: 0 / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.1721, allocations: 0 / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1722, allocations: 0 / 0.5914 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.1722, allocations: 11.98 kB / 0.5914 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.1724, allocations: 157.7 kB / 0.5916 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.1726, allocations: 42.55 kB / 0.5916 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.1726, allocations: 24.94 kB / 0.5916 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1726, allocations: 0 / 0.5916 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1727, allocations: 38.5 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.1727, allocations: 4 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005988/0.1733, allocations: 310.1 kB / 0.592 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.1733, allocations: 51.41 kB / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.1734, allocations: 101.8 kB / 0.5921 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1734, allocations: 29.7 kB / 0.5921 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.1734, allocations: 80.14 kB / 0.5922 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.1735, allocations: 15.81 kB / 0.5922 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.457e-05/0.1735, allocations: 13.7 kB / 0.5922 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.1736, allocations: 318.8 kB / 0.5925 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.1736, allocations: 11.94 kB / 0.5926 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.1737, allocations: 11.98 kB / 0.5926 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.1737, allocations: 32.86 kB / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.1737, allocations: 0 / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.285e-05/0.1738, allocations: 73.53 kB / 0.5927 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.1738, allocations: 7.938 kB / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1739, allocations: 0 / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1739, allocations: 0 / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.34e-05/0.1739, allocations: 19.94 kB / 0.5927 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1739, allocations: 0 / 0.5927 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.949e-05/0.174, allocations: 3.984 kB / 0.5927 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.174, allocations: 0 / 0.5927 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 (7): * Single equations (assignments): 7 * 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 7.184e-05/0.174, allocations: 109.8 kB / 0.5928 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.1741, allocations: 15.88 kB / 0.5928 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.1742, allocations: 69.66 kB / 0.5929 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1742, allocations: 0 / 0.5929 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1742, allocations: 4.125 kB / 0.5929 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1742, allocations: 3.984 kB / 0.5929 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003059/0.1745, allocations: 315.3 kB / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1746, allocations: 0 / 0.5932 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.1746, allocations: 12 kB / 0.5932 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1746, allocations: 7.969 kB / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1746, allocations: 0 / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1746, allocations: 4 kB / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1747, allocations: 240 / 0.5932 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.1748, allocations: 180.2 kB / 0.5934 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1749, allocations: 89.64 kB / 0.5935 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1749, allocations: 0 / 0.5935 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.816e-05/0.175, allocations: 4.062 kB / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.175, allocations: 4 kB / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-06/0.175, allocations: 4 kB / 0.5935 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.175, allocations: 87.25 kB / 0.5936 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1751, allocations: 0 / 0.5936 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002375/0.1753, allocations: 23.88 kB / 0.5936 GB, free: 13.1 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001686/0.1755, allocations: 119.2 kB / 0.5937 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.1756, allocations: 35.97 kB / 0.5937 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1756, allocations: 4 kB / 0.5937 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.1756, allocations: 19.94 kB / 0.5938 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.1758, allocations: 5.875 kB / 0.5938 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.1762, allocations: 266.8 kB / 0.594 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.1765, allocations: 0.677 MB / 0.5947 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.1765, allocations: 15.38 kB / 0.5947 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1765, allocations: 0 / 0.5947 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002089/0.1786, allocations: 0.7844 MB / 0.5955 GB, free: 11.12 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)