Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001281/0.001281, allocations: 194.1 kB / 16.25 MB, free: 6.594 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.337/1.337, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9189/0.9189, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 75.58 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1519, allocations: 81.01 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002277/0.1542, allocations: 1.344 MB / 0.5858 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.1551, allocations: 0.6244 MB / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.99e-05/0.1552, allocations: 0 / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.32e-05/0.1552, allocations: 0 / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.1552, allocations: 0 / 0.5864 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.1557, allocations: 146.9 kB / 0.5866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.85e-05/0.1557, allocations: 23.92 kB / 0.5866 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.398e-05/0.1558, allocations: 4 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.1558, allocations: 11.98 kB / 0.5866 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.1558, allocations: 15.92 kB / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.1558, allocations: 0 / 0.5866 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.1563, allocations: 339.3 kB / 0.5869 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.1563, allocations: 15.91 kB / 0.587 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.402e-05/0.1563, allocations: 19.94 kB / 0.587 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1566, allocations: 147.9 kB / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1566, allocations: 0 / 0.5871 GB, free: 1.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1566, allocations: 4 kB / 0.5871 GB, free: 1.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.1566, allocations: 0 / 0.5871 GB, free: 1.613 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003903/0.157, allocations: 371.3 kB / 0.5875 GB, free: 1.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.157, allocations: 12.03 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.022e-05/0.1571, allocations: 0.9375 kB / 0.5875 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1572, allocations: 168.3 kB / 0.5876 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1572, allocations: 4.375 kB / 0.5876 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1572, allocations: 4.375 kB / 0.5877 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1574, allocations: 57.8 kB / 0.5877 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1574, allocations: 4 kB / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1574, allocations: 0 / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.1574, allocations: 0 / 0.5877 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.932e-05/0.1574, allocations: 23.92 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.1576, allocations: 169.5 kB / 0.5879 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.1577, allocations: 54.56 kB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.1578, allocations: 28.84 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1578, allocations: 8 kB / 0.588 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.1578, allocations: 34.5 kB / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1578, allocations: 0 / 0.588 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001059/0.1589, allocations: 0.5917 MB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.1589, allocations: 51.41 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.159, allocations: 97.84 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.159, allocations: 29.7 kB / 0.5888 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.1591, allocations: 80.14 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1591, allocations: 39.39 kB / 0.5889 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.1592, allocations: 29.72 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1593, allocations: 319 kB / 0.5892 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.845e-05/0.1593, allocations: 20 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.906e-05/0.1594, allocations: 23.98 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.995e-05/0.1595, allocations: 48.86 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1595, allocations: 7.875 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001471/0.1596, allocations: 113.3 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.1597, allocations: 4 kB / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.1597, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1597, allocations: 0 / 0.5894 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.454e-05/0.1598, allocations: 23.98 kB / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.349e-06/0.1598, allocations: 0 / 0.5894 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.1598, allocations: 8 kB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.1598, allocations: 4 kB / 0.5895 GB, free: 14.91 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 (13): * Single equations (assignments): 13 * 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.609e-05/0.1599, allocations: 117.8 kB / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.16, allocations: 96 / 0.5896 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.1601, allocations: 113.5 kB / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1602, allocations: 0 / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1602, allocations: 0 / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1602, allocations: 0 / 0.5897 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003853/0.1606, allocations: 366.3 kB / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1606, allocations: 0 / 0.59 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-05/0.1607, allocations: 16 kB / 0.59 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1607, allocations: 4 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1607, allocations: 3.984 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1607, allocations: 0 / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1607, allocations: 80 / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.161, allocations: 225.6 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.161, allocations: 81.02 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/0.161, allocations: 4 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.1611, allocations: 8.016 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.1612, allocations: 4 kB / 0.5904 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1612, allocations: 12 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.061e-05/0.1612, allocations: 83.2 kB / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1612, allocations: 0 / 0.5904 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000244/0.1615, allocations: 32 kB / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0001923/0.1617, allocations: 131.3 kB / 0.5906 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001501/0.1618, allocations: 75.84 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1618, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.1619, allocations: 35.92 kB / 0.5907 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.1621, allocations: 8 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005206/0.1627, allocations: 300.9 kB / 0.591 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.163, allocations: 0.6884 MB / 0.5917 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.562e-05/0.163, allocations: 11.98 kB / 0.5917 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.1631, allocations: 11.44 kB / 0.5917 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1631, allocations: 4 kB / 0.5917 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of Templates: time 0.003202/0.1663, allocations: 0.9343 MB / 0.5926 GB, free: 11.54 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)