Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006623/0.006624, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001264/0.001264, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7836/0.7836, allocations: 135.1 MB / 425.7 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 62.84 kB / 0.5856 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1707, allocations: 80.93 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002408/0.1732, allocations: 1.26 MB / 0.6659 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1743, allocations: 0.6152 MB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.023e-05/0.1743, allocations: 0 / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.399e-05/0.1744, allocations: 7.922 kB / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.277e-05/0.1744, allocations: 0 / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005649/0.175, allocations: 142.3 kB / 0.6666 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.764e-05/0.1751, allocations: 19.92 kB / 0.6666 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1751, allocations: 7.984 kB / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.313e-05/0.1752, allocations: 7.938 kB / 0.6666 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.485e-05/0.1752, allocations: 15.98 kB / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.1752, allocations: 0 / 0.6667 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.1758, allocations: 343.3 kB / 0.667 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.337e-05/0.1758, allocations: 3.984 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.1758, allocations: 15.88 kB / 0.667 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1761, allocations: 147.6 kB / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1761, allocations: 0 / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1761, allocations: 0 / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1761, allocations: 0 / 0.6671 GB, free: 3.227 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005111/0.1766, allocations: 367.3 kB / 0.6675 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1767, allocations: 13.11 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/0.1767, allocations: 0.9375 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1769, allocations: 168.2 kB / 0.6677 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1769, allocations: 4.375 kB / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.1769, allocations: 384 / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.177, allocations: 49.61 kB / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.177, allocations: 0 / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1771, allocations: 0 / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1771, allocations: 7.938 kB / 0.6677 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.716e-05/0.1771, allocations: 19.98 kB / 0.6678 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.1773, allocations: 153.7 kB / 0.6679 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.1775, allocations: 46.5 kB / 0.6679 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1776, allocations: 16.86 kB / 0.668 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.1776, allocations: 3.938 kB / 0.668 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1777, allocations: 38.64 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1777, allocations: 4 kB / 0.668 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006749/0.1784, allocations: 306.2 kB / 0.6683 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1784, allocations: 51.41 kB / 0.6683 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.1785, allocations: 93.86 kB / 0.6684 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1785, allocations: 29.69 kB / 0.6685 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1786, allocations: 88.14 kB / 0.6685 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.1786, allocations: 11.72 kB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.1786, allocations: 21.72 kB / 0.6686 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1788, allocations: 322.8 kB / 0.6689 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.1788, allocations: 4 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.346e-05/0.1788, allocations: 15.94 kB / 0.6689 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.1789, allocations: 36.84 kB / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.1789, allocations: 0 / 0.6689 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001117/0.179, allocations: 69.61 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1791, allocations: 4 kB / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1791, allocations: 0 / 0.669 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1791, allocations: 4 kB / 0.669 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.1791, allocations: 12 kB / 0.669 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1791, allocations: 3.938 kB / 0.669 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.1792, allocations: 4 kB / 0.669 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1792, allocations: 0 / 0.669 GB, free: 1.027 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.091e-05/0.1793, allocations: 117.7 kB / 0.6691 GB, free: 0.9023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.1793, allocations: 7.891 kB / 0.6692 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.1794, allocations: 77.59 kB / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1794, allocations: 0 / 0.6692 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1794, allocations: 4.516 kB / 0.6692 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.1795, allocations: 128 / 0.6692 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003094/0.1798, allocations: 319.3 kB / 0.6695 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1798, allocations: 4 kB / 0.6695 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.1798, allocations: 11.94 kB / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1799, allocations: 0 / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1799, allocations: 4 kB / 0.6696 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1799, allocations: 3.938 kB / 0.6696 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1799, allocations: 0 / 0.6696 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.1801, allocations: 184.6 kB / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1801, allocations: 85.05 kB / 0.6698 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.1802, allocations: 4 kB / 0.6698 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.538e-05/0.1802, allocations: 7.984 kB / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.566e-05/0.1803, allocations: 0 / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.1803, allocations: 4 kB / 0.6698 GB, free: 100 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.1803, allocations: 83.28 kB / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1803, allocations: 0 / 0.6699 GB, free: 16 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002624/0.1806, allocations: 28.05 kB / 0.6699 GB, free: 15.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001911/0.1808, allocations: 124.5 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1809, allocations: 35.91 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1809, allocations: 4 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.658e-05/0.1809, allocations: 15.94 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002246/0.1812, allocations: 8.062 kB / 0.6701 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.1816, allocations: 200.3 kB / 0.6703 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1819, allocations: 0.6846 MB / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.182, allocations: 0 / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.305e-05/0.182, allocations: 11.44 kB / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of SimCode: time 1.753e-06/0.182, allocations: 0 / 0.671 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of Templates: time 0.003617/0.1856, allocations: 0.6322 MB / 0.6716 GB, free: 14.23 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)