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.001276/0.001276, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002205/0.002206, allocations: 196.6 kB / 16.14 MB, free: 6.703 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.563/1.563, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4243/0.4243, allocations: 54.93 MB / 324.3 MB, free: 48 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.001397/0.001397, allocations: 63.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1556, allocations: 59.59 MB / 454.3 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.2294/0.3851, allocations: 1.322 MB / 455.6 MB, free: 39.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007925/0.3859, allocations: 0.5612 MB / 456.2 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.621e-05/0.386, allocations: 0 / 456.2 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.386, allocations: 0.5625 kB / 456.2 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.3861, allocations: 6.281 kB / 456.2 MB, free: 39.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3864, allocations: 106.5 kB / 456.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.136e-05/0.3865, allocations: 29.36 kB / 456.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.3865, allocations: 0.5625 kB / 456.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.3866, allocations: 10.17 kB / 456.3 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.738e-05/0.3866, allocations: 19.98 kB / 456.3 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.227e-05/0.3866, allocations: 4.281 kB / 456.3 MB, free: 39.01 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.387, allocations: 348.5 kB / 456.7 MB, free: 39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.254e-05/0.3871, allocations: 4.438 kB / 456.7 MB, free: 39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.3871, allocations: 12.47 kB / 456.7 MB, free: 39 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.3873, allocations: 142.9 kB / 456.8 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3873, allocations: 4.328 kB / 456.8 MB, free: 38.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.3873, allocations: 5.062 kB / 456.9 MB, free: 38.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3873, allocations: 0 / 456.9 MB, free: 38.98 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.0002911/0.3876, allocations: 362.2 kB / 457.2 MB, free: 38.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3877, allocations: 10.78 kB / 457.2 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3877, allocations: 4.062 kB / 457.2 MB, free: 38.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.727e-05/0.3878, allocations: 163.7 kB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.749e-06/0.3878, allocations: 9.875 kB / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.3878, allocations: 384 / 457.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.3884, allocations: 126.3 kB / 457.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3884, allocations: 0.6875 kB / 457.5 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3885, allocations: 10.91 kB / 457.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3885, allocations: 2.844 kB / 457.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.3889, allocations: 91.25 kB / 457.6 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.3891, allocations: 167.3 kB / 457.8 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005009/0.3896, allocations: 127 kB / 457.9 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.3896, allocations: 27.45 kB / 457.9 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.3899, allocations: 109.8 kB / 458 MB, free: 38.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.39, allocations: 35.89 kB / 458.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.39, allocations: 1.719 kB / 458.1 MB, free: 38.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.008111/0.3981, allocations: 1.805 MB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.3981, allocations: 51.41 kB / 459.9 MB, free: 37.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.3982, allocations: 96.64 kB / 460 MB, free: 37.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.3982, allocations: 32.36 kB / 460.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.3982, allocations: 80.14 kB / 460.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.3983, allocations: 40.97 kB / 460.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.3983, allocations: 28.61 kB / 460.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.649e-05/0.3984, allocations: 322.1 kB / 460.5 MB, free: 36.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.3988, allocations: 100.6 kB / 460.6 MB, free: 36.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.3991, allocations: 101.3 kB / 460.7 MB, free: 36.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006815/0.3998, allocations: 206.6 kB / 460.9 MB, free: 36.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3998, allocations: 0 / 460.9 MB, free: 36.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007792/0.4006, allocations: 263 kB / 461.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4006, allocations: 4.719 kB / 461.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.4006, allocations: 1.672 kB / 461.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.4006, allocations: 2.75 kB / 461.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003654/0.401, allocations: 62.2 kB / 461.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.401, allocations: 0 / 461.2 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.4013, allocations: 41.52 kB / 461.3 MB, free: 36.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.4013, allocations: 2.75 kB / 461.3 MB, free: 36.86 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 6.698e-05/0.4014, allocations: 112 kB / 461.4 MB, free: 36.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.4014, allocations: 12.84 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.726e-05/0.4015, allocations: 14.48 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.4015, allocations: 1.031 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4015, allocations: 2.438 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.4015, allocations: 4 kB / 461.4 MB, free: 36.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.4026, allocations: 0.5219 MB / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4026, allocations: 0 / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.4029, allocations: 60.92 kB / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.403, allocations: 0 / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.403, allocations: 3.875 kB / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.403, allocations: 8.594 kB / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.403, allocations: 0 / 462 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4042, allocations: 463.7 kB / 462.5 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.165e-05/0.4042, allocations: 84.84 kB / 462.6 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.4042, allocations: 3.062 kB / 462.6 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.4046, allocations: 35.81 kB / 462.6 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.4046, allocations: 12.14 kB / 462.6 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.4046, allocations: 6.688 kB / 462.6 MB, free: 36.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.081e-05/0.4046, allocations: 79.28 kB / 462.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4046, allocations: 3.75 kB / 462.7 MB, free: 36.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.4049, allocations: 23.94 kB / 462.7 MB, free: 36.1 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 9.938e-05/0.405, allocations: 104.9 kB / 462.8 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007737/0.4058, allocations: 216.5 kB / 463 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4058, allocations: 4 kB / 463 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.4062, allocations: 119.8 kB / 463.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.4064, allocations: 3.938 kB / 463.2 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.4084, allocations: 0.5972 MB / 463.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.4085, allocations: 0.6862 MB / 464.4 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.4087, allocations: 19.14 kB / 464.5 MB, free: 35.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.4087, allocations: 16.66 kB / 464.5 MB, free: 35.06 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4088, allocations: 0 / 464.5 MB, free: 35.06 MB / 382.1 MB Notification: Performance of Templates: time 0.003152/0.4119, allocations: 1.09 MB / 465.6 MB, free: 35.02 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (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)