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_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.2772/0.2772, allocations: 54.4 MB / 61.68 MB, free: 11.17 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.001119/0.001119, allocations: 185.1 kB / 75.37 MB, free: 1.535 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.271/1.271, allocations: 194.2 MB / 283.2 MB, free: 3.547 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.001722/0.001722, allocations: 118.4 kB / 341.3 MB, free: 9.426 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.366e-06/8.386e-06, allocations: 0 / 405 MB, free: 27.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1135, allocations: 57.65 MB / 462.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.458, allocations: 85.19 MB / 0.535 GB, free: 11.85 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.4583, allocations: 77.2 kB / 0.535 GB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.00676/0.4651, allocations: 1.839 MB / 0.5368 GB, free: 10.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.4651, allocations: 0.5 kB / 0.5368 GB, free: 10.27 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.0003173/0.4655, allocations: 349.1 kB / 0.5372 GB, free: 9.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.4655, allocations: 8.031 kB / 0.5372 GB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.4656, allocations: 4.688 kB / 0.5372 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.4657, allocations: 163 kB / 0.5373 GB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.4657, allocations: 0 / 0.5373 GB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.4658, allocations: 5.406 kB / 0.5373 GB, free: 9.676 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.549e-05/0.4659, allocations: 20.23 kB / 0.5373 GB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.192e-05/0.466, allocations: 45.39 kB / 0.5374 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.466, allocations: 4.734 kB / 0.5374 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.466, allocations: 0 / 0.5374 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.466, allocations: 4 kB / 0.5374 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.4662, allocations: 142.5 kB / 0.5375 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.4663, allocations: 31.97 kB / 0.5376 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.4663, allocations: 31.22 kB / 0.5376 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.4667, allocations: 125 kB / 0.5377 GB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.4667, allocations: 30.56 kB / 0.5377 GB, free: 9.199 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.4667, allocations: 4 kB / 0.5377 GB, free: 9.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.003843/0.4705, allocations: 0.9515 MB / 0.5387 GB, free: 8.207 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.4706, allocations: 55.41 kB / 0.5387 GB, free: 8.141 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.951e-05/0.4707, allocations: 86.88 kB / 0.5388 GB, free: 8.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4707, allocations: 25.7 kB / 0.5388 GB, free: 8.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.4707, allocations: 93 kB / 0.5389 GB, free: 7.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.4708, allocations: 31.78 kB / 0.539 GB, free: 7.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/0.4708, allocations: 0 / 0.539 GB, free: 7.898 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4709, allocations: 317.5 kB / 0.5393 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.471, allocations: 26 kB / 0.5393 GB, free: 7.566 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.4711, allocations: 25.75 kB / 0.5393 GB, free: 7.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.472e-05/0.4712, allocations: 28.8 kB / 0.5393 GB, free: 7.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4712, allocations: 0 / 0.5393 GB, free: 7.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002072/0.4714, allocations: 106.5 kB / 0.5394 GB, free: 7.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4714, allocations: 11.94 kB / 0.5394 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4714, allocations: 4 kB / 0.5394 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4714, allocations: 0 / 0.5394 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.4717, allocations: 41.22 kB / 0.5395 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.4717, allocations: 0 / 0.5395 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.4719, allocations: 27.97 kB / 0.5395 GB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.4719, allocations: 4.625 kB / 0.5395 GB, free: 7.355 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 7.6e-05/0.472, allocations: 105.5 kB / 0.5396 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.472, allocations: 8 kB / 0.5396 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.852e-05/0.4721, allocations: 8.188 kB / 0.5396 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.4721, allocations: 7.906 kB / 0.5396 GB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4721, allocations: 4 kB / 0.5396 GB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4721, allocations: 3.984 kB / 0.5397 GB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005058/0.4726, allocations: 359.3 kB / 0.54 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4726, allocations: 0 / 0.54 GB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002753/0.4729, allocations: 43.97 kB / 0.54 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4729, allocations: 0 / 0.54 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.473, allocations: 3.984 kB / 0.54 GB, free: 6.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.473, allocations: 4 kB / 0.54 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.473, allocations: 0 / 0.54 GB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000303/0.4733, allocations: 238.8 kB / 0.5403 GB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.4733, allocations: 85.02 kB / 0.5404 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.4734, allocations: 96 / 0.5404 GB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.4736, allocations: 27.91 kB / 0.5404 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.4736, allocations: 15.3 kB / 0.5404 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.4737, allocations: 0 / 0.5404 GB, free: 6.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.179e-05/0.4737, allocations: 79.28 kB / 0.5405 GB, free: 6.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.474, allocations: 16 kB / 0.5405 GB, free: 6.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0001486/0.4741, allocations: 99.25 kB / 0.5406 GB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.4743, allocations: 71.98 kB / 0.5406 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4743, allocations: 4 kB / 0.5407 GB, free: 6.195 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.552e-05/0.4744, allocations: 49.62 kB / 0.5407 GB, free: 6.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.4746, allocations: 3.984 kB / 0.5407 GB, free: 6.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.4758, allocations: 410.3 kB / 0.5411 GB, free: 5.746 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.4761, allocations: 0.7114 MB / 0.5418 GB, free: 5.008 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4761, allocations: 0 / 0.5418 GB, free: 5.008 MB / 378.7 MB Notification: Performance of Templates: time 0.003331/0.4794, allocations: 1.291 MB / 0.543 GB, free: 3.742 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)