Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.0009948/0.0009946, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008961/0.0008961, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.36/1.36, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3679/0.3679, allocations: 54.99 MB / 325.4 MB, free: 0.7109 MB / 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.0005154/0.0005155, allocations: 16 kB / 396.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.302, allocations: 60.72 MB / 457.3 MB, free: 38.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001151/0.3032, allocations: 0.9832 MB / 458.3 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005337/0.3037, allocations: 317.2 kB / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.3038, allocations: 0 / 458.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.3038, allocations: 5.094 kB / 458.6 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.994e-05/0.3039, allocations: 6.672 kB / 458.6 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3042, allocations: 66.41 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.368e-05/0.3042, allocations: 23.09 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.3043, allocations: 2.281 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.336e-05/0.3043, allocations: 9.484 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.979e-05/0.3044, allocations: 16 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.3044, allocations: 3.969 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.3047, allocations: 205.3 kB / 458.9 MB, free: 38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.3047, allocations: 10.66 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.3048, allocations: 30.45 kB / 459 MB, free: 37.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.3049, allocations: 62.81 kB / 459 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3049, allocations: 1.594 kB / 459 MB, free: 37.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3049, allocations: 0 / 459 MB, free: 37.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.3049, allocations: 0 / 459 MB, free: 37.96 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.000324/0.3052, allocations: 344.9 kB / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3053, allocations: 11.34 kB / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3053, allocations: 3.719 kB / 459.4 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.646e-05/0.3054, allocations: 164.3 kB / 459.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3055, allocations: 4.469 kB / 459.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.3055, allocations: 10.47 kB / 459.6 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006081/0.3061, allocations: 130.8 kB / 459.7 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.3061, allocations: 3.938 kB / 459.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3061, allocations: 7.844 kB / 459.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3062, allocations: 2.938 kB / 459.7 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004615/0.3066, allocations: 101.5 kB / 459.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001505/0.3068, allocations: 166.2 kB / 460 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.3073, allocations: 141.6 kB / 460.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.3076, allocations: 119.8 kB / 460.2 MB, free: 37.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3076, allocations: 40.16 kB / 460.3 MB, free: 37.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3076, allocations: 3.688 kB / 460.3 MB, free: 37.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.007958/0.3156, allocations: 2.008 MB / 462.3 MB, free: 36.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.3156, allocations: 58.39 kB / 462.3 MB, free: 36.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.056e-05/0.3157, allocations: 96.83 kB / 462.4 MB, free: 36.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3157, allocations: 29.45 kB / 462.5 MB, free: 36.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.94e-05/0.3157, allocations: 86.48 kB / 462.5 MB, free: 36.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.3158, allocations: 39.62 kB / 462.6 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.3158, allocations: 0 / 462.6 MB, free: 36.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/0.3159, allocations: 319.8 kB / 462.9 MB, free: 35.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.3162, allocations: 110.3 kB / 463 MB, free: 35.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/0.3166, allocations: 114.5 kB / 463.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.317, allocations: 119.5 kB / 463.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.317, allocations: 0 / 463.2 MB, free: 35.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000794/0.3178, allocations: 286.3 kB / 463.5 MB, free: 35.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3178, allocations: 5.906 kB / 463.5 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3178, allocations: 0 / 463.5 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3179, allocations: 0 / 463.5 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/0.3182, allocations: 68.98 kB / 463.6 MB, free: 35.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3182, allocations: 3.953 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/0.3185, allocations: 47 kB / 463.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3185, allocations: 6.453 kB / 463.6 MB, free: 35.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.3186, allocations: 116.4 kB / 463.8 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.3187, allocations: 8.281 kB / 463.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.023e-05/0.3187, allocations: 14.44 kB / 463.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3187, allocations: 0 / 463.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3187, allocations: 4 kB / 463.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.3187, allocations: 3.953 kB / 463.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3199, allocations: 0.5486 MB / 464.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3199, allocations: 0 / 464.3 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003488/0.3202, allocations: 68.39 kB / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3202, allocations: 0 / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.3203, allocations: 3.047 kB / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3203, allocations: 6.578 kB / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3203, allocations: 0 / 464.4 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.3215, allocations: 0.4922 MB / 464.9 MB, free: 35.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.3215, allocations: 79.86 kB / 465 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3216, allocations: 1.406 kB / 465 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.3219, allocations: 52.89 kB / 465 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.3219, allocations: 10.58 kB / 465 MB, free: 35.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3219, allocations: 11.41 kB / 465.1 MB, free: 35.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.837e-05/0.322, allocations: 75.28 kB / 465.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.322, allocations: 0 / 465.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.3222, allocations: 24.12 kB / 465.2 MB, free: 35.05 MB / 382.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.0001047/0.3223, allocations: 104 kB / 465.3 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008169/0.3232, allocations: 249.7 kB / 465.5 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3232, allocations: 0 / 465.5 MB, free: 34.94 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.3236, allocations: 127.5 kB / 465.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.3237, allocations: 7.219 kB / 465.6 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.3257, allocations: 0.6847 MB / 466.3 MB, free: 34.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.3258, allocations: 0.6884 MB / 467 MB, free: 33.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.326, allocations: 13.81 kB / 467 MB, free: 33.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.326, allocations: 16.47 kB / 467 MB, free: 33.97 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3261, allocations: 0 / 467 MB, free: 33.97 MB / 382.1 MB Notification: Performance of Templates: time 0.002918/0.329, allocations: 1.05 MB / 468.1 MB, free: 33.93 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: