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.001621/0.001621, allocations: 109.3 kB / 16.41 MB, free: 6.496 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.001625/0.001626, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7711/0.7711, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.72 kB / 0.582 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1723, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002918/0.1752, allocations: 1.253 MB / 0.6616 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1764, allocations: 0.6152 MB / 0.6622 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.1765, allocations: 4 kB / 0.6622 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.1766, allocations: 3.938 kB / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.865e-05/0.1766, allocations: 0 / 0.6622 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007473/0.1774, allocations: 147.4 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.574e-05/0.1775, allocations: 15.94 kB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1775, allocations: 11.92 kB / 0.6623 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.1776, allocations: 19.86 kB / 0.6624 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.1776, allocations: 4 kB / 0.6624 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1777, allocations: 0 / 0.6624 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005642/0.1782, allocations: 339.4 kB / 0.6627 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.1783, allocations: 4 kB / 0.6627 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.1783, allocations: 15.92 kB / 0.6627 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.1786, allocations: 143.6 kB / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1786, allocations: 4 kB / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.562e-06/0.1786, allocations: 0 / 0.6628 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.1787, allocations: 0 / 0.6628 GB, free: 7.688 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.0004973/0.1792, allocations: 359.4 kB / 0.6632 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.1792, allocations: 8.031 kB / 0.6632 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1793, allocations: 8.844 kB / 0.6632 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1794, allocations: 168.3 kB / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1794, allocations: 384 / 0.6634 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.1794, allocations: 4.375 kB / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1796, allocations: 49.62 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1796, allocations: 3.938 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1796, allocations: 0 / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1796, allocations: 0 / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.1797, allocations: 11.98 kB / 0.6634 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002081/0.1799, allocations: 161.7 kB / 0.6636 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.1802, allocations: 46.5 kB / 0.6636 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.1802, allocations: 20.86 kB / 0.6636 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1802, allocations: 3.938 kB / 0.6637 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.1803, allocations: 30.56 kB / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1803, allocations: 0 / 0.6637 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0007294/0.181, allocations: 318.3 kB / 0.664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1811, allocations: 51.41 kB / 0.664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.763e-05/0.1812, allocations: 97.86 kB / 0.6641 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.1812, allocations: 25.7 kB / 0.6641 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1812, allocations: 84.14 kB / 0.6642 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1813, allocations: 19.7 kB / 0.6642 GB, free: 6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.221e-05/0.1813, allocations: 17.72 kB / 0.6643 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1815, allocations: 318.8 kB / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.1815, allocations: 15.92 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.1815, allocations: 8 kB / 0.6646 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.147e-05/0.1816, allocations: 36.86 kB / 0.6646 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.1816, allocations: 0 / 0.6646 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000117/0.1817, allocations: 73.52 kB / 0.6647 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1817, allocations: 4 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1817, allocations: 3.938 kB / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1818, allocations: 0 / 0.6647 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-05/0.1818, allocations: 19.92 kB / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1818, allocations: 0 / 0.6647 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.1819, allocations: 4 kB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.1819, allocations: 0 / 0.6647 GB, free: 5.484 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 8.354e-05/0.182, allocations: 118.7 kB / 0.6648 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.182, allocations: 0 / 0.6648 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1821, allocations: 81.58 kB / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.1822, allocations: 0 / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1822, allocations: 0 / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1822, allocations: 0 / 0.6649 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.1825, allocations: 315.3 kB / 0.6652 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.1825, allocations: 0 / 0.6652 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.501e-05/0.1826, allocations: 16.02 kB / 0.6652 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.1826, allocations: 8.125 kB / 0.6652 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.1826, allocations: 4 kB / 0.6652 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.1826, allocations: 4 kB / 0.6653 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1826, allocations: 0 / 0.6653 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1828, allocations: 176.2 kB / 0.6654 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1829, allocations: 85.64 kB / 0.6655 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1829, allocations: 4.062 kB / 0.6655 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.457e-05/0.183, allocations: 4 kB / 0.6655 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.489e-05/0.183, allocations: 7.984 kB / 0.6655 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.183, allocations: 4 kB / 0.6655 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.1831, allocations: 83.2 kB / 0.6656 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1831, allocations: 0 / 0.6656 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002606/0.1834, allocations: 24 kB / 0.6656 GB, free: 4.445 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.0001953/0.1836, allocations: 123.2 kB / 0.6657 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.1837, allocations: 35.98 kB / 0.6658 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1837, allocations: 0 / 0.6658 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.1837, allocations: 23.92 kB / 0.6658 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.184, allocations: 6.516 kB / 0.6658 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004542/0.1844, allocations: 217.9 kB / 0.666 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1847, allocations: 0.6845 MB / 0.6667 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.241e-05/0.1847, allocations: 11.44 kB / 0.6667 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1847, allocations: 0 / 0.6667 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of Templates: time 0.00251/0.1872, allocations: 0.8033 MB / 0.6675 GB, free: 2.488 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)