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") [: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.2701/0.2701, allocations: 54.39 MB / 61.67 MB, free: 11.18 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.001164/0.001164, allocations: 185.9 kB / 75.37 MB, free: 1.504 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.281/1.281, allocations: 194.2 MB / 283.2 MB, free: 3.582 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.001701/0.001701, allocations: 116 kB / 341.3 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.336e-06, allocations: 4 kB / 404.9 MB, free: 27.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 57.65 MB / 462.6 MB, free: 2.004 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.5003, allocations: 85.6 MB / 0.5353 GB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/0.5007, allocations: 78.19 kB / 0.5354 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01017/0.5109, allocations: 2.788 MB / 0.5381 GB, free: 9.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.511, allocations: 4 kB / 0.5381 GB, free: 9.34 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003998/0.5114, allocations: 350.5 kB / 0.5385 GB, free: 8.957 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5114, allocations: 15.97 kB / 0.5385 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.5115, allocations: 0.5625 kB / 0.5385 GB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5117, allocations: 167 kB / 0.5387 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.5117, allocations: 0 / 0.5387 GB, free: 8.738 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.5117, allocations: 4.562 kB / 0.5387 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.874e-05/0.5118, allocations: 15.3 kB / 0.5387 GB, free: 8.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.422e-05/0.5119, allocations: 50.06 kB / 0.5387 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.5119, allocations: 0 / 0.5387 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.5119, allocations: 0 / 0.5387 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.512, allocations: 7.922 kB / 0.5387 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002103/0.5122, allocations: 147.1 kB / 0.5389 GB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.5123, allocations: 31.47 kB / 0.5389 GB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.028e-05/0.5123, allocations: 27.66 kB / 0.5389 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003668/0.5127, allocations: 113.3 kB / 0.539 GB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.5128, allocations: 40.23 kB / 0.5391 GB, free: 8.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.5128, allocations: 8 kB / 0.5391 GB, free: 8.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.005718/0.5185, allocations: 1.259 MB / 0.5403 GB, free: 6.957 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.5186, allocations: 55.91 kB / 0.5404 GB, free: 6.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.5187, allocations: 90.06 kB / 0.5405 GB, free: 6.797 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.5187, allocations: 26.2 kB / 0.5405 GB, free: 6.766 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.5188, allocations: 80.64 kB / 0.5406 GB, free: 6.684 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.017e-05/0.5189, allocations: 35.95 kB / 0.5406 GB, free: 6.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.5189, allocations: 0 / 0.5406 GB, free: 6.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.519, allocations: 317.8 kB / 0.5409 GB, free: 6.336 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.281e-05/0.5191, allocations: 35.86 kB / 0.5409 GB, free: 6.309 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.5192, allocations: 33.75 kB / 0.541 GB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.5192, allocations: 27.98 kB / 0.541 GB, free: 6.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5193, allocations: 0 / 0.541 GB, free: 6.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.5195, allocations: 110.1 kB / 0.5411 GB, free: 6.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5195, allocations: 4 kB / 0.5411 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.5195, allocations: 0 / 0.5411 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.5196, allocations: 0 / 0.5411 GB, free: 6.133 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.52, allocations: 75.88 kB / 0.5412 GB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.52, allocations: 3.984 kB / 0.5412 GB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.5203, allocations: 39.97 kB / 0.5412 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.5203, allocations: 7.984 kB / 0.5412 GB, free: 6.008 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 (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 9.452e-05/0.5204, allocations: 108.9 kB / 0.5413 GB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.5205, allocations: 4 kB / 0.5413 GB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.5205, allocations: 8.062 kB / 0.5413 GB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5205, allocations: 7.906 kB / 0.5413 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5205, allocations: 0 / 0.5413 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5205, allocations: 0 / 0.5413 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.5211, allocations: 370.7 kB / 0.5417 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.5211, allocations: 0 / 0.5417 GB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.5215, allocations: 71.94 kB / 0.5418 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5215, allocations: 0 / 0.5418 GB, free: 5.402 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.309e-05/0.5216, allocations: 7.984 kB / 0.5418 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.5216, allocations: 4.094 kB / 0.5418 GB, free: 5.391 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.5216, allocations: 3.938 kB / 0.5418 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003826/0.522, allocations: 251.8 kB / 0.542 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.522, allocations: 81.02 kB / 0.5421 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.5221, allocations: 4 kB / 0.5421 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/0.5224, allocations: 44.02 kB / 0.5421 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.5225, allocations: 7.984 kB / 0.5421 GB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.5225, allocations: 4 kB / 0.5421 GB, free: 4.969 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-05/0.5225, allocations: 79.28 kB / 0.5422 GB, free: 4.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000287/0.5228, allocations: 20 kB / 0.5422 GB, free: 4.871 MB / 378.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.0001913/0.523, allocations: 108.9 kB / 0.5423 GB, free: 4.754 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.5233, allocations: 83.92 kB / 0.5424 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5233, allocations: 0 / 0.5424 GB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.5234, allocations: 48.36 kB / 0.5425 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.5236, allocations: 0 / 0.5425 GB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5256, allocations: 0.5244 MB / 0.543 GB, free: 4.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003994/0.526, allocations: 0.7192 MB / 0.5437 GB, free: 3.332 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.526, allocations: 4 kB / 0.5437 GB, free: 3.328 MB / 378.7 MB Notification: Performance of Templates: time 0.004461/0.5305, allocations: 1.729 MB / 0.5454 GB, free: 1.605 MB / 378.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)