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.00131/0.00131, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 189.7 kB / 16.62 MB, free: 6.582 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.631/1.631, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4378/0.4378, allocations: 54.94 MB / 324.8 MB, free: 8 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.001403/0.001403, allocations: 67.91 kB / 396.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.37, allocations: 59.57 MB / 455.7 MB, free: 40.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00252/0.3726, allocations: 1.272 MB / 457 MB, free: 39.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00076/0.3734, allocations: 0.5374 MB / 457.6 MB, free: 39.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.748e-05/0.3734, allocations: 0 / 457.6 MB, free: 39.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.3735, allocations: 0.5 kB / 457.6 MB, free: 39.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.324e-05/0.3735, allocations: 3.938 kB / 457.6 MB, free: 39.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.3739, allocations: 133.5 kB / 457.7 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.374, allocations: 28 kB / 457.7 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.3741, allocations: 2.938 kB / 457.7 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.3741, allocations: 14.83 kB / 457.7 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.774e-05/0.3742, allocations: 16.89 kB / 457.8 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3742, allocations: 2.781 kB / 457.8 MB, free: 39.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004419/0.3746, allocations: 355.4 kB / 458.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3746, allocations: 3.75 kB / 458.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.3747, allocations: 12.53 kB / 458.1 MB, free: 39.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.3749, allocations: 138.6 kB / 458.3 MB, free: 39.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3749, allocations: 3.281 kB / 458.3 MB, free: 39.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3749, allocations: 0 / 458.3 MB, free: 39.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.906e-06/0.3749, allocations: 3.938 kB / 458.3 MB, free: 39.62 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.0003124/0.3753, allocations: 365 kB / 458.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3753, allocations: 11.09 kB / 458.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.3753, allocations: 4.625 kB / 458.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.3754, allocations: 168.9 kB / 458.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.3754, allocations: 6.25 kB / 458.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.3755, allocations: 7.25 kB / 458.8 MB, free: 39.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.376, allocations: 123.6 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.376, allocations: 3.625 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3761, allocations: 8.312 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3761, allocations: 1.125 kB / 458.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004341/0.3765, allocations: 90.42 kB / 459 MB, free: 39.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.3767, allocations: 166.3 kB / 459.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004808/0.3772, allocations: 127.6 kB / 459.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.602e-05/0.3772, allocations: 27.3 kB / 459.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/0.3775, allocations: 109.6 kB / 459.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.3775, allocations: 35.03 kB / 459.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.3776, allocations: 0.9062 kB / 459.5 MB, free: 38.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.007698/0.3853, allocations: 1.806 MB / 461.3 MB, free: 38.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.3853, allocations: 57.97 kB / 461.4 MB, free: 38.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.3854, allocations: 96.17 kB / 461.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3854, allocations: 25.7 kB / 461.5 MB, free: 38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.3854, allocations: 82.36 kB / 461.6 MB, free: 37.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.3855, allocations: 41.45 kB / 461.6 MB, free: 37.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.3855, allocations: 31.66 kB / 461.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.795e-05/0.3856, allocations: 314.1 kB / 461.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.3859, allocations: 102.8 kB / 462 MB, free: 37.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003697/0.3863, allocations: 100.3 kB / 462.1 MB, free: 37.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.387, allocations: 213.5 kB / 462.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.387, allocations: 0 / 462.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007666/0.3878, allocations: 251.3 kB / 462.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3878, allocations: 6.688 kB / 462.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3879, allocations: 4 kB / 462.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3879, allocations: 3.781 kB / 462.6 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.3882, allocations: 58.23 kB / 462.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3883, allocations: 5.859 kB / 462.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.3885, allocations: 37.61 kB / 462.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.3885, allocations: 9.203 kB / 462.7 MB, free: 37.49 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 8.243e-05/0.3886, allocations: 111.4 kB / 462.8 MB, free: 37.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.3887, allocations: 10.72 kB / 462.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.429e-05/0.3887, allocations: 14.64 kB / 462.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3887, allocations: 2.875 kB / 462.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.3887, allocations: 2.188 kB / 462.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3888, allocations: 0 / 462.8 MB, free: 37.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.3898, allocations: 0.5264 MB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3898, allocations: 3.938 kB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.3902, allocations: 52.84 kB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3902, allocations: 4.031 kB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.3902, allocations: 3.562 kB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3902, allocations: 3.141 kB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3903, allocations: 0.8125 kB / 463.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.3914, allocations: 469.5 kB / 463.9 MB, free: 36.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.3915, allocations: 82.14 kB / 464 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.3915, allocations: 3.422 kB / 464 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.3918, allocations: 43.55 kB / 464 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.3918, allocations: 7.188 kB / 464 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.3919, allocations: 2.812 kB / 464 MB, free: 36.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.194e-05/0.3919, allocations: 82.09 kB / 464.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3919, allocations: 0 / 464.1 MB, free: 36.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000239/0.3921, allocations: 22.31 kB / 464.1 MB, free: 36.73 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.000105/0.3922, allocations: 101.7 kB / 464.2 MB, free: 36.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007576/0.393, allocations: 225.1 kB / 464.5 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.393, allocations: 3.469 kB / 464.5 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.3934, allocations: 113.4 kB / 464.6 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.3936, allocations: 7.078 kB / 464.6 MB, free: 36.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.3959, allocations: 0.5759 MB / 465.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3961, allocations: 0.6807 MB / 465.8 MB, free: 35.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.3962, allocations: 20.25 kB / 465.8 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.3963, allocations: 13.19 kB / 465.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3963, allocations: 7.938 kB / 465.9 MB, free: 35.72 MB / 382.1 MB Notification: Performance of Templates: time 0.003786/0.4001, allocations: 1.136 MB / 467 MB, free: 35.67 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)