Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001565, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001533/0.001533, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.935/0.935, allocations: 135.6 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 64.45 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1536, allocations: 81.03 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00274/0.1564, allocations: 1.527 MB / 0.586 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.1574, allocations: 0.6228 MB / 0.5866 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.205e-05/0.1575, allocations: 4 kB / 0.5866 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.245e-05/0.1575, allocations: 7.922 kB / 0.5866 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.923e-05/0.1576, allocations: 7.922 kB / 0.5866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1581, allocations: 139.6 kB / 0.5868 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.938e-05/0.1582, allocations: 47.84 kB / 0.5868 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.377e-05/0.1582, allocations: 4 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.86e-05/0.1583, allocations: 27.92 kB / 0.5868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.1583, allocations: 27.91 kB / 0.5869 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1584, allocations: 4 kB / 0.5869 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004843/0.1588, allocations: 343.3 kB / 0.5872 GB, free: 1.551 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.048e-05/0.1589, allocations: 19.91 kB / 0.5872 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.1589, allocations: 23.86 kB / 0.5872 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.1592, allocations: 175.8 kB / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1592, allocations: 0 / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1592, allocations: 0 / 0.5874 GB, free: 1.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.1592, allocations: 3.938 kB / 0.5874 GB, free: 1.332 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006229/0.1599, allocations: 403.3 kB / 0.5878 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1599, allocations: 8.031 kB / 0.5878 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.1599, allocations: 8.844 kB / 0.5878 GB, free: 0.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1601, allocations: 168.3 kB / 0.588 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1601, allocations: 4.375 kB / 0.588 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.1601, allocations: 12.36 kB / 0.588 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.1604, allocations: 85.72 kB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1604, allocations: 7.906 kB / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.1604, allocations: 0 / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1604, allocations: 0 / 0.5881 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002318/0.1607, allocations: 51.95 kB / 0.5881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1612, allocations: 332.6 kB / 0.5884 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002794/0.1615, allocations: 74.53 kB / 0.5885 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.1616, allocations: 24.84 kB / 0.5885 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1617, allocations: 8 kB / 0.5885 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.1617, allocations: 34.5 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.1617, allocations: 4 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001663/0.1634, allocations: 0.6457 MB / 0.5892 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.1634, allocations: 55.34 kB / 0.5893 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1636, allocations: 101.8 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.1636, allocations: 29.7 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.1637, allocations: 84.14 kB / 0.5895 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.1637, allocations: 35.45 kB / 0.5895 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.902e-05/0.1638, allocations: 29.7 kB / 0.5895 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1639, allocations: 318.8 kB / 0.5898 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.164, allocations: 31.97 kB / 0.5899 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1642, allocations: 35.86 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.1644, allocations: 76.95 kB / 0.59 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1644, allocations: 3.938 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003165/0.1648, allocations: 121.5 kB / 0.5901 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1648, allocations: 4 kB / 0.5901 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1648, allocations: 12 kB / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1648, allocations: 0 / 0.5901 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.165, allocations: 27.92 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.165, allocations: 0 / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.165, allocations: 4 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1651, allocations: 8.078 kB / 0.5901 GB, free: 14.22 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 9.556e-05/0.1652, allocations: 125.7 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1652, allocations: 4.094 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.1656, allocations: 125.6 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.164e-06/0.1656, allocations: 7.922 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1656, allocations: 0 / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1656, allocations: 3.984 kB / 0.5904 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.1662, allocations: 382.4 kB / 0.5908 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1662, allocations: 0 / 0.5908 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.1664, allocations: 31.92 kB / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1664, allocations: 0 / 0.5908 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1664, allocations: 11.98 kB / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1664, allocations: 0 / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1664, allocations: 80 / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004989/0.1669, allocations: 247.3 kB / 0.591 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.167, allocations: 89.14 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.167, allocations: 4 kB / 0.5911 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1671, allocations: 7.984 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.1671, allocations: 4 kB / 0.5911 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.1672, allocations: 8 kB / 0.5911 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.098e-05/0.1672, allocations: 79.27 kB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1672, allocations: 0 / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002866/0.1675, allocations: 43.94 kB / 0.5913 GB, free: 12.96 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.000213/0.1677, allocations: 131.2 kB / 0.5914 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003385/0.1681, allocations: 95.83 kB / 0.5915 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1681, allocations: 4 kB / 0.5915 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.1682, allocations: 51.41 kB / 0.5915 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.1686, allocations: 11.98 kB / 0.5915 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000685/0.1692, allocations: 349.5 kB / 0.5919 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1695, allocations: 0.6885 MB / 0.5926 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.202e-05/0.1696, allocations: 20.59 kB / 0.5926 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.491e-05/0.1697, allocations: 19.44 kB / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1697, allocations: 0 / 0.5926 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.00361/0.1733, allocations: 1.128 MB / 0.5937 GB, free: 10.46 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)