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.005594/0.005594, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001142/0.001142, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8116/0.8116, allocations: 132.2 MB / 422.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 62.33 kB / 0.5813 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1642, allocations: 80.21 MB / 0.6597 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002374/0.1666, allocations: 1.256 MB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.1677, allocations: 0.6191 MB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.1677, allocations: 0 / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.694e-05/0.1678, allocations: 3.938 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.708e-05/0.1679, allocations: 7.938 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.1685, allocations: 147.4 kB / 0.6617 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.998e-05/0.1686, allocations: 19.92 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.1686, allocations: 4 kB / 0.6617 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.935e-05/0.1687, allocations: 7.938 kB / 0.6617 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.545e-05/0.1687, allocations: 3.984 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.1687, allocations: 4 kB / 0.6617 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005145/0.1693, allocations: 343.3 kB / 0.662 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1693, allocations: 8 kB / 0.662 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1693, allocations: 7.922 kB / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1696, allocations: 155.6 kB / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1696, allocations: 0 / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1696, allocations: 0 / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.1696, allocations: 0 / 0.6622 GB, free: 7.695 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.0003972/0.17, allocations: 355.5 kB / 0.6625 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1701, allocations: 8.031 kB / 0.6625 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1701, allocations: 8.844 kB / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.1703, allocations: 164.4 kB / 0.6627 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1703, allocations: 4.375 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1703, allocations: 12.31 kB / 0.6627 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.863e-05/0.1704, allocations: 45.56 kB / 0.6628 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1704, allocations: 0 / 0.6628 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1704, allocations: 4 kB / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.1704, allocations: 0 / 0.6628 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.544e-05/0.1705, allocations: 4 kB / 0.6628 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.1706, allocations: 161.7 kB / 0.6629 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.1708, allocations: 46.55 kB / 0.663 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.39e-05/0.1709, allocations: 20.94 kB / 0.663 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1709, allocations: 3.938 kB / 0.663 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1709, allocations: 30.56 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1709, allocations: 0 / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005906/0.1715, allocations: 310.2 kB / 0.6633 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.1716, allocations: 51.41 kB / 0.6634 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.559e-05/0.1716, allocations: 109.8 kB / 0.6635 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1717, allocations: 25.7 kB / 0.6635 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.1717, allocations: 80.14 kB / 0.6636 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1717, allocations: 19.72 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1718, allocations: 21.7 kB / 0.6636 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.1719, allocations: 310.8 kB / 0.6639 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.89e-05/0.1719, allocations: 15.98 kB / 0.6639 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.1719, allocations: 12 kB / 0.6639 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.172, allocations: 32.8 kB / 0.664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.172, allocations: 7.938 kB / 0.664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001068/0.1721, allocations: 73.59 kB / 0.664 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1721, allocations: 8 kB / 0.664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1722, allocations: 0 / 0.664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1722, allocations: 0 / 0.664 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.248e-05/0.1722, allocations: 11.98 kB / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1722, allocations: 0 / 0.6641 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.661e-05/0.1723, allocations: 4 kB / 0.6641 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.1723, allocations: 0 / 0.6641 GB, free: 5.504 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.827e-05/0.1723, allocations: 126.6 kB / 0.6642 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.1724, allocations: 0 / 0.6642 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1725, allocations: 77.8 kB / 0.6643 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1725, allocations: 4 kB / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.1725, allocations: 0 / 0.6643 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1725, allocations: 3.938 kB / 0.6643 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.1728, allocations: 315.3 kB / 0.6646 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.1729, allocations: 4.031 kB / 0.6646 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.04e-05/0.1729, allocations: 12 kB / 0.6646 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1729, allocations: 0 / 0.6646 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.1729, allocations: 7.984 kB / 0.6646 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.173, allocations: 0 / 0.6646 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.173, allocations: 7.938 kB / 0.6646 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.1731, allocations: 176.2 kB / 0.6648 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.1732, allocations: 81.16 kB / 0.6648 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1733, allocations: 8.031 kB / 0.6649 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.963e-05/0.1733, allocations: 192 / 0.6649 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.1734, allocations: 4 kB / 0.6649 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.1734, allocations: 11.98 kB / 0.6649 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.249e-05/0.1734, allocations: 83.22 kB / 0.6649 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1734, allocations: 0 / 0.6649 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002464/0.1737, allocations: 20 kB / 0.665 GB, free: 4.457 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.0001694/0.1738, allocations: 127.2 kB / 0.6651 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.892e-05/0.174, allocations: 31.98 kB / 0.6651 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.174, allocations: 0 / 0.6651 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.829e-05/0.174, allocations: 15.94 kB / 0.6651 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1742, allocations: 9.703 kB / 0.6651 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.1746, allocations: 192.7 kB / 0.6653 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.1749, allocations: 0.6807 MB / 0.666 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.1749, allocations: 7.984 kB / 0.666 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.915e-05/0.1749, allocations: 11.44 kB / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.1749, allocations: 4 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of Templates: time 0.002762/0.1777, allocations: 0.634 MB / 0.6666 GB, free: 2.723 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)