Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3767/0.3767, allocations: 55.02 MB / 69.97 MB, free: 8.672 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.001135/0.001134, allocations: 191.5 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.759/1.759, allocations: 194.4 MB / 292.3 MB, free: 3.613 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.00195/0.001951, allocations: 108.7 kB / 350.7 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 11.98 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1616, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4974/0.6591, allocations: 86.3 MB / 0.5496 GB, free: 2.988 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.6594, allocations: 83.55 kB / 0.5497 GB, free: 2.938 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007221/0.6666, allocations: 2.621 MB / 0.5523 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6667, allocations: 4 kB / 0.5523 GB, free: 0.6914 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.6667, allocations: 0 / 0.5523 GB, free: 0.6914 MB / 362.7 MB 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.0003464/0.667, allocations: 355.6 kB / 0.5526 GB, free: 308 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.6671, allocations: 8.031 kB / 0.5526 GB, free: 300 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.6671, allocations: 4 kB / 0.5526 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.6673, allocations: 163.1 kB / 0.5528 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.6673, allocations: 0 / 0.5528 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.6673, allocations: 0 / 0.5528 GB, free: 92 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006106/0.6679, allocations: 132.6 kB / 0.5529 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.668, allocations: 0 / 0.5529 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.668, allocations: 3.828 kB / 0.5529 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.668, allocations: 0 / 0.5529 GB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.6685, allocations: 91.53 kB / 0.553 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.6687, allocations: 157.4 kB / 0.5531 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006784/0.6694, allocations: 127 kB / 0.5533 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/0.6698, allocations: 105.2 kB / 0.5534 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.6698, allocations: 38.5 kB / 0.5534 GB, free: 15.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.6698, allocations: 0 / 0.5534 GB, free: 15.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.004754/0.6746, allocations: 1.069 MB / 0.5544 GB, free: 14.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/0.6747, allocations: 51.41 kB / 0.5545 GB, free: 14.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.873e-05/0.6747, allocations: 89.33 kB / 0.5546 GB, free: 14.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.6748, allocations: 28.7 kB / 0.5546 GB, free: 14.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.6748, allocations: 84.14 kB / 0.5547 GB, free: 14.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.6749, allocations: 23.14 kB / 0.5547 GB, free: 14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-06/0.6749, allocations: 0 / 0.5547 GB, free: 14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.6751, allocations: 313.6 kB / 0.555 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.6753, allocations: 71.31 kB / 0.5551 GB, free: 13.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.6756, allocations: 74.11 kB / 0.5552 GB, free: 13.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.6759, allocations: 70.75 kB / 0.5552 GB, free: 13.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6759, allocations: 4 kB / 0.5552 GB, free: 13.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005525/0.6764, allocations: 183.3 kB / 0.5554 GB, free: 13.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.6765, allocations: 4 kB / 0.5554 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.6765, allocations: 3.953 kB / 0.5554 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.6765, allocations: 192 / 0.5554 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.6767, allocations: 47.08 kB / 0.5554 GB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.6768, allocations: 4.859 kB / 0.5555 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.6769, allocations: 24.48 kB / 0.5555 GB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.677, allocations: 7.984 kB / 0.5555 GB, free: 13.23 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 () * Number of clocked 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 0.0001051/0.6771, allocations: 109 kB / 0.5556 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.6771, allocations: 7.984 kB / 0.5556 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.6772, allocations: 7.406 kB / 0.5556 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.6772, allocations: 3.953 kB / 0.5556 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6772, allocations: 64 / 0.5556 GB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.6772, allocations: 8 kB / 0.5556 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6782, allocations: 476.3 kB / 0.5561 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6783, allocations: 4.031 kB / 0.5561 GB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.6785, allocations: 35.97 kB / 0.5561 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6785, allocations: 7.953 kB / 0.5561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.6785, allocations: 3.984 kB / 0.5561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6785, allocations: 0 / 0.5561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6785, allocations: 3.938 kB / 0.5561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.6795, allocations: 373.5 kB / 0.5565 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.6796, allocations: 89.08 kB / 0.5566 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.6796, allocations: 2.688 kB / 0.5566 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.6798, allocations: 32.03 kB / 0.5566 GB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.6798, allocations: 7.984 kB / 0.5566 GB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.6799, allocations: 0 / 0.5566 GB, free: 12.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.6799, allocations: 82.47 kB / 0.5567 GB, free: 11.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6799, allocations: 0 / 0.5567 GB, free: 11.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000236/0.6802, allocations: 16 kB / 0.5567 GB, free: 11.93 MB / 378.7 MB 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 () * Number of clocked 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.0001881/0.6804, allocations: 118.4 kB / 0.5568 GB, free: 11.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.6809, allocations: 146.5 kB / 0.557 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.681, allocations: 0 / 0.557 GB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.6812, allocations: 83.67 kB / 0.557 GB, free: 11.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.6814, allocations: 4 kB / 0.557 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.6827, allocations: 396.8 kB / 0.5574 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.683, allocations: 0.6887 MB / 0.5581 GB, free: 10.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.914e-05/0.6831, allocations: 8 kB / 0.5581 GB, free: 10.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.995e-05/0.6832, allocations: 15.42 kB / 0.5581 GB, free: 10.45 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6832, allocations: 0 / 0.5581 GB, free: 10.45 MB / 378.7 MB Notification: Performance of Templates: time 0.003073/0.6862, allocations: 0.7428 MB / 0.5588 GB, free: 9.734 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)