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.001019/0.001024, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7467/0.7467, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 62.47 kB / 0.5018 GB, free: 8.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1471, allocations: 80.21 MB / 0.5801 GB, free: 8.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002203/0.1493, allocations: 1.259 MB / 0.5813 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.1503, allocations: 0.6205 MB / 0.5819 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.1503, allocations: 3.938 kB / 0.5819 GB, free: 6.828 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.1503, allocations: 3.938 kB / 0.582 GB, free: 6.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.1504, allocations: 3.938 kB / 0.582 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1509, allocations: 158.1 kB / 0.5821 GB, free: 6.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.29e-05/0.1509, allocations: 27.92 kB / 0.5821 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.151, allocations: 4 kB / 0.5821 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.151, allocations: 8 kB / 0.5821 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.1511, allocations: 19.91 kB / 0.5822 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.1511, allocations: 7.938 kB / 0.5822 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004723/0.1516, allocations: 339.3 kB / 0.5825 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.1516, allocations: 15.92 kB / 0.5825 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1516, allocations: 11.92 kB / 0.5825 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1518, allocations: 151.9 kB / 0.5827 GB, free: 6.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1519, allocations: 8 kB / 0.5827 GB, free: 6.086 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1519, allocations: 0 / 0.5827 GB, free: 6.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1519, allocations: 0 / 0.5827 GB, free: 6.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003662/0.1522, allocations: 367.3 kB / 0.583 GB, free: 5.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.1523, allocations: 8.031 kB / 0.583 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1523, allocations: 4.938 kB / 0.583 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.1524, allocations: 164.4 kB / 0.5832 GB, free: 5.469 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1524, allocations: 12.36 kB / 0.5832 GB, free: 5.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1525, allocations: 4.375 kB / 0.5832 GB, free: 5.453 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1526, allocations: 53.81 kB / 0.5833 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1526, allocations: 0 / 0.5833 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1526, allocations: 0 / 0.5833 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.1526, allocations: 7.984 kB / 0.5833 GB, free: 5.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.1527, allocations: 15.94 kB / 0.5833 GB, free: 5.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.1528, allocations: 173.5 kB / 0.5834 GB, free: 5.152 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.1529, allocations: 58.56 kB / 0.5835 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.153, allocations: 32.84 kB / 0.5835 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.153, allocations: 0 / 0.5835 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.153, allocations: 42.5 kB / 0.5836 GB, free: 5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.1531, allocations: 0 / 0.5836 GB, free: 5 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001038/0.1541, allocations: 0.5798 MB / 0.5841 GB, free: 4.328 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.1541, allocations: 55.41 kB / 0.5842 GB, free: 4.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.1542, allocations: 89.86 kB / 0.5843 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1542, allocations: 33.7 kB / 0.5843 GB, free: 4.125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.1543, allocations: 80.14 kB / 0.5844 GB, free: 4.043 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.1543, allocations: 39.39 kB / 0.5844 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.1543, allocations: 29.7 kB / 0.5845 GB, free: 3.969 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1545, allocations: 323 kB / 0.5848 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.1545, allocations: 19.98 kB / 0.5848 GB, free: 3.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.698e-05/0.1545, allocations: 23.98 kB / 0.5848 GB, free: 3.602 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/0.1546, allocations: 48.95 kB / 0.5849 GB, free: 3.551 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1546, allocations: 7.875 kB / 0.5849 GB, free: 3.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001439/0.1548, allocations: 108.2 kB / 0.585 GB, free: 3.434 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1548, allocations: 10.66 kB / 0.585 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1548, allocations: 3.984 kB / 0.585 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.1548, allocations: 0 / 0.585 GB, free: 3.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.754e-05/0.1549, allocations: 20 kB / 0.585 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.155, allocations: 4 kB / 0.585 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.55e-05/0.155, allocations: 4 kB / 0.585 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.155, allocations: 4 kB / 0.585 GB, free: 3.391 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.1551, allocations: 122.4 kB / 0.5851 GB, free: 3.262 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.1551, allocations: 4 kB / 0.5851 GB, free: 3.258 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1553, allocations: 97.94 kB / 0.5852 GB, free: 3.156 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1553, allocations: 4 kB / 0.5852 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1553, allocations: 4 kB / 0.5852 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1553, allocations: 0 / 0.5852 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.1557, allocations: 362.4 kB / 0.5856 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1557, allocations: 4 kB / 0.5856 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1558, allocations: 19.98 kB / 0.5856 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1558, allocations: 0 / 0.5856 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1558, allocations: 0 / 0.5856 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1558, allocations: 4 kB / 0.5856 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1558, allocations: 3.984 kB / 0.5856 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.1561, allocations: 229.6 kB / 0.5858 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.1561, allocations: 85.05 kB / 0.5859 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.1561, allocations: 0 / 0.5859 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.67e-05/0.1562, allocations: 4 kB / 0.5859 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.1563, allocations: 7.984 kB / 0.5859 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1563, allocations: 4 kB / 0.5859 GB, free: 2.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.94e-05/0.1563, allocations: 87.22 kB / 0.586 GB, free: 2.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1563, allocations: 4.156 kB / 0.586 GB, free: 2.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1566, allocations: 31.98 kB / 0.586 GB, free: 2.23 MB / 494.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 (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.0001796/0.1568, allocations: 135.2 kB / 0.5862 GB, free: 2.086 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1569, allocations: 71.84 kB / 0.5862 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1569, allocations: 0 / 0.5862 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.536e-05/0.157, allocations: 31.92 kB / 0.5863 GB, free: 1.984 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.1572, allocations: 8.938 kB / 0.5863 GB, free: 1.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.1577, allocations: 288.7 kB / 0.5866 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.1579, allocations: 0.6846 MB / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.189e-05/0.158, allocations: 12 kB / 0.5872 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.158, allocations: 15.42 kB / 0.5872 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.158, allocations: 0 / 0.5872 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of Templates: time 0.002858/0.1609, allocations: 0.9405 MB / 0.5882 GB, free: 24 kB / 494.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)