Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 183.2 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5901/0.5901, allocations: 133.5 MB / 141.4 MB, free: 15.7 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.103/1.103, allocations: 221.3 MB / 395 MB, free: 10.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007868/0.0007868, allocations: 102.7 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.06e-06/5.08e-06, allocations: 0 / 0.5529 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.4036, allocations: 111.5 MB / 0.7421 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.4038, allocations: 76.2 kB / 0.7422 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.01116/0.415, allocations: 4.181 MB / 0.7462 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.415, allocations: 0 / 0.7462 GB, free: 10.62 MB / 0.4948 GB 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.0002848/0.4153, allocations: 352.1 kB / 0.7466 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.983e-05/0.4153, allocations: 7.719 kB / 0.7466 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.4154, allocations: 7.75 kB / 0.7466 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.4155, allocations: 164.6 kB / 0.7467 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4155, allocations: 3.984 kB / 0.7467 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.4155, allocations: 7.75 kB / 0.7468 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.293e-05/0.4156, allocations: 17.09 kB / 0.7468 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.204e-05/0.4157, allocations: 44.03 kB / 0.7468 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4157, allocations: 4 kB / 0.7468 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4157, allocations: 0 / 0.7468 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4157, allocations: 4.453 kB / 0.7468 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.4158, allocations: 152.2 kB / 0.747 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.829e-05/0.4159, allocations: 31.25 kB / 0.747 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.4159, allocations: 24.02 kB / 0.747 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.416, allocations: 3.844 kB / 0.747 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.416, allocations: 42.06 kB / 0.7471 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.416, allocations: 0 / 0.7471 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0006892/0.4167, allocations: 0.5056 MB / 0.7476 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.4167, allocations: 59.22 kB / 0.7476 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.4168, allocations: 85.61 kB / 0.7477 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.4168, allocations: 29.83 kB / 0.7477 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.4168, allocations: 84.31 kB / 0.7478 GB, free: 25.06 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.4169, allocations: 42.41 kB / 0.7478 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.4169, allocations: 3.938 kB / 0.7478 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.417, allocations: 316.2 kB / 0.7481 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.417, allocations: 16.14 kB / 0.7482 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.417, allocations: 18.94 kB / 0.7482 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.448e-05/0.4171, allocations: 21.11 kB / 0.7482 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.4171, allocations: 0 / 0.7482 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001083/0.4172, allocations: 92.08 kB / 0.7483 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.4172, allocations: 4.406 kB / 0.7483 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4172, allocations: 0.7031 kB / 0.7483 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.4172, allocations: 3.969 kB / 0.7483 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.501e-05/0.4173, allocations: 21.94 kB / 0.7483 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4173, allocations: 4.672 kB / 0.7483 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.4174, allocations: 3.812 kB / 0.7483 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.4174, allocations: 4.391 kB / 0.7483 GB, free: 24.67 MB / 0.5105 GB 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 6.324e-05/0.4174, allocations: 112.3 kB / 0.7484 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4175, allocations: 4 kB / 0.7484 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.4176, allocations: 96.66 kB / 0.7485 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4176, allocations: 3.906 kB / 0.7485 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4176, allocations: 0 / 0.7485 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4176, allocations: 4.422 kB / 0.7485 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002926/0.4179, allocations: 315.6 kB / 0.7488 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4179, allocations: 0 / 0.7488 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4181, allocations: 17.95 kB / 0.7489 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4181, allocations: 12.23 kB / 0.7489 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.4181, allocations: 3.938 kB / 0.7489 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4181, allocations: 0.75 kB / 0.7489 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.4181, allocations: 0 / 0.7489 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001721/0.4183, allocations: 209.9 kB / 0.7491 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.4183, allocations: 82 kB / 0.7492 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.4183, allocations: 0 / 0.7492 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.4184, allocations: 4.625 kB / 0.7492 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.4184, allocations: 6.641 kB / 0.7492 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.4185, allocations: 8.625 kB / 0.7492 GB, free: 23.98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.603e-05/0.4185, allocations: 82.56 kB / 0.7493 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002306/0.4187, allocations: 36.67 kB / 0.7493 GB, free: 23.89 MB / 0.5105 GB 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.0001637/0.4189, allocations: 141.1 kB / 0.7494 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.419, allocations: 54.14 kB / 0.7495 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.419, allocations: 0 / 0.7495 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.278e-05/0.419, allocations: 39.16 kB / 0.7495 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/0.4192, allocations: 4.672 kB / 0.7495 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.4195, allocations: 204.3 kB / 0.7497 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.4198, allocations: 0.7112 MB / 0.7504 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.4198, allocations: 0 / 0.7504 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of Templates: time 0.002706/0.4225, allocations: 1.061 MB / 0.7514 GB, free: 22.8 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)