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.00109/0.001095, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001479/0.001479, allocations: 172.7 kB / 15.95 MB, free: 192 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.639/1.639, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4149/0.4149, allocations: 55.01 MB / 325.4 MB, free: 0.6875 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.0005804/0.0005805, allocations: 12 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4439, allocations: 60.71 MB / 457.4 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001294/0.4452, allocations: 0.9895 MB / 458.4 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.446, allocations: 0.4898 MB / 458.8 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.4461, allocations: 1.562 kB / 458.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.4461, allocations: 0 / 458.9 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.969e-05/0.4461, allocations: 3.938 kB / 458.9 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.4465, allocations: 108.4 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.33e-05/0.4466, allocations: 24.81 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.063e-05/0.4466, allocations: 4.875 kB / 459 MB, free: 38.21 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.4467, allocations: 13.91 kB / 459 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.18e-05/0.4467, allocations: 13.45 kB / 459 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.4468, allocations: 3.219 kB / 459 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000447/0.4472, allocations: 338.8 kB / 459.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.4472, allocations: 12.89 kB / 459.4 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.4473, allocations: 28.42 kB / 459.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.4474, allocations: 97.12 kB / 459.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4475, allocations: 0 / 459.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4475, allocations: 1.375 kB / 459.5 MB, free: 38.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.4475, allocations: 0 / 459.5 MB, free: 38.15 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.0003201/0.4478, allocations: 356.6 kB / 459.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4478, allocations: 12.39 kB / 459.8 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.4479, allocations: 8.234 kB / 459.9 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.485e-05/0.448, allocations: 165.5 kB / 460 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.448, allocations: 3.938 kB / 460 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.448, allocations: 13.62 kB / 460 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.4486, allocations: 130.8 kB / 460.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4486, allocations: 0 / 460.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.4486, allocations: 0.5938 kB / 460.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4486, allocations: 2.578 kB / 460.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004114/0.449, allocations: 103.1 kB / 460.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.4492, allocations: 169.6 kB / 460.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004583/0.4497, allocations: 149.8 kB / 460.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.688e-05/0.4497, allocations: 23.58 kB / 460.6 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/0.45, allocations: 120.5 kB / 460.7 MB, free: 37.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.45, allocations: 38.16 kB / 460.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4501, allocations: 0 / 460.8 MB, free: 37.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.007158/0.4572, allocations: 2.014 MB / 462.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.4573, allocations: 55.41 kB / 462.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.08e-05/0.4573, allocations: 95.95 kB / 462.9 MB, free: 36.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4574, allocations: 29.45 kB / 462.9 MB, free: 36.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.991e-05/0.4574, allocations: 83.48 kB / 463 MB, free: 36.4 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.4574, allocations: 35.41 kB / 463.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.4575, allocations: 6.25 kB / 463.1 MB, free: 36.38 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.4575, allocations: 314.8 kB / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.4579, allocations: 117.3 kB / 463.5 MB, free: 36.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.4582, allocations: 113.3 kB / 463.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.4585, allocations: 117.5 kB / 463.7 MB, free: 36.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4585, allocations: 0 / 463.7 MB, free: 36.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007226/0.4593, allocations: 291.2 kB / 464 MB, free: 35.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.4593, allocations: 7.281 kB / 464 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4593, allocations: 0 / 464 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.4593, allocations: 0 / 464 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.4597, allocations: 61.28 kB / 464.1 MB, free: 35.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.4597, allocations: 12.3 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.4599, allocations: 42.77 kB / 464.1 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.46, allocations: 3.031 kB / 464.1 MB, free: 35.98 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.742e-05/0.46, allocations: 120.3 kB / 464.2 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.4601, allocations: 10.27 kB / 464.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.4601, allocations: 10.66 kB / 464.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4601, allocations: 2.938 kB / 464.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4601, allocations: 0.5156 kB / 464.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4602, allocations: 3.953 kB / 464.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/0.4612, allocations: 0.5481 MB / 464.8 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4612, allocations: 0.8125 kB / 464.8 MB, free: 35.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.4615, allocations: 67.14 kB / 464.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.4615, allocations: 0 / 464.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4615, allocations: 10.42 kB / 464.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4615, allocations: 4 kB / 464.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4616, allocations: 1.062 kB / 464.9 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001141/0.4627, allocations: 0.49 MB / 465.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.166e-05/0.4627, allocations: 80.98 kB / 465.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.4628, allocations: 4.062 kB / 465.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.4631, allocations: 49.3 kB / 465.5 MB, free: 35.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.4631, allocations: 12.97 kB / 465.5 MB, free: 35.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.4631, allocations: 6.75 kB / 465.5 MB, free: 35.28 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.95e-05/0.4631, allocations: 82.66 kB / 465.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4631, allocations: 0 / 465.6 MB, free: 35.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.4634, allocations: 21.69 kB / 465.6 MB, free: 35.2 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 9.648e-05/0.4635, allocations: 98.91 kB / 465.7 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007374/0.4643, allocations: 252.7 kB / 466 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4643, allocations: 4 kB / 466 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.4646, allocations: 125.1 kB / 466.1 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.4649, allocations: 13.09 kB / 466.1 MB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.4667, allocations: 0.6806 MB / 466.8 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.4669, allocations: 0.6835 MB / 467.5 MB, free: 34.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.467, allocations: 25.66 kB / 467.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.75e-05/0.4671, allocations: 12.56 kB / 467.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4671, allocations: 0 / 467.5 MB, free: 34.13 MB / 382.1 MB Notification: Performance of Templates: time 0.003454/0.4706, allocations: 1.054 MB / 468.6 MB, free: 34.09 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: