Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008576/0.008576, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7986/0.7986, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.423/1.423, allocations: 223.2 MB / 406.9 MB, free: 3.141 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.0009362/0.0009364, allocations: 101 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003836/0.0003837, allocations: 16 kB / 0.5691 GB, free: 14.12 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.324, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.4597, allocations: 112.9 MB / 0.7598 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.46, allocations: 83.94 kB / 0.7598 GB, free: 2.961 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.473, allocations: 4.317 MB / 0.7641 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4731, allocations: 3.938 kB / 0.7641 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.4731, allocations: 4 kB / 0.7641 GB, free: 14.63 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005063/0.4736, allocations: 375.1 kB / 0.7644 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.4736, allocations: 12.03 kB / 0.7644 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.02e-05/0.4737, allocations: 7.906 kB / 0.7644 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.4738, allocations: 167 kB / 0.7646 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.4739, allocations: 11.94 kB / 0.7646 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.4739, allocations: 7.984 kB / 0.7646 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.4742, allocations: 81.64 kB / 0.7647 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4742, allocations: 0 / 0.7647 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4742, allocations: 4 kB / 0.7647 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4742, allocations: 4 kB / 0.7647 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002254/0.4745, allocations: 55.95 kB / 0.7648 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005782/0.475, allocations: 340.6 kB / 0.7651 GB, free: 13.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.4753, allocations: 86.53 kB / 0.7652 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4754, allocations: 4 kB / 0.7652 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.4754, allocations: 30.56 kB / 0.7652 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.4754, allocations: 0 / 0.7652 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001762/0.4772, allocations: 0.6813 MB / 0.7659 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4773, allocations: 51.41 kB / 0.7659 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.619e-05/0.4773, allocations: 96.98 kB / 0.766 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4774, allocations: 25.7 kB / 0.766 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.4774, allocations: 92.05 kB / 0.7661 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.4775, allocations: 35.45 kB / 0.7661 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.4775, allocations: 4 kB / 0.7662 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4776, allocations: 314.8 kB / 0.7665 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.4777, allocations: 39.97 kB / 0.7665 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.4779, allocations: 31.98 kB / 0.7665 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.478, allocations: 43.67 kB / 0.7666 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.478, allocations: 0 / 0.7666 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003137/0.4783, allocations: 125.6 kB / 0.7667 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.4784, allocations: 4 kB / 0.7667 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4784, allocations: 3.984 kB / 0.7667 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4784, allocations: 7.953 kB / 0.7667 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.4786, allocations: 27.92 kB / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.4786, allocations: 4 kB / 0.7667 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.4787, allocations: 8 kB / 0.7667 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.4787, allocations: 12 kB / 0.7667 GB, free: 11.59 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 (13): * Single equations (assignments): 13 * 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.0001024/0.4788, allocations: 113.8 kB / 0.7669 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.4788, allocations: 4 kB / 0.7669 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.4792, allocations: 149.5 kB / 0.767 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4792, allocations: 7.953 kB / 0.767 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4792, allocations: 0 / 0.767 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4793, allocations: 3.984 kB / 0.767 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.4799, allocations: 386.5 kB / 0.7674 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.4799, allocations: 0 / 0.7674 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.48, allocations: 31.92 kB / 0.7674 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.4801, allocations: 4.141 kB / 0.7674 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.4801, allocations: 11.98 kB / 0.7674 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.4801, allocations: 0 / 0.7674 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4801, allocations: 0 / 0.7674 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004859/0.4806, allocations: 263.6 kB / 0.7677 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/0.4806, allocations: 81.02 kB / 0.7678 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4807, allocations: 3.953 kB / 0.7678 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4808, allocations: 8 kB / 0.7678 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.4808, allocations: 19.98 kB / 0.7678 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-06/0.4808, allocations: 4 kB / 0.7678 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.861e-05/0.4809, allocations: 79.27 kB / 0.7679 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4809, allocations: 0 / 0.7679 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002997/0.4812, allocations: 40 kB / 0.7679 GB, free: 10.29 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (11): * Single equations (assignments): 11 * 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.0002318/0.4814, allocations: 140.1 kB / 0.768 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003072/0.4817, allocations: 95.83 kB / 0.7681 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4818, allocations: 0 / 0.7681 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.4819, allocations: 51.97 kB / 0.7682 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001891/0.4821, allocations: 0 / 0.7682 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.4827, allocations: 377.2 kB / 0.7685 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.483, allocations: 0.7004 MB / 0.7692 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.368e-05/0.4831, allocations: 12.61 kB / 0.7692 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.4831, allocations: 15.42 kB / 0.7692 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of SimCode: time 2.324e-06/0.4831, allocations: 0 / 0.7692 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of Templates: time 0.003117/0.4862, allocations: 1.027 MB / 0.7703 GB, free: 7.859 MB / 0.5417 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)