Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.00107/0.00107, allocations: 115.2 kB / 16.37 MB, free: 5.984 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.001046/0.001046, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 423.4 MB, free: 6.602 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 64.14 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00219/0.3683, allocations: 1.276 MB / 0.5827 GB, free: 26.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.3691, allocations: 0.6169 MB / 0.5833 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.3692, allocations: 0 / 0.5833 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.3692, allocations: 6.219 kB / 0.5834 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.411e-05/0.3692, allocations: 0 / 0.5834 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.3697, allocations: 146 kB / 0.5835 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.3698, allocations: 25.2 kB / 0.5835 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.116e-05/0.3699, allocations: 2.094 kB / 0.5835 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.395e-05/0.3699, allocations: 9.156 kB / 0.5835 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.37, allocations: 15.75 kB / 0.5835 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.37, allocations: 5.875 kB / 0.5835 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004484/0.3704, allocations: 342.2 kB / 0.5839 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.3704, allocations: 3.938 kB / 0.5839 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.998e-05/0.3705, allocations: 12.95 kB / 0.5839 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.3707, allocations: 142.5 kB / 0.584 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3707, allocations: 6.109 kB / 0.584 GB, free: 25.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3707, allocations: 0 / 0.584 GB, free: 25.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.3707, allocations: 2.531 kB / 0.584 GB, free: 25.66 MB / 446.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.0003051/0.371, allocations: 355.1 kB / 0.5844 GB, free: 25.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3711, allocations: 9.938 kB / 0.5844 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.3711, allocations: 6.062 kB / 0.5844 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.3712, allocations: 173.7 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3712, allocations: 3 kB / 0.5846 GB, free: 25.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3712, allocations: 9.406 kB / 0.5846 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.3713, allocations: 46.38 kB / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.3713, allocations: 0 / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3714, allocations: 1.25 kB / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.3714, allocations: 3.984 kB / 0.5846 GB, free: 25.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.3714, allocations: 9.844 kB / 0.5846 GB, free: 25.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001187/0.3715, allocations: 156.6 kB / 0.5848 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.3717, allocations: 48.42 kB / 0.5848 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.3717, allocations: 21.09 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.3718, allocations: 1.844 kB / 0.5848 GB, free: 24.76 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.278e-05/0.3718, allocations: 35.62 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3718, allocations: 1.5 kB / 0.5849 GB, free: 24.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005384/0.3723, allocations: 301.7 kB / 0.5852 GB, free: 24.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.3724, allocations: 53.59 kB / 0.5852 GB, free: 24.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.3724, allocations: 102.2 kB / 0.5853 GB, free: 24.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.3724, allocations: 25.7 kB / 0.5853 GB, free: 24.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.742e-05/0.3725, allocations: 84.08 kB / 0.5854 GB, free: 24.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3725, allocations: 23.75 kB / 0.5854 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.3725, allocations: 21.23 kB / 0.5855 GB, free: 24.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.766e-05/0.3726, allocations: 313.8 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.3726, allocations: 12.34 kB / 0.5858 GB, free: 23.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.3726, allocations: 15.05 kB / 0.5858 GB, free: 23.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.3727, allocations: 33.08 kB / 0.5858 GB, free: 23.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.3727, allocations: 0 / 0.5858 GB, free: 23.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.375e-05/0.3728, allocations: 64.78 kB / 0.5859 GB, free: 23.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3728, allocations: 4.188 kB / 0.5859 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3728, allocations: 1.469 kB / 0.5859 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3728, allocations: 4.969 kB / 0.5859 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.432e-05/0.3729, allocations: 13.12 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.3729, allocations: 5.297 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.3729, allocations: 1.094 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.3729, allocations: 3.062 kB / 0.5859 GB, free: 23.7 MB / 446.1 MB 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 4.842e-05/0.373, allocations: 112.6 kB / 0.586 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.373, allocations: 6.219 kB / 0.586 GB, free: 23.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.3731, allocations: 75.03 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3731, allocations: 1.125 kB / 0.5861 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3732, allocations: 16.48 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3732, allocations: 1.625 kB / 0.5861 GB, free: 23.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3734, allocations: 316.9 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3734, allocations: 1.188 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.3735, allocations: 14.56 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3735, allocations: 1.5 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3735, allocations: 0 / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3735, allocations: 2.438 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3735, allocations: 3.984 kB / 0.5864 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.3737, allocations: 176.9 kB / 0.5866 GB, free: 23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.3737, allocations: 83.91 kB / 0.5867 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3737, allocations: 1.938 kB / 0.5867 GB, free: 22.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.28e-05/0.3738, allocations: 5.188 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.3738, allocations: 3.125 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.3739, allocations: 8.516 kB / 0.5867 GB, free: 22.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.479e-05/0.3739, allocations: 84.77 kB / 0.5868 GB, free: 22.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3739, allocations: 0 / 0.5868 GB, free: 22.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3742, allocations: 27.03 kB / 0.5868 GB, free: 22.8 MB / 446.1 MB 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 (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.0001696/0.3743, allocations: 120.9 kB / 0.5869 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001022/0.3744, allocations: 32.52 kB / 0.587 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3744, allocations: 1.938 kB / 0.587 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/0.3745, allocations: 21 kB / 0.587 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.3747, allocations: 3.375 kB / 0.587 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.3751, allocations: 192.9 kB / 0.5872 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3752, allocations: 0.6801 MB / 0.5878 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.824e-05/0.3752, allocations: 5.812 kB / 0.5878 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.3752, allocations: 18.86 kB / 0.5879 GB, free: 21.81 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3752, allocations: 0 / 0.5879 GB, free: 21.81 MB / 446.1 MB Notification: Performance of Templates: time 0.00267/0.3779, allocations: 0.6485 MB / 0.5885 GB, free: 21.53 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)