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_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3605/0.3605, allocations: 54.42 MB / 61.89 MB, free: 13.76 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001014/0.001014, allocations: 187.4 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.332/1.332, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00169/0.00169, allocations: 120 kB / 341.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.919e-05/1.922e-05, allocations: 8 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3601, allocations: 57.65 MB / 463.2 MB, free: 51.85 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4745, allocations: 85.54 MB / 0.5358 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4748, allocations: 79.94 kB / 0.5359 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007934/0.4827, allocations: 2.597 MB / 0.5385 GB, free: 13.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4828, allocations: 0 / 0.5385 GB, free: 13.01 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.4828, allocations: 0 / 0.5385 GB, free: 13.01 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003596/0.4831, allocations: 349.7 kB / 0.5388 GB, free: 12.63 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.4832, allocations: 8.031 kB / 0.5388 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.4832, allocations: 3.906 kB / 0.5388 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.4834, allocations: 164.5 kB / 0.539 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.4834, allocations: 0.5625 kB / 0.539 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.4834, allocations: 0.5625 kB / 0.539 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.897e-05/0.4835, allocations: 13.42 kB / 0.539 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.668e-05/0.4836, allocations: 37.69 kB / 0.539 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4836, allocations: 0 / 0.539 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4836, allocations: 1.875 kB / 0.539 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4836, allocations: 5.75 kB / 0.539 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.4838, allocations: 136.8 kB / 0.5391 GB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.484, allocations: 38.66 kB / 0.5392 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.484, allocations: 17.5 kB / 0.5392 GB, free: 12.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.4843, allocations: 112.1 kB / 0.5393 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4844, allocations: 34.5 kB / 0.5393 GB, free: 11.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4844, allocations: 4 kB / 0.5393 GB, free: 11.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.002741/0.4871, allocations: 0.6445 MB / 0.54 GB, free: 11.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.4872, allocations: 51.41 kB / 0.54 GB, free: 11.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.117e-05/0.4873, allocations: 89 kB / 0.5401 GB, free: 11.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.4873, allocations: 27.02 kB / 0.5401 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.4874, allocations: 80.14 kB / 0.5402 GB, free: 10.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.32e-05/0.4874, allocations: 27.64 kB / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-06/0.4874, allocations: 4 kB / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4876, allocations: 314.8 kB / 0.5405 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.4876, allocations: 16 kB / 0.5406 GB, free: 10.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.4877, allocations: 15.98 kB / 0.5406 GB, free: 10.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.4877, allocations: 14.19 kB / 0.5406 GB, free: 10.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4877, allocations: 0 / 0.5406 GB, free: 10.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001575/0.4879, allocations: 69.61 kB / 0.5407 GB, free: 10.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4879, allocations: 8 kB / 0.5407 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.488, allocations: 0 / 0.5407 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.488, allocations: 7.953 kB / 0.5407 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.4882, allocations: 39.95 kB / 0.5407 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4882, allocations: 3.188 kB / 0.5407 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.4884, allocations: 31.97 kB / 0.5407 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4884, allocations: 4 kB / 0.5407 GB, free: 10.43 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.937e-05/0.4885, allocations: 105 kB / 0.5408 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.4885, allocations: 9.406 kB / 0.5409 GB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.4886, allocations: 8.406 kB / 0.5409 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4886, allocations: 0 / 0.5409 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4886, allocations: 3.953 kB / 0.5409 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4886, allocations: 3.984 kB / 0.5409 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005638/0.4892, allocations: 339.9 kB / 0.5412 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4892, allocations: 4 kB / 0.5412 GB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.4894, allocations: 40 kB / 0.5412 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4895, allocations: 0 / 0.5412 GB, free: 9.883 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.4895, allocations: 8.094 kB / 0.5412 GB, free: 9.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.4895, allocations: 7.953 kB / 0.5412 GB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.4895, allocations: 3.938 kB / 0.5413 GB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.4898, allocations: 198 kB / 0.5414 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.4899, allocations: 93.09 kB / 0.5415 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.49, allocations: 3.953 kB / 0.5415 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4902, allocations: 27.97 kB / 0.5416 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.4902, allocations: 9.609 kB / 0.5416 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.4902, allocations: 4 kB / 0.5416 GB, free: 9.496 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.171e-05/0.4903, allocations: 83.28 kB / 0.5417 GB, free: 9.414 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4903, allocations: 0 / 0.5417 GB, free: 9.414 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002303/0.4905, allocations: 12 kB / 0.5417 GB, free: 9.402 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001632/0.4907, allocations: 103.2 kB / 0.5418 GB, free: 9.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.4908, allocations: 43.92 kB / 0.5418 GB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4908, allocations: 0 / 0.5418 GB, free: 9.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.061e-05/0.4909, allocations: 20 kB / 0.5418 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.491, allocations: 0 / 0.5418 GB, free: 9.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.492, allocations: 276.7 kB / 0.5421 GB, free: 8.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.4923, allocations: 0.6807 MB / 0.5428 GB, free: 8.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.4924, allocations: 10.72 kB / 0.5428 GB, free: 8.227 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.4924, allocations: 15.42 kB / 0.5428 GB, free: 8.211 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4924, allocations: 0 / 0.5428 GB, free: 8.211 MB / 394.7 MB Notification: Performance of Templates: time 0.002784/0.4952, allocations: 0.7052 MB / 0.5435 GB, free: 7.52 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)