Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008958/0.0008959, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.811/0.811, allocations: 135.2 MB / 426.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002934/0.0002935, allocations: 8 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1495, allocations: 82.3 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001271/0.1508, allocations: 0.9828 MB / 0.5882 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005896/0.1514, allocations: 323.1 kB / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.65e-05/0.1515, allocations: 0 / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.1515, allocations: 0 / 0.5885 GB, free: 1.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.541e-05/0.1515, allocations: 11.98 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.1519, allocations: 63.78 kB / 0.5885 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.929e-05/0.152, allocations: 15.97 kB / 0.5885 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.152, allocations: 0 / 0.5885 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.1521, allocations: 7.938 kB / 0.5886 GB, free: 1.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.1521, allocations: 11.98 kB / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1521, allocations: 0 / 0.5886 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.1524, allocations: 179.7 kB / 0.5887 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.1524, allocations: 4 kB / 0.5887 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.1525, allocations: 29.64 kB / 0.5888 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.1526, allocations: 60.16 kB / 0.5888 GB, free: 1.414 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.1526, allocations: 3.938 kB / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1526, allocations: 0 / 0.5888 GB, free: 1.41 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1526, allocations: 0 / 0.5888 GB, free: 1.41 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003796/0.153, allocations: 343.3 kB / 0.5892 GB, free: 1.027 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1531, allocations: 8.031 kB / 0.5892 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1531, allocations: 3.984 kB / 0.5892 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.1533, allocations: 175 kB / 0.5893 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.1533, allocations: 0 / 0.5893 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.1533, allocations: 8 kB / 0.5893 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.1534, allocations: 33.7 kB / 0.5894 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1534, allocations: 3.984 kB / 0.5894 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1534, allocations: 0 / 0.5894 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1535, allocations: 0 / 0.5894 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.1535, allocations: 12 kB / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1537, allocations: 157.6 kB / 0.5895 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.1539, allocations: 50.55 kB / 0.5896 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.1539, allocations: 4 kB / 0.5896 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.154, allocations: 30.56 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.154, allocations: 0 / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.000622/0.1546, allocations: 310.2 kB / 0.5899 GB, free: 84 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.1546, allocations: 51.41 kB / 0.59 GB, free: 20 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.1547, allocations: 97.94 kB / 0.5901 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1548, allocations: 33.7 kB / 0.5901 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.844e-05/0.1548, allocations: 84.05 kB / 0.5902 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1548, allocations: 15.8 kB / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-06/0.1548, allocations: 0 / 0.5902 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.852e-05/0.1549, allocations: 318.8 kB / 0.5905 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.155, allocations: 11.92 kB / 0.5905 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.155, allocations: 15.94 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.155, allocations: 16.11 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.155, allocations: 0 / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.418e-05/0.1551, allocations: 73.58 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1551, allocations: 8 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1552, allocations: 0 / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.1552, allocations: 0 / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.753e-05/0.1552, allocations: 8 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1552, allocations: 4 kB / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.846e-05/0.1553, allocations: 3.984 kB / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.1553, allocations: 0.5156 kB / 0.5906 GB, free: 15.31 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.39e-05/0.1553, allocations: 121.7 kB / 0.5907 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.1554, allocations: 7.938 kB / 0.5908 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001233/0.1555, allocations: 65.66 kB / 0.5908 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1555, allocations: 4 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.1555, allocations: 0 / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1555, allocations: 7.969 kB / 0.5908 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.1558, allocations: 319.4 kB / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1558, allocations: 0 / 0.5911 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.1559, allocations: 12 kB / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1559, allocations: 4.031 kB / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.1559, allocations: 0 / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1559, allocations: 0 / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.1559, allocations: 0 / 0.5911 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1561, allocations: 202.1 kB / 0.5913 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1561, allocations: 81.09 kB / 0.5914 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.1562, allocations: 8.094 kB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.1562, allocations: 4 kB / 0.5914 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.1563, allocations: 4 kB / 0.5914 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.1563, allocations: 0 / 0.5914 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.991e-05/0.1563, allocations: 83.27 kB / 0.5915 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1563, allocations: 0 / 0.5915 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002314/0.1565, allocations: 27.94 kB / 0.5915 GB, free: 14.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001706/0.1567, allocations: 123.1 kB / 0.5917 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.1568, allocations: 39.92 kB / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1568, allocations: 0 / 0.5917 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.637e-05/0.1569, allocations: 19.94 kB / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.157, allocations: 2.969 kB / 0.5917 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003812/0.1574, allocations: 221.4 kB / 0.5919 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.1577, allocations: 0.6887 MB / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.831e-05/0.1577, allocations: 0 / 0.5926 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.1577, allocations: 15.44 kB / 0.5926 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1577, allocations: 0 / 0.5926 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.00236/0.1601, allocations: 0.6225 MB / 0.5932 GB, free: 12.51 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: