Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0008552/0.0008552, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008943/0.0008943, allocations: 172.7 kB / 15.95 MB, free: 208 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.166/1.166, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6532/0.6532, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002602/0.0002603, allocations: 8.219 kB / 0.5034 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3286, allocations: 81.58 MB / 0.5831 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.0009623/0.3296, allocations: 0.9961 MB / 0.5841 GB, free: 3.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007121/0.3303, allocations: 0.5716 MB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.445e-05/0.3303, allocations: 0 / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.107e-05/0.3303, allocations: 0.6562 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.3304, allocations: 1.766 kB / 0.5846 GB, free: 2.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.3308, allocations: 127.1 kB / 0.5847 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.3308, allocations: 27.62 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.3308, allocations: 2.219 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.3309, allocations: 11.52 kB / 0.5848 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.674e-05/0.3309, allocations: 19.92 kB / 0.5848 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.3309, allocations: 1.219 kB / 0.5848 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.3314, allocations: 333 kB / 0.5851 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.07e-05/0.3314, allocations: 6.688 kB / 0.5851 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.3314, allocations: 33.42 kB / 0.5851 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3316, allocations: 105.4 kB / 0.5853 GB, free: 2.598 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3316, allocations: 0 / 0.5853 GB, free: 2.598 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3316, allocations: 0 / 0.5853 GB, free: 2.598 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.3316, allocations: 0 / 0.5853 GB, free: 2.598 MB / 430.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.0002655/0.3319, allocations: 365.9 kB / 0.5856 GB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.3319, allocations: 9.812 kB / 0.5856 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.332, allocations: 6.812 kB / 0.5856 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.259e-05/0.332, allocations: 168.5 kB / 0.5858 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.332, allocations: 2.094 kB / 0.5858 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.3321, allocations: 11.56 kB / 0.5858 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.3322, allocations: 48.78 kB / 0.5858 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3322, allocations: 1.5 kB / 0.5858 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.3322, allocations: 5.156 kB / 0.5858 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3322, allocations: 0.6875 kB / 0.5858 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.482e-05/0.3323, allocations: 22.36 kB / 0.5859 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001137/0.3324, allocations: 166.7 kB / 0.586 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.931e-05/0.3325, allocations: 68.73 kB / 0.5861 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.3325, allocations: 24.03 kB / 0.5861 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.3325, allocations: 1.438 kB / 0.5861 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.295e-05/0.3326, allocations: 36.58 kB / 0.5861 GB, free: 1.648 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3326, allocations: 0 / 0.5861 GB, free: 1.648 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008486/0.3334, allocations: 0.586 MB / 0.5867 GB, free: 1.133 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.3334, allocations: 53.59 kB / 0.5868 GB, free: 1.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.769e-05/0.3335, allocations: 98.41 kB / 0.5869 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.3335, allocations: 30.92 kB / 0.5869 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.184e-05/0.3335, allocations: 80.14 kB / 0.587 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.3336, allocations: 36.3 kB / 0.587 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.3336, allocations: 7.875 kB / 0.587 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.3336, allocations: 323 kB / 0.5873 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.3337, allocations: 21.94 kB / 0.5873 GB, free: 500 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.3337, allocations: 21.62 kB / 0.5874 GB, free: 496 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.3338, allocations: 25.5 kB / 0.5874 GB, free: 484 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3338, allocations: 1.734 kB / 0.5874 GB, free: 484 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001232/0.3339, allocations: 95.31 kB / 0.5875 GB, free: 428 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.3339, allocations: 4.625 kB / 0.5875 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.3339, allocations: 0.7031 kB / 0.5875 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.3339, allocations: 0.8125 kB / 0.5875 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.334, allocations: 32.8 kB / 0.5875 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.334, allocations: 0.75 kB / 0.5875 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.3341, allocations: 6.484 kB / 0.5875 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.3341, allocations: 6.141 kB / 0.5875 GB, free: 408 kB / 430.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 (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 4.473e-05/0.3341, allocations: 114.7 kB / 0.5876 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3342, allocations: 3.062 kB / 0.5876 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.3343, allocations: 112.8 kB / 0.5877 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3343, allocations: 1.969 kB / 0.5878 GB, free: 216 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3343, allocations: 4 kB / 0.5878 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3343, allocations: 1.859 kB / 0.5878 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3347, allocations: 355.4 kB / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3347, allocations: 0 / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.446e-05/0.3348, allocations: 24.69 kB / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3348, allocations: 1.375 kB / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3348, allocations: 2.016 kB / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3348, allocations: 0 / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3348, allocations: 0 / 0.5881 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.335, allocations: 215.5 kB / 0.5883 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.3351, allocations: 83.5 kB / 0.5884 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3351, allocations: 5.062 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.3352, allocations: 2.547 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.3352, allocations: 10.14 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.3352, allocations: 7.188 kB / 0.5884 GB, free: 15.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.63e-05/0.3353, allocations: 81.48 kB / 0.5885 GB, free: 15.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3353, allocations: 5.531 kB / 0.5885 GB, free: 15.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.3355, allocations: 40.73 kB / 0.5886 GB, free: 15.5 MB / 446.1 MB 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 (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.0001626/0.3357, allocations: 129.5 kB / 0.5887 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.3358, allocations: 60.2 kB / 0.5887 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3358, allocations: 0 / 0.5887 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.139e-05/0.3359, allocations: 36.09 kB / 0.5888 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.3361, allocations: 7.453 kB / 0.5888 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004592/0.3366, allocations: 347 kB / 0.5891 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.3368, allocations: 0.6894 MB / 0.5898 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.41e-05/0.3368, allocations: 12.42 kB / 0.5898 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.3369, allocations: 13.44 kB / 0.5898 GB, free: 14.39 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3369, allocations: 0 / 0.5898 GB, free: 14.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002758/0.3396, allocations: 0.8931 MB / 0.5907 GB, free: 14.31 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)