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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8823/0.8823, allocations: 133.6 MB / 141.6 MB, free: 2.949 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.00092, allocations: 91.33 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.795e-05, allocations: 4 kB / 0.5535 GB, free: 9.059 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.522, allocations: 82.3 MB / 0.6338 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.6722, allocations: 111.4 MB / 0.7426 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.6725, allocations: 83.95 kB / 0.7427 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01108/0.6836, allocations: 4.035 MB / 0.7467 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.173e-06/0.6837, allocations: 0 / 0.7467 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6837, allocations: 0 / 0.7467 GB, free: 7.246 MB / 0.5261 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.0003189/0.684, allocations: 336.4 kB / 0.747 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6841, allocations: 12.02 kB / 0.747 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.6841, allocations: 7.906 kB / 0.747 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6842, allocations: 167 kB / 0.7471 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.6843, allocations: 0 / 0.7471 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.6843, allocations: 4 kB / 0.7472 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.933e-05/0.6844, allocations: 7.938 kB / 0.7472 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.257e-05/0.6844, allocations: 41.69 kB / 0.7472 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6845, allocations: 4 kB / 0.7472 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.6845, allocations: 0 / 0.7472 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.6845, allocations: 0 / 0.7472 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.6846, allocations: 142.1 kB / 0.7473 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.6848, allocations: 38.52 kB / 0.7474 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.6849, allocations: 24.92 kB / 0.7474 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.6849, allocations: 4 kB / 0.7474 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.6849, allocations: 30.56 kB / 0.7474 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.6849, allocations: 0 / 0.7474 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.000527/0.6855, allocations: 274.3 kB / 0.7477 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.6855, allocations: 55.41 kB / 0.7477 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.6856, allocations: 89.19 kB / 0.7478 GB, free: 5.816 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6856, allocations: 33.7 kB / 0.7479 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.6856, allocations: 84.12 kB / 0.7479 GB, free: 5.691 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.6857, allocations: 15.66 kB / 0.748 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.6857, allocations: 0 / 0.748 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6858, allocations: 318.8 kB / 0.7483 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.6858, allocations: 8 kB / 0.7483 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.612e-05/0.6858, allocations: 8 kB / 0.7483 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.6859, allocations: 15.94 kB / 0.7483 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6859, allocations: 0 / 0.7483 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.102e-05/0.686, allocations: 65.83 kB / 0.7484 GB, free: 5.254 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.686, allocations: 9.094 kB / 0.7484 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.686, allocations: 3.938 kB / 0.7484 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.686, allocations: 192 / 0.7484 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/0.6861, allocations: 8 kB / 0.7484 GB, free: 5.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.6861, allocations: 4 kB / 0.7484 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.6861, allocations: 0 / 0.7484 GB, free: 5.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.6861, allocations: 3.984 kB / 0.7484 GB, free: 5.227 MB / 0.5261 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.92e-05/0.6862, allocations: 104.9 kB / 0.7485 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.6862, allocations: 15.89 kB / 0.7485 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.6864, allocations: 62.09 kB / 0.7486 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.6864, allocations: 3.938 kB / 0.7486 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6864, allocations: 0 / 0.7486 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6864, allocations: 0 / 0.7486 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002767/0.6867, allocations: 288.2 kB / 0.7488 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6867, allocations: 4 kB / 0.7488 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.6867, allocations: 11.98 kB / 0.7489 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.6868, allocations: 4 kB / 0.7489 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.6868, allocations: 7.969 kB / 0.7489 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.6868, allocations: 3.938 kB / 0.7489 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.6868, allocations: 3.938 kB / 0.7489 GB, free: 4.668 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.687, allocations: 182.1 kB / 0.749 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.687, allocations: 89.03 kB / 0.7491 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.687, allocations: 0 / 0.7491 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.6871, allocations: 4.062 kB / 0.7491 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.6871, allocations: 4 kB / 0.7491 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.6871, allocations: 0 / 0.7491 GB, free: 4.352 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.795e-05/0.6872, allocations: 87.27 kB / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6872, allocations: 0 / 0.7492 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002467/0.6874, allocations: 24 kB / 0.7492 GB, free: 4.242 MB / 0.5261 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.0001898/0.6876, allocations: 127.1 kB / 0.7494 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 8.807e-05/0.6877, allocations: 35.98 kB / 0.7494 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6878, allocations: 0 / 0.7494 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.6878, allocations: 11.94 kB / 0.7494 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.6879, allocations: 7.953 kB / 0.7494 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/0.6883, allocations: 145.2 kB / 0.7496 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.6885, allocations: 0.6846 MB / 0.7502 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.6885, allocations: 4 kB / 0.7502 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.6885, allocations: 11.44 kB / 0.7502 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of SimCode: time 2.11e-07/0.6886, allocations: 0 / 0.7502 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of Templates: time 0.002442/0.691, allocations: 0.5707 MB / 0.7508 GB, free: 2.605 MB / 0.5261 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)