Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001379/0.001379, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001755/0.001755, allocations: 190.4 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.514/1.514, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4124/0.4124, allocations: 54.93 MB / 324.4 MB, free: 116 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 394.8 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1301, allocations: 59.59 MB / 454.4 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.1998/0.33, allocations: 1.337 MB / 455.8 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008242/0.3309, allocations: 0.5266 MB / 456.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.539e-05/0.3309, allocations: 0.9375 kB / 456.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.331, allocations: 3.188 kB / 456.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.543e-05/0.3311, allocations: 7.703 kB / 456.3 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004989/0.3316, allocations: 115 kB / 456.4 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.176e-05/0.3317, allocations: 30.08 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.3317, allocations: 2.875 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.3318, allocations: 18.33 kB / 456.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.3318, allocations: 12.48 kB / 456.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3318, allocations: 3.094 kB / 456.5 MB, free: 38.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.3323, allocations: 351.8 kB / 456.8 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3323, allocations: 3 kB / 456.8 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.3323, allocations: 13.59 kB / 456.9 MB, free: 38.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.3325, allocations: 149.3 kB / 457 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3325, allocations: 0 / 457 MB, free: 38.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3326, allocations: 1.219 kB / 457 MB, free: 38.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.3326, allocations: 0 / 457 MB, free: 38.73 MB / 382.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.0003409/0.3329, allocations: 367 kB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.333, allocations: 6.719 kB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.333, allocations: 7.625 kB / 457.4 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.3331, allocations: 166.4 kB / 457.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3331, allocations: 384 / 457.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/0.3331, allocations: 7.562 kB / 457.5 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.3335, allocations: 81.89 kB / 457.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3335, allocations: 4.375 kB / 457.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3335, allocations: 5.188 kB / 457.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3335, allocations: 3.25 kB / 457.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3338, allocations: 49.91 kB / 457.7 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.3339, allocations: 170.3 kB / 457.9 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002819/0.3342, allocations: 88.97 kB / 457.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.3342, allocations: 29.53 kB / 458 MB, free: 37.9 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.3345, allocations: 109.1 kB / 458.1 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3345, allocations: 38.25 kB / 458.1 MB, free: 37.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3345, allocations: 0 / 458.1 MB, free: 37.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.004935/0.3395, allocations: 1.146 MB / 459.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.3396, allocations: 55 kB / 459.3 MB, free: 37.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.05e-05/0.3396, allocations: 92.77 kB / 459.4 MB, free: 37.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.3396, allocations: 31.95 kB / 459.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.752e-05/0.3397, allocations: 81.14 kB / 459.5 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3397, allocations: 41.42 kB / 459.6 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.3398, allocations: 32.8 kB / 459.6 MB, free: 37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.3398, allocations: 316.9 kB / 459.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.34, allocations: 60.23 kB / 460 MB, free: 36.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.3402, allocations: 55.8 kB / 460 MB, free: 36.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/0.3405, allocations: 119.3 kB / 460.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3405, allocations: 1.125 kB / 460.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003803/0.3409, allocations: 168.7 kB / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.3409, allocations: 5.312 kB / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3409, allocations: 2.719 kB / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3409, allocations: 1.5 kB / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.3412, allocations: 38.08 kB / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3412, allocations: 0 / 460.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.3414, allocations: 20.06 kB / 460.4 MB, free: 36.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.3414, allocations: 5.125 kB / 460.4 MB, free: 36.64 MB / 382.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 7.029e-05/0.3414, allocations: 113.2 kB / 460.5 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.3415, allocations: 14.78 kB / 460.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.3415, allocations: 12.39 kB / 460.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.3415, allocations: 3.438 kB / 460.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3415, allocations: 1.875 kB / 460.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3416, allocations: 1.828 kB / 460.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.3422, allocations: 442.4 kB / 460.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3422, allocations: 0.9375 kB / 460.9 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000237/0.3425, allocations: 33.48 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3425, allocations: 3.781 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3425, allocations: 3.141 kB / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3425, allocations: 0 / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3425, allocations: 0 / 461 MB, free: 36.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005941/0.3431, allocations: 330.1 kB / 461.3 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.778e-05/0.3431, allocations: 79.17 kB / 461.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.3432, allocations: 6.875 kB / 461.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.3434, allocations: 14.97 kB / 461.4 MB, free: 35.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/0.3434, allocations: 12.66 kB / 461.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.3434, allocations: 7.5 kB / 461.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.3434, allocations: 78.91 kB / 461.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3435, allocations: 0 / 461.5 MB, free: 35.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.3437, allocations: 20.34 kB / 461.5 MB, free: 35.89 MB / 382.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.326e-05/0.3438, allocations: 103 kB / 461.6 MB, free: 35.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.3442, allocations: 147.7 kB / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3442, allocations: 0 / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.3444, allocations: 65.97 kB / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3446, allocations: 7.344 kB / 461.8 MB, free: 35.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.3457, allocations: 432.7 kB / 462.3 MB, free: 35.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.3458, allocations: 0.6907 MB / 462.9 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.3459, allocations: 15.02 kB / 463 MB, free: 34.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.346, allocations: 13.19 kB / 463 MB, free: 34.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.346, allocations: 0 / 463 MB, free: 34.87 MB / 382.1 MB Notification: Performance of Templates: time 0.002663/0.3486, allocations: 0.9211 MB / 463.9 MB, free: 34.83 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)