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.0008664/0.0008664, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008276/0.0008278, allocations: 168.7 kB / 15.95 MB, free: 204 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.405/1.405, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9952/0.9952, allocations: 135.3 MB / 426.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003302, allocations: 12 kB / 0.507 GB, free: 5.137 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1565, allocations: 82.3 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001579/0.1581, allocations: 1.169 MB / 0.5885 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.1592, allocations: 0.5883 MB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.1593, allocations: 0 / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.1593, allocations: 3.984 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.1594, allocations: 3.938 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005476/0.1599, allocations: 131.6 kB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.16, allocations: 47.84 kB / 0.5893 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.1601, allocations: 0 / 0.5893 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.1601, allocations: 27.91 kB / 0.5893 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.012e-05/0.1602, allocations: 23.92 kB / 0.5893 GB, free: 1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1602, allocations: 4 kB / 0.5893 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005025/0.1607, allocations: 339.3 kB / 0.5896 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.1608, allocations: 11.98 kB / 0.5897 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.1608, allocations: 37.64 kB / 0.5897 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.161, allocations: 120 kB / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.161, allocations: 0 / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1611, allocations: 0 / 0.5898 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1611, allocations: 0 / 0.5898 GB, free: 0.4922 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.0005714/0.1616, allocations: 391.2 kB / 0.5902 GB, free: 64 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1617, allocations: 8.031 kB / 0.5902 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.1617, allocations: 19.78 kB / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1619, allocations: 167 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.1619, allocations: 4 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.162, allocations: 8 kB / 0.5904 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1622, allocations: 92.7 kB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1622, allocations: 4 kB / 0.5905 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.1622, allocations: 4 kB / 0.5905 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1623, allocations: 3.984 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002129/0.1625, allocations: 55.95 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005461/0.163, allocations: 336.6 kB / 0.5909 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.1633, allocations: 90.53 kB / 0.5909 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.1634, allocations: 28.84 kB / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.1634, allocations: 0 / 0.591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1635, allocations: 34.56 kB / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.1635, allocations: 0 / 0.591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001581/0.1651, allocations: 0.6724 MB / 0.5917 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.1651, allocations: 59.34 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.351e-05/0.1652, allocations: 101.8 kB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1652, allocations: 29.7 kB / 0.5918 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.333e-05/0.1653, allocations: 88.05 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1653, allocations: 39.45 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.1654, allocations: 4 kB / 0.592 GB, free: 14 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1655, allocations: 318.8 kB / 0.5923 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1656, allocations: 27.98 kB / 0.5923 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1657, allocations: 39.97 kB / 0.5923 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.1658, allocations: 39.98 kB / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1659, allocations: 0 / 0.5924 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002889/0.1662, allocations: 125.7 kB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1662, allocations: 4 kB / 0.5925 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1662, allocations: 7.953 kB / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1662, allocations: 96 / 0.5925 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1664, allocations: 35.86 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1664, allocations: 0 / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.1664, allocations: 11.98 kB / 0.5926 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.1665, allocations: 4 kB / 0.5926 GB, free: 13.38 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.618e-05/0.1666, allocations: 113.8 kB / 0.5927 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.794e-05/0.1666, allocations: 8 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.167, allocations: 141.4 kB / 0.5928 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.167, allocations: 3.953 kB / 0.5928 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.167, allocations: 0 / 0.5928 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.167, allocations: 4 kB / 0.5928 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005542/0.1676, allocations: 390.5 kB / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1676, allocations: 0 / 0.5932 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000142/0.1677, allocations: 35.91 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1677, allocations: 3.953 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1678, allocations: 4 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1678, allocations: 4 kB / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1678, allocations: 0 / 0.5932 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004917/0.1683, allocations: 263.3 kB / 0.5935 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1683, allocations: 81.33 kB / 0.5936 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.1683, allocations: 3.953 kB / 0.5936 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1685, allocations: 15.97 kB / 0.5936 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.651e-05/0.1685, allocations: 4 kB / 0.5936 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.1685, allocations: 11.92 kB / 0.5936 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.1685, allocations: 83.28 kB / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1686, allocations: 0 / 0.5937 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002802/0.1688, allocations: 39.94 kB / 0.5937 GB, free: 12.08 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 (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.0002127/0.1691, allocations: 139.2 kB / 0.5938 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003014/0.1694, allocations: 89.12 kB / 0.5939 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1694, allocations: 7.938 kB / 0.5939 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.1695, allocations: 47.97 kB / 0.594 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1698, allocations: 8 kB / 0.594 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.1705, allocations: 385.1 kB / 0.5944 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1708, allocations: 0.6934 MB / 0.595 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.225e-05/0.1709, allocations: 16.59 kB / 0.5951 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.1709, allocations: 15.44 kB / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of SimCode: time 4.6e-07/0.1709, allocations: 0 / 0.5951 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.003403/0.1743, allocations: 1.07 MB / 0.5961 GB, free: 9.605 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)