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/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_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/Annex60 1.0.0/package.mo): time 0.3606/0.3606, allocations: 54.42 MB / 61.9 MB, free: 13.7 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.001038/0.001038, allocations: 181.6 kB / 75.61 MB, free: 0.7539 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.488/1.488, allocations: 194.3 MB / 283.5 MB, free: 14.84 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.001632/0.001632, allocations: 113.5 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.84e-05, allocations: 4.219 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3542, allocations: 57.64 MB / 463.1 MB, free: 51.78 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1168/0.471, allocations: 85.68 MB / 0.536 GB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4713, allocations: 79.95 kB / 0.536 GB, free: 15.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009352/0.4806, allocations: 3.104 MB / 0.5391 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.4807, allocations: 1.125 kB / 0.5391 GB, free: 12.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4807, allocations: 3.938 kB / 0.5391 GB, free: 12.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003515/0.4811, allocations: 350 kB / 0.5394 GB, free: 12 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4811, allocations: 12.03 kB / 0.5394 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.4812, allocations: 0 / 0.5394 GB, free: 11.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.4813, allocations: 164.5 kB / 0.5396 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4813, allocations: 0 / 0.5396 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.4813, allocations: 4 kB / 0.5396 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.689e-05/0.4814, allocations: 19.94 kB / 0.5396 GB, free: 11.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.478e-05/0.4815, allocations: 54.58 kB / 0.5397 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4815, allocations: 0 / 0.5397 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.4816, allocations: 0 / 0.5397 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4816, allocations: 3 kB / 0.5397 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.4817, allocations: 150.1 kB / 0.5398 GB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.722e-05/0.4818, allocations: 50.56 kB / 0.5399 GB, free: 11.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.4819, allocations: 25.92 kB / 0.5399 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.4822, allocations: 110.1 kB / 0.54 GB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.4822, allocations: 34.56 kB / 0.54 GB, free: 11.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.4822, allocations: 0 / 0.54 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.004762/0.487, allocations: 1.219 MB / 0.5412 GB, free: 9.965 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.487, allocations: 55.41 kB / 0.5413 GB, free: 9.898 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.527e-05/0.4871, allocations: 89 kB / 0.5413 GB, free: 9.805 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.4871, allocations: 29.7 kB / 0.5414 GB, free: 9.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.4872, allocations: 84.12 kB / 0.5415 GB, free: 9.684 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.4872, allocations: 31.47 kB / 0.5415 GB, free: 9.652 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/0.4872, allocations: 4.125 kB / 0.5415 GB, free: 9.648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.4873, allocations: 322.8 kB / 0.5418 GB, free: 9.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.4874, allocations: 28 kB / 0.5418 GB, free: 9.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.4875, allocations: 28 kB / 0.5418 GB, free: 9.27 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.446e-05/0.4875, allocations: 31.97 kB / 0.5419 GB, free: 9.238 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4876, allocations: 1.406 kB / 0.5419 GB, free: 9.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001909/0.4877, allocations: 114.6 kB / 0.542 GB, free: 9.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4878, allocations: 8 kB / 0.542 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4878, allocations: 0 / 0.542 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.4878, allocations: 3.953 kB / 0.542 GB, free: 9.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.4882, allocations: 67.94 kB / 0.5421 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4882, allocations: 0 / 0.5421 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.4884, allocations: 45.7 kB / 0.5421 GB, free: 9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.4885, allocations: 8 kB / 0.5421 GB, free: 8.992 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 (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.872e-05/0.4886, allocations: 108.9 kB / 0.5422 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/0.4886, allocations: 7.984 kB / 0.5422 GB, free: 8.871 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.4886, allocations: 8.406 kB / 0.5422 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.4886, allocations: 7.953 kB / 0.5422 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4886, allocations: 3.984 kB / 0.5422 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4887, allocations: 4 kB / 0.5422 GB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.4891, allocations: 360.7 kB / 0.5426 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4891, allocations: 0 / 0.5426 GB, free: 8.457 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/0.4895, allocations: 67.88 kB / 0.5427 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4895, allocations: 4 kB / 0.5427 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.4895, allocations: 3.953 kB / 0.5427 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4895, allocations: 0 / 0.5427 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4895, allocations: 0 / 0.5427 GB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.4899, allocations: 248.4 kB / 0.5429 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.4899, allocations: 85 kB / 0.543 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.4899, allocations: 8.094 kB / 0.543 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.4903, allocations: 43.91 kB / 0.543 GB, free: 7.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.4903, allocations: 4 kB / 0.543 GB, free: 7.969 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.4903, allocations: 7.984 kB / 0.543 GB, free: 7.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.4903, allocations: 83.28 kB / 0.5431 GB, free: 7.879 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4904, allocations: 0 / 0.5431 GB, free: 7.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4906, allocations: 20 kB / 0.5431 GB, free: 7.859 MB / 394.7 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 () * 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 0.0001456/0.4908, allocations: 111.1 kB / 0.5432 GB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.4909, allocations: 71.98 kB / 0.5433 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.491, allocations: 0 / 0.5433 GB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.491, allocations: 49.14 kB / 0.5434 GB, free: 7.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4912, allocations: 8.094 kB / 0.5434 GB, free: 7.613 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.4929, allocations: 488.5 kB / 0.5438 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.4932, allocations: 0.6918 MB / 0.5445 GB, free: 6.402 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001347/0.4933, allocations: 17.44 kB / 0.5445 GB, free: 6.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.4934, allocations: 19.42 kB / 0.5445 GB, free: 6.367 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4934, allocations: 0 / 0.5445 GB, free: 6.367 MB / 394.7 MB Notification: Performance of Templates: time 0.003023/0.4964, allocations: 1.034 MB / 0.5456 GB, free: 5.352 MB / 394.7 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)