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.001133/0.001133, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01081/0.01081, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.733/1.733, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4325/0.4325, allocations: 55.01 MB / 325.7 MB, free: 0.5469 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.0005776/0.000578, allocations: 16 kB / 397.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3896, allocations: 60.72 MB / 458 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001424/0.3911, allocations: 0.9921 MB / 459 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.3922, allocations: 0.5443 MB / 459.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.236e-05/0.3922, allocations: 4.75 kB / 459.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.995e-05/0.3922, allocations: 0 / 459.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.3923, allocations: 4.172 kB / 459.5 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.3927, allocations: 107.3 kB / 459.6 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.3928, allocations: 32.62 kB / 459.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.806e-05/0.3928, allocations: 1.062 kB / 459.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.3929, allocations: 20.17 kB / 459.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.393, allocations: 10 kB / 459.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.393, allocations: 2.812 kB / 459.7 MB, free: 38.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.3934, allocations: 348.9 kB / 460 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.3935, allocations: 11.11 kB / 460 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3935, allocations: 38.28 kB / 460.1 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.3937, allocations: 139.4 kB / 460.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3937, allocations: 0 / 460.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3938, allocations: 2.969 kB / 460.2 MB, free: 38.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.3938, allocations: 0 / 460.2 MB, free: 38.39 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.0003529/0.3941, allocations: 358.3 kB / 460.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3942, allocations: 11.56 kB / 460.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.3942, allocations: 7.375 kB / 460.6 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.842e-05/0.3943, allocations: 173 kB / 460.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3943, allocations: 3.156 kB / 460.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3943, allocations: 3.875 kB / 460.8 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006043/0.395, allocations: 136.9 kB / 460.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.395, allocations: 192 / 460.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.395, allocations: 8.359 kB / 460.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.395, allocations: 0.6875 kB / 460.9 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.3955, allocations: 103.5 kB / 461 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.3956, allocations: 161.5 kB / 461.2 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.3962, allocations: 152.5 kB / 461.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.3962, allocations: 25.59 kB / 461.3 MB, free: 37.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003249/0.3965, allocations: 121 kB / 461.5 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.3966, allocations: 31.69 kB / 461.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.3966, allocations: 0 / 461.5 MB, free: 37.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.008453/0.405, allocations: 2.018 MB / 463.5 MB, free: 36.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.955e-05/0.4051, allocations: 51.41 kB / 463.6 MB, free: 36.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.4052, allocations: 98.89 kB / 463.7 MB, free: 36.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4052, allocations: 25.7 kB / 463.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.4052, allocations: 86.64 kB / 463.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.4053, allocations: 40.06 kB / 463.8 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.4053, allocations: 16.47 kB / 463.8 MB, free: 36.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.65e-05/0.4054, allocations: 321.4 kB / 464.1 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.4058, allocations: 116.4 kB / 464.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.4062, allocations: 116.3 kB / 464.4 MB, free: 36.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/0.407, allocations: 242.4 kB / 464.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.407, allocations: 0 / 464.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008443/0.4079, allocations: 286.8 kB / 464.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4079, allocations: 5.938 kB / 464.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.4079, allocations: 1.062 kB / 464.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4079, allocations: 0 / 464.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003576/0.4083, allocations: 71.97 kB / 465 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4083, allocations: 0.625 kB / 465 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4086, allocations: 43.5 kB / 465 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4086, allocations: 10.2 kB / 465 MB, free: 36.17 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.283e-05/0.4087, allocations: 111.9 kB / 465.1 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.4087, allocations: 11.53 kB / 465.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.879e-05/0.4087, allocations: 10.16 kB / 465.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4088, allocations: 0.8438 kB / 465.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4088, allocations: 3.75 kB / 465.1 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.4088, allocations: 3.375 kB / 465.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.41, allocations: 0.5498 MB / 465.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.41, allocations: 3.031 kB / 465.7 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.4103, allocations: 68.77 kB / 465.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4103, allocations: 0.6562 kB / 465.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.4104, allocations: 4.156 kB / 465.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4104, allocations: 0 / 465.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4104, allocations: 0.75 kB / 465.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.4117, allocations: 0.501 MB / 466.3 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.188e-05/0.4117, allocations: 79.8 kB / 466.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.4117, allocations: 3.938 kB / 466.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/0.4121, allocations: 49.33 kB / 466.4 MB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.4121, allocations: 11.02 kB / 466.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.4121, allocations: 3.719 kB / 466.4 MB, free: 35.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.969e-05/0.4122, allocations: 78.72 kB / 466.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4122, allocations: 3.469 kB / 466.5 MB, free: 35.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000233/0.4124, allocations: 23.19 kB / 466.5 MB, free: 35.4 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 (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.0001029/0.4125, allocations: 99.67 kB / 466.6 MB, free: 35.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008846/0.4134, allocations: 254.3 kB / 466.9 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4134, allocations: 3.438 kB / 466.9 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.4138, allocations: 124.7 kB / 467 MB, free: 35.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4141, allocations: 13.45 kB / 467 MB, free: 35.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4162, allocations: 0.6843 MB / 467.7 MB, free: 35.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.4163, allocations: 0.69 MB / 468.4 MB, free: 34.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001261/0.4165, allocations: 13.78 kB / 468.4 MB, free: 34.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.804e-05/0.4165, allocations: 16.58 kB / 468.4 MB, free: 34.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4165, allocations: 0 / 468.4 MB, free: 34.32 MB / 382.1 MB Notification: Performance of Templates: time 0.003509/0.4201, allocations: 1.084 MB / 469.5 MB, free: 34.29 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: