Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.002113/0.002114, allocations: 179.1 kB / 7.463 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.5977/0.5977, allocations: 133.5 MB / 141.4 MB, free: 15.66 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.104/1.104, allocations: 221.3 MB / 395 MB, free: 10.25 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.0008196/0.0008195, allocations: 102.9 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.292e-06/6.322e-06, allocations: 2.25 kB / 0.5529 GB, free: 89.15 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/0.09864, allocations: 82.3 MB / 0.6332 GB, free: 14.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3028/0.4014, allocations: 111.3 MB / 0.7419 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001713/0.4016, allocations: 78.72 kB / 0.742 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.009553/0.4112, allocations: 3.69 MB / 0.7456 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.4112, allocations: 0 / 0.7456 GB, free: 10.36 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.0002388/0.4115, allocations: 341.6 kB / 0.7459 GB, free: 26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.4115, allocations: 7.656 kB / 0.746 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.4115, allocations: 7.781 kB / 0.746 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4116, allocations: 164.4 kB / 0.7461 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.4116, allocations: 0 / 0.7461 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4117, allocations: 3.844 kB / 0.7461 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.396e-05/0.4117, allocations: 9.031 kB / 0.7461 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.722e-05/0.4118, allocations: 39.42 kB / 0.7462 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4118, allocations: 0 / 0.7462 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4118, allocations: 4 kB / 0.7462 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.4118, allocations: 0 / 0.7462 GB, free: 25.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001169/0.4119, allocations: 135.9 kB / 0.7463 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.4121, allocations: 26.66 kB / 0.7463 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.4121, allocations: 21.77 kB / 0.7463 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.4121, allocations: 7.781 kB / 0.7464 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.4122, allocations: 34.47 kB / 0.7464 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.4122, allocations: 4 kB / 0.7464 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0004319/0.4126, allocations: 273.2 kB / 0.7467 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.4126, allocations: 59.22 kB / 0.7467 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.4127, allocations: 90.03 kB / 0.7468 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.4127, allocations: 29.52 kB / 0.7468 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.217e-05/0.4127, allocations: 80.14 kB / 0.7469 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.4128, allocations: 20.3 kB / 0.7469 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.4128, allocations: 4 kB / 0.7469 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.565e-05/0.4129, allocations: 316.9 kB / 0.7472 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.4129, allocations: 6.531 kB / 0.7472 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.4129, allocations: 12.44 kB / 0.7472 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/0.4129, allocations: 9.484 kB / 0.7473 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.51e-07/0.4129, allocations: 3.844 kB / 0.7473 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.208e-05/0.413, allocations: 58.83 kB / 0.7473 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.413, allocations: 7.688 kB / 0.7473 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/0.413, allocations: 0 / 0.7473 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.4131, allocations: 8.281 kB / 0.7473 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.4131, allocations: 13.98 kB / 0.7473 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.4131, allocations: 4.172 kB / 0.7473 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.611e-05/0.4131, allocations: 0 / 0.7473 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.4132, allocations: 3.875 kB / 0.7473 GB, free: 24.63 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 4.804e-05/0.4132, allocations: 101 kB / 0.7474 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.4132, allocations: 9.281 kB / 0.7475 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.4133, allocations: 72.31 kB / 0.7475 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4133, allocations: 0 / 0.7475 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.4134, allocations: 5.812 kB / 0.7475 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4134, allocations: 0 / 0.7475 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.4136, allocations: 292.4 kB / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4136, allocations: 0 / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.934e-05/0.4137, allocations: 13.05 kB / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4137, allocations: 0 / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.4137, allocations: 1.406 kB / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4137, allocations: 3.812 kB / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4137, allocations: 3.938 kB / 0.7478 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001242/0.4138, allocations: 187.2 kB / 0.748 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.4139, allocations: 90.58 kB / 0.7481 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.4139, allocations: 0 / 0.7481 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.414, allocations: 0.5625 kB / 0.7481 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.414, allocations: 5.188 kB / 0.7481 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.414, allocations: 4.812 kB / 0.7481 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.542e-05/0.414, allocations: 79.95 kB / 0.7482 GB, free: 23.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002163/0.4142, allocations: 27.16 kB / 0.7482 GB, free: 23.83 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001433/0.4144, allocations: 123.4 kB / 0.7483 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/0.4145, allocations: 30.55 kB / 0.7483 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4145, allocations: 3.969 kB / 0.7484 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.4145, allocations: 11.88 kB / 0.7484 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.4146, allocations: 8.516 kB / 0.7484 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.4149, allocations: 137.3 kB / 0.7485 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.4151, allocations: 0.6971 MB / 0.7492 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.4151, allocations: 0 / 0.7492 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.002089/0.4172, allocations: 0.6394 MB / 0.7498 GB, free: 22.82 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)