Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.005559/0.005559, allocations: 99.95 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.001176/0.001177, allocations: 189.3 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 62.41 kB / 0.5814 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1679, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002324/0.1702, allocations: 1.27 MB / 0.6609 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1713, allocations: 0.6176 MB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.1713, allocations: 0 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.1714, allocations: 3.938 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.826e-05/0.1714, allocations: 0 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.172, allocations: 151.4 kB / 0.6617 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.984e-05/0.172, allocations: 15.94 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1721, allocations: 4 kB / 0.6617 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.1721, allocations: 15.86 kB / 0.6617 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.682e-05/0.1722, allocations: 11.98 kB / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1722, allocations: 0 / 0.6617 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.1727, allocations: 339.4 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.1727, allocations: 7.922 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.1727, allocations: 8 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.173, allocations: 147.5 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.173, allocations: 0 / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.173, allocations: 4 kB / 0.6622 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.173, allocations: 0 / 0.6622 GB, free: 10.89 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.000378/0.1734, allocations: 359.1 kB / 0.6625 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1734, allocations: 16.02 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.1735, allocations: 0.9375 kB / 0.6626 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.635e-05/0.1736, allocations: 168.3 kB / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1736, allocations: 4.375 kB / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1736, allocations: 4.312 kB / 0.6627 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.1737, allocations: 49.62 kB / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.1737, allocations: 0 / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1737, allocations: 0 / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1737, allocations: 0 / 0.6628 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.706e-05/0.1738, allocations: 12 kB / 0.6628 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1739, allocations: 153.7 kB / 0.6629 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001736/0.1741, allocations: 50.48 kB / 0.663 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.1742, allocations: 20.84 kB / 0.663 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.1742, allocations: 7.938 kB / 0.663 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1742, allocations: 34.56 kB / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1742, allocations: 0 / 0.663 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000589/0.1748, allocations: 310.4 kB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.1749, allocations: 51.41 kB / 0.6634 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.1749, allocations: 93.86 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.175, allocations: 29.7 kB / 0.6635 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.175, allocations: 88.14 kB / 0.6636 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.175, allocations: 19.78 kB / 0.6636 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.1751, allocations: 17.72 kB / 0.6636 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1752, allocations: 318.8 kB / 0.6639 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.565e-05/0.1752, allocations: 15.86 kB / 0.6639 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.124e-05/0.1753, allocations: 12 kB / 0.6639 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.831e-05/0.1753, allocations: 32.86 kB / 0.664 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1753, allocations: 4 kB / 0.664 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.1754, allocations: 69.77 kB / 0.664 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1755, allocations: 4 kB / 0.6641 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1755, allocations: 0 / 0.6641 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1755, allocations: 0 / 0.6641 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.1755, allocations: 19.92 kB / 0.6641 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.1755, allocations: 0 / 0.6641 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.861e-05/0.1756, allocations: 4 kB / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.1756, allocations: 0 / 0.6641 GB, free: 8.688 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 6.703e-05/0.1757, allocations: 118.4 kB / 0.6642 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.1757, allocations: 4.016 kB / 0.6642 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.1758, allocations: 85.62 kB / 0.6643 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1758, allocations: 0 / 0.6643 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1759, allocations: 3.938 kB / 0.6643 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1759, allocations: 0 / 0.6643 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.1762, allocations: 311.4 kB / 0.6646 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.1762, allocations: 4 kB / 0.6646 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.061e-05/0.1762, allocations: 11.98 kB / 0.6646 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1763, allocations: 7.969 kB / 0.6646 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1763, allocations: 4 kB / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1763, allocations: 0 / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1763, allocations: 0 / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.1765, allocations: 172.3 kB / 0.6648 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.1765, allocations: 89.08 kB / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.1766, allocations: 4 kB / 0.6649 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.1766, allocations: 8.062 kB / 0.6649 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.1767, allocations: 3.984 kB / 0.6649 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.1767, allocations: 4 kB / 0.6649 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.1767, allocations: 79.73 kB / 0.6649 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1767, allocations: 0 / 0.6649 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002412/0.177, allocations: 23.94 kB / 0.665 GB, free: 7.648 MB / 0.4981 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.0001742/0.1771, allocations: 129.2 kB / 0.6651 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.1773, allocations: 35.98 kB / 0.6651 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1773, allocations: 0 / 0.6651 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-05/0.1773, allocations: 23.92 kB / 0.6651 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.1775, allocations: 4 kB / 0.6652 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.1779, allocations: 204.3 kB / 0.6653 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1782, allocations: 0.6845 MB / 0.666 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.684e-05/0.1782, allocations: 8.188 kB / 0.666 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.1782, allocations: 11.44 kB / 0.666 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1782, allocations: 0 / 0.666 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of Templates: time 0.002634/0.1809, allocations: 0.6385 MB / 0.6667 GB, free: 5.895 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)