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.001411/0.001411, allocations: 106 kB / 16.41 MB, free: 6.492 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.001484/0.001485, allocations: 189.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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8149/0.8149, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 62.69 kB / 0.5863 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.163, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002611/0.1656, allocations: 1.252 MB / 0.6665 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1668, allocations: 0.6191 MB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.1669, allocations: 0 / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.17e-05/0.1669, allocations: 7.938 kB / 0.6671 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.167, allocations: 7.969 kB / 0.6671 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006987/0.1677, allocations: 143.4 kB / 0.6673 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.1678, allocations: 11.94 kB / 0.6673 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.1678, allocations: 7.984 kB / 0.6673 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.652e-05/0.1679, allocations: 11.94 kB / 0.6673 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.1679, allocations: 7.984 kB / 0.6673 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.168, allocations: 3.938 kB / 0.6673 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.1685, allocations: 347.3 kB / 0.6676 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1685, allocations: 7.969 kB / 0.6677 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1686, allocations: 11.94 kB / 0.6677 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002856/0.1689, allocations: 143.6 kB / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1689, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.894e-06/0.1689, allocations: 0 / 0.6678 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1689, allocations: 0 / 0.6678 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.000486/0.1694, allocations: 363.3 kB / 0.6681 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.1694, allocations: 13.11 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1695, allocations: 0.9375 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1696, allocations: 168.3 kB / 0.6683 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1697, allocations: 8.312 kB / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.1697, allocations: 384 / 0.6683 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.1698, allocations: 49.61 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1698, allocations: 4 kB / 0.6684 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.1699, allocations: 0 / 0.6684 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1699, allocations: 3.938 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.612e-05/0.1699, allocations: 15.98 kB / 0.6684 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1701, allocations: 153.7 kB / 0.6685 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.1703, allocations: 50.5 kB / 0.6686 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.1704, allocations: 16.86 kB / 0.6686 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.1704, allocations: 3.938 kB / 0.6686 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1704, allocations: 34.56 kB / 0.6686 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.1704, allocations: 0 / 0.6686 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006728/0.1711, allocations: 318.3 kB / 0.669 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1712, allocations: 51.41 kB / 0.669 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.437e-05/0.1712, allocations: 93.86 kB / 0.6691 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.1713, allocations: 29.7 kB / 0.6691 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.1713, allocations: 84.14 kB / 0.6692 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.863e-05/0.1713, allocations: 15.7 kB / 0.6692 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1714, allocations: 17.72 kB / 0.6692 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1715, allocations: 322.8 kB / 0.6695 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.1716, allocations: 12 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.1716, allocations: 11.94 kB / 0.6696 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.768e-05/0.1716, allocations: 36.84 kB / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1717, allocations: 0 / 0.6696 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.1718, allocations: 65.62 kB / 0.6697 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1718, allocations: 7.984 kB / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1718, allocations: 0 / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1718, allocations: 0 / 0.6697 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.439e-05/0.1719, allocations: 16 kB / 0.6697 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.1719, allocations: 3.938 kB / 0.6697 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.1719, allocations: 7.938 kB / 0.6697 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1719, allocations: 0 / 0.6697 GB, free: 1.02 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.366e-05/0.172, allocations: 117.8 kB / 0.6698 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.172, allocations: 3.906 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1722, allocations: 77.81 kB / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1722, allocations: 0.5156 kB / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1722, allocations: 128 / 0.6699 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1722, allocations: 4 kB / 0.6699 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.1725, allocations: 315.4 kB / 0.6702 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.1725, allocations: 4 kB / 0.6702 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.1726, allocations: 15.92 kB / 0.6702 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.1726, allocations: 0 / 0.6702 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1726, allocations: 7.984 kB / 0.6702 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1726, allocations: 0 / 0.6702 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1726, allocations: 3.938 kB / 0.6702 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.1728, allocations: 184.3 kB / 0.6704 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1729, allocations: 89.05 kB / 0.6705 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.1729, allocations: 0 / 0.6705 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.173, allocations: 4 kB / 0.6705 GB, free: 100 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.639e-05/0.173, allocations: 3.984 kB / 0.6705 GB, free: 96 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.173, allocations: 4 kB / 0.6705 GB, free: 92 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.746e-05/0.1731, allocations: 83.22 kB / 0.6706 GB, free: 8 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1731, allocations: 0 / 0.6706 GB, free: 8 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002654/0.1734, allocations: 24.11 kB / 0.6706 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.0001953/0.1736, allocations: 124.4 kB / 0.6707 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1737, allocations: 28 kB / 0.6707 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1737, allocations: 0 / 0.6707 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.93e-05/0.1737, allocations: 23.92 kB / 0.6708 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.0002224/0.174, allocations: 8 kB / 0.6708 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004621/0.1744, allocations: 230.1 kB / 0.671 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1747, allocations: 0.6807 MB / 0.6717 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1747, allocations: 11.44 kB / 0.6717 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1747, allocations: 4 kB / 0.6717 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of Templates: time 0.002594/0.1773, allocations: 0.8026 MB / 0.6725 GB, free: 14.02 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)