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.009866/0.009865, allocations: 169 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7884/0.7884, allocations: 135.2 MB / 151.1 MB, free: 13.83 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.677/1.677, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.0008883/0.0008884, allocations: 93.88 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 19.92 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4713, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1715/0.6429, allocations: 112.1 MB / 0.759 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.6432, allocations: 87.94 kB / 0.7591 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0117/0.6549, allocations: 4.058 MB / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.769e-06/0.655, allocations: 0 / 0.763 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.655, allocations: 7.875 kB / 0.763 GB, free: 15.73 MB / 0.5417 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.0004009/0.6554, allocations: 347.3 kB / 0.7634 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.6555, allocations: 8.031 kB / 0.7634 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.6555, allocations: 4 kB / 0.7634 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.6557, allocations: 174.9 kB / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.6557, allocations: 0 / 0.7635 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.6557, allocations: 4 kB / 0.7635 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.6558, allocations: 37.69 kB / 0.7636 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.6559, allocations: 0 / 0.7636 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.6559, allocations: 0 / 0.7636 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6559, allocations: 0 / 0.7636 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.82e-05/0.6559, allocations: 16 kB / 0.7636 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002154/0.6561, allocations: 157.6 kB / 0.7638 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.6563, allocations: 50.55 kB / 0.7638 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.6564, allocations: 3.984 kB / 0.7638 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.6564, allocations: 34.64 kB / 0.7638 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.6564, allocations: 4 kB / 0.7638 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0006856/0.6571, allocations: 294.3 kB / 0.7641 GB, free: 14.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.6572, allocations: 59.41 kB / 0.7642 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.6573, allocations: 85 kB / 0.7643 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.6573, allocations: 29.7 kB / 0.7643 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.6573, allocations: 84.12 kB / 0.7644 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.6574, allocations: 19.66 kB / 0.7644 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.6574, allocations: 0 / 0.7644 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6575, allocations: 326.8 kB / 0.7647 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.881e-05/0.6576, allocations: 19.91 kB / 0.7647 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.116e-05/0.6576, allocations: 11.94 kB / 0.7647 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.123e-05/0.6576, allocations: 16 kB / 0.7647 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.6576, allocations: 0 / 0.7647 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.521e-05/0.6577, allocations: 61.59 kB / 0.7648 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.6578, allocations: 8 kB / 0.7648 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6578, allocations: 0 / 0.7648 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6578, allocations: 0 / 0.7648 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.6578, allocations: 11.98 kB / 0.7648 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.6579, allocations: 8 kB / 0.7648 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.713e-05/0.6579, allocations: 0 / 0.7648 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.6579, allocations: 64 / 0.7648 GB, free: 13.63 MB / 0.5417 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 () * 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.0001013/0.658, allocations: 121.7 kB / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.658, allocations: 4 kB / 0.7649 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001481/0.6582, allocations: 69.88 kB / 0.765 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.6582, allocations: 4 kB / 0.765 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6582, allocations: 0 / 0.765 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6582, allocations: 7.938 kB / 0.765 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003406/0.6586, allocations: 315.4 kB / 0.7653 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6586, allocations: 0 / 0.7653 GB, free: 13.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.6586, allocations: 12 kB / 0.7653 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6586, allocations: 0 / 0.7653 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6587, allocations: 3.984 kB / 0.7653 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.6587, allocations: 3.984 kB / 0.7653 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6587, allocations: 0 / 0.7653 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002006/0.6589, allocations: 198 kB / 0.7655 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.6589, allocations: 81.09 kB / 0.7656 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.659, allocations: 8.031 kB / 0.7656 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.659, allocations: 0 / 0.7656 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.597e-05/0.6591, allocations: 4 kB / 0.7656 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.6591, allocations: 3.984 kB / 0.7656 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.6591, allocations: 87.3 kB / 0.7657 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.6591, allocations: 0 / 0.7657 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000256/0.6594, allocations: 28 kB / 0.7657 GB, free: 12.58 MB / 0.5417 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 () * 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.000213/0.6596, allocations: 135.1 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001171/0.6597, allocations: 31.94 kB / 0.7659 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.6597, allocations: 0 / 0.7659 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.6598, allocations: 23.92 kB / 0.7659 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.6599, allocations: 0 / 0.7659 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00047/0.6604, allocations: 222.3 kB / 0.7661 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6607, allocations: 0.6887 MB / 0.7668 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.651e-05/0.6608, allocations: 7.984 kB / 0.7668 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.105e-05/0.6608, allocations: 11.44 kB / 0.7668 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.6608, allocations: 0 / 0.7668 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.002763/0.6636, allocations: 0.5687 MB / 0.7674 GB, free: 10.84 MB / 0.5417 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)