Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2722/0.2722, allocations: 54.4 MB / 61.68 MB, free: 11.19 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.001251/0.00125, allocations: 182.4 kB / 75.37 MB, free: 1.531 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.276/1.276, allocations: 194.2 MB / 283.2 MB, free: 3.512 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001778/0.001778, allocations: 111 kB / 341.3 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.858e-06, allocations: 4 kB / 405 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1252, allocations: 57.64 MB / 462.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3666/0.4919, allocations: 85.06 MB / 0.5348 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.4922, allocations: 80.19 kB / 0.5349 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005035/0.4972, allocations: 1.339 MB / 0.5362 GB, free: 10.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.4973, allocations: 0 / 0.5362 GB, free: 10.86 MB / 378.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.000305/0.4976, allocations: 337.9 kB / 0.5365 GB, free: 10.49 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.4976, allocations: 15.97 kB / 0.5365 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.4977, allocations: 3.938 kB / 0.5365 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.4978, allocations: 163.1 kB / 0.5367 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4978, allocations: 4 kB / 0.5367 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.4979, allocations: 3.906 kB / 0.5367 GB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.83e-05/0.498, allocations: 11.69 kB / 0.5367 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.12e-05/0.498, allocations: 33.69 kB / 0.5368 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.4981, allocations: 0 / 0.5368 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4981, allocations: 6.062 kB / 0.5368 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4981, allocations: 0 / 0.5368 GB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.4983, allocations: 129.9 kB / 0.5369 GB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.4984, allocations: 41.22 kB / 0.5369 GB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.4985, allocations: 12.55 kB / 0.5369 GB, free: 9.996 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003003/0.4988, allocations: 117.2 kB / 0.537 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.4988, allocations: 34.55 kB / 0.5371 GB, free: 9.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4988, allocations: 0 / 0.5371 GB, free: 9.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.002048/0.5009, allocations: 0.5033 MB / 0.5376 GB, free: 9.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.5009, allocations: 51.41 kB / 0.5376 GB, free: 9.227 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.218e-05/0.501, allocations: 92.5 kB / 0.5377 GB, free: 9.133 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.501, allocations: 25.7 kB / 0.5377 GB, free: 9.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.302e-05/0.5011, allocations: 80.14 kB / 0.5378 GB, free: 9.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.5011, allocations: 23.39 kB / 0.5378 GB, free: 9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.5011, allocations: 0 / 0.5378 GB, free: 9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5013, allocations: 314.8 kB / 0.5381 GB, free: 8.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.5013, allocations: 15.31 kB / 0.5381 GB, free: 8.676 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/0.5013, allocations: 15.67 kB / 0.5382 GB, free: 8.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.629e-05/0.5014, allocations: 10.34 kB / 0.5382 GB, free: 8.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-07/0.5014, allocations: 0 / 0.5382 GB, free: 8.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000124/0.5015, allocations: 71.8 kB / 0.5382 GB, free: 8.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.5015, allocations: 4 kB / 0.5382 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5016, allocations: 4 kB / 0.5382 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.5016, allocations: 0 / 0.5382 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.5017, allocations: 35.91 kB / 0.5383 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5018, allocations: 0 / 0.5383 GB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.5019, allocations: 12.8 kB / 0.5383 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.5019, allocations: 11.94 kB / 0.5383 GB, free: 8.523 MB / 378.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 7.403e-05/0.502, allocations: 105.8 kB / 0.5384 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.502, allocations: 7.938 kB / 0.5384 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.502, allocations: 6.062 kB / 0.5384 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.502, allocations: 0 / 0.5384 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.502, allocations: 0.875 kB / 0.5384 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5021, allocations: 0 / 0.5384 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000524/0.5026, allocations: 323.2 kB / 0.5387 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5026, allocations: 0.875 kB / 0.5387 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.5028, allocations: 27.97 kB / 0.5388 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5028, allocations: 4.031 kB / 0.5388 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.5028, allocations: 0 / 0.5388 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.5028, allocations: 0 / 0.5388 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5028, allocations: 4 kB / 0.5388 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00025/0.5031, allocations: 206.8 kB / 0.539 GB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.426e-05/0.5031, allocations: 85.09 kB / 0.539 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.5032, allocations: 4.062 kB / 0.539 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000152/0.5033, allocations: 18.42 kB / 0.5391 GB, free: 7.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.5033, allocations: 4.75 kB / 0.5391 GB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.5034, allocations: 1 kB / 0.5391 GB, free: 7.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.692e-05/0.5034, allocations: 80.22 kB / 0.5391 GB, free: 7.613 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.5036, allocations: 12 kB / 0.5392 GB, free: 7.602 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002041/0.5038, allocations: 115.1 kB / 0.5393 GB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001387/0.504, allocations: 38.25 kB / 0.5393 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.504, allocations: 0 / 0.5393 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.5041, allocations: 25.05 kB / 0.5393 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.5042, allocations: 0 / 0.5393 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.5049, allocations: 214.1 kB / 0.5395 GB, free: 7.203 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003407/0.5052, allocations: 0.6997 MB / 0.5402 GB, free: 6.477 MB / 378.7 MB Notification: Performance of SimCode: time 1.924e-06/0.5053, allocations: 0 / 0.5402 GB, free: 6.477 MB / 378.7 MB Notification: Performance of Templates: time 0.002804/0.5081, allocations: 0.7791 MB / 0.541 GB, free: 5.719 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)