Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5959/0.5959, 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.101/1.101, allocations: 221.3 MB / 395 MB, free: 10.19 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.0008252/0.0008253, allocations: 106.2 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.201e-06/6.302e-06, allocations: 2.812 kB / 0.5528 GB, free: 89.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09876, allocations: 82.31 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2933/0.3921, allocations: 111.2 MB / 0.7418 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.3923, allocations: 76.08 kB / 0.7419 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.007081/0.3994, allocations: 2.535 MB / 0.7444 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3994, allocations: 0 / 0.7444 GB, free: 10.64 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002343/0.3996, allocations: 342.4 kB / 0.7447 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.3996, allocations: 15.53 kB / 0.7447 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.569e-05/0.3997, allocations: 5.781 kB / 0.7447 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.725e-05/0.3998, allocations: 160.4 kB / 0.7449 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3998, allocations: 3.812 kB / 0.7449 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.3998, allocations: 0 / 0.7449 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.051e-05/0.3999, allocations: 16.77 kB / 0.7449 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.596e-05/0.3999, allocations: 36.09 kB / 0.7449 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3999, allocations: 0 / 0.7449 GB, free: 26.03 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.4, allocations: 7.875 kB / 0.7449 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.4, allocations: 3.688 kB / 0.7449 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001175/0.4001, allocations: 136.6 kB / 0.7451 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.4002, allocations: 27.97 kB / 0.7451 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.566e-05/0.4003, allocations: 21.19 kB / 0.7451 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4003, allocations: 0 / 0.7451 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.4003, allocations: 39.77 kB / 0.7452 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.4003, allocations: 0 / 0.7452 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004268/0.4007, allocations: 285 kB / 0.7454 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4008, allocations: 51.41 kB / 0.7455 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.68e-05/0.4008, allocations: 90.56 kB / 0.7456 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4008, allocations: 25.7 kB / 0.7456 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.367e-05/0.4009, allocations: 80.14 kB / 0.7457 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.4009, allocations: 20.95 kB / 0.7457 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.4009, allocations: 3.938 kB / 0.7457 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.785e-05/0.401, allocations: 316.5 kB / 0.746 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.401, allocations: 11.69 kB / 0.746 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.364e-05/0.401, allocations: 6.344 kB / 0.746 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.175e-05/0.4011, allocations: 12.97 kB / 0.746 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.4011, allocations: 0 / 0.746 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.251e-05/0.4012, allocations: 62.81 kB / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.4012, allocations: 3.812 kB / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.4012, allocations: 0 / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.4012, allocations: 0 / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.4012, allocations: 17.56 kB / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.4013, allocations: 0 / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.4013, allocations: 4 kB / 0.7461 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.4013, allocations: 1.828 kB / 0.7461 GB, free: 24.9 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 (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 5.06e-05/0.4013, allocations: 108.8 kB / 0.7462 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.4014, allocations: 3.906 kB / 0.7462 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.4015, allocations: 73.98 kB / 0.7463 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.4015, allocations: 0 / 0.7463 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.4015, allocations: 3.938 kB / 0.7463 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.4015, allocations: 0 / 0.7463 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002261/0.4017, allocations: 291.8 kB / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.4017, allocations: 0 / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.4018, allocations: 17.28 kB / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4018, allocations: 0 / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.4018, allocations: 0 / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4018, allocations: 0 / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4018, allocations: 5.672 kB / 0.7466 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001563/0.402, allocations: 186.1 kB / 0.7468 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.402, allocations: 92.03 kB / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.4021, allocations: 0 / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.4021, allocations: 0 / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.494e-05/0.4022, allocations: 5.453 kB / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.4022, allocations: 0 / 0.7469 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.642e-05/0.4022, allocations: 80.97 kB / 0.7469 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002134/0.4024, allocations: 23.25 kB / 0.747 GB, free: 24.11 MB / 0.5105 GB 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.0001446/0.4026, allocations: 130.8 kB / 0.7471 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.4026, allocations: 30.95 kB / 0.7471 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.4026, allocations: 0 / 0.7471 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-05/0.4027, allocations: 15.06 kB / 0.7471 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.4028, allocations: 3.906 kB / 0.7471 GB, free: 24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000226/0.403, allocations: 140.9 kB / 0.7473 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002049/0.4032, allocations: 0.6993 MB / 0.748 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of SimCode: time 2.51e-07/0.4032, allocations: 0 / 0.748 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.002066/0.4053, allocations: 0.6546 MB / 0.7486 GB, free: 23.11 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)