Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 113.3 kB / 18.7 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006308/0.006308, allocations: 180.5 kB / 21.94 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 250.7 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.063/1.063, allocations: 175.8 MB / 481.6 MB, free: 7.812 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 69.45 kB / 0.6701 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5782, allocations: 94.52 MB / 0.7624 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00248/0.5806, allocations: 1.287 MB / 0.7636 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.5817, allocations: 0.6104 MB / 0.7642 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.191e-05/0.5817, allocations: 0.5312 kB / 0.7642 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.5817, allocations: 0.6562 kB / 0.7642 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.327e-05/0.5818, allocations: 5.719 kB / 0.7642 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005824/0.5823, allocations: 151.8 kB / 0.7644 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.5824, allocations: 33.36 kB / 0.7644 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.5825, allocations: 5.234 kB / 0.7644 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.5825, allocations: 6.906 kB / 0.7644 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.556e-05/0.5826, allocations: 20.48 kB / 0.7644 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.5826, allocations: 1.125 kB / 0.7644 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005797/0.5832, allocations: 341 kB / 0.7648 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.5832, allocations: 8.188 kB / 0.7648 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.758e-05/0.5832, allocations: 15.3 kB / 0.7648 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003017/0.5835, allocations: 157.7 kB / 0.7649 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5835, allocations: 0.5625 kB / 0.7649 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5835, allocations: 3.938 kB / 0.765 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.5835, allocations: 0.8125 kB / 0.765 GB, free: 8.961 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003875/0.5839, allocations: 373.8 kB / 0.7653 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.584, allocations: 9.219 kB / 0.7653 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.584, allocations: 3.812 kB / 0.7653 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.273e-05/0.5841, allocations: 167.8 kB / 0.7655 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.5841, allocations: 4.281 kB / 0.7655 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.5841, allocations: 7.312 kB / 0.7655 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.5842, allocations: 55.92 kB / 0.7655 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.5842, allocations: 4.484 kB / 0.7656 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.5843, allocations: 6.234 kB / 0.7656 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.5843, allocations: 1.219 kB / 0.7656 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.5843, allocations: 19.23 kB / 0.7656 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.5845, allocations: 159.7 kB / 0.7657 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.5846, allocations: 60.28 kB / 0.7658 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/0.5846, allocations: 32.12 kB / 0.7658 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.5846, allocations: 5.859 kB / 0.7658 GB, free: 8.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.5847, allocations: 39.62 kB / 0.7659 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.5847, allocations: 0 / 0.7659 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001038/0.5857, allocations: 0.5823 MB / 0.7664 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.5857, allocations: 54.12 kB / 0.7665 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.611e-05/0.5858, allocations: 97.3 kB / 0.7666 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.5858, allocations: 27.89 kB / 0.7666 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.537e-05/0.5858, allocations: 85.42 kB / 0.7667 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.5858, allocations: 38.73 kB / 0.7667 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.5859, allocations: 32.02 kB / 0.7667 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.064e-05/0.5859, allocations: 315.1 kB / 0.767 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.586, allocations: 26.17 kB / 0.7671 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.841e-05/0.586, allocations: 22.77 kB / 0.7671 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.841e-05/0.5861, allocations: 63.5 kB / 0.7672 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5861, allocations: 0 / 0.7672 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001374/0.5862, allocations: 96.84 kB / 0.7672 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.5862, allocations: 5.078 kB / 0.7673 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5862, allocations: 1.312 kB / 0.7673 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5863, allocations: 4 kB / 0.7673 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5864, allocations: 21.78 kB / 0.7673 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.5864, allocations: 4.734 kB / 0.7673 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.5864, allocations: 2.375 kB / 0.7673 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.5864, allocations: 2.625 kB / 0.7673 GB, free: 6.742 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.5865, allocations: 124.7 kB / 0.7674 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.5865, allocations: 3.781 kB / 0.7674 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001843/0.5867, allocations: 101.5 kB / 0.7675 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5867, allocations: 5.062 kB / 0.7675 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5867, allocations: 1.094 kB / 0.7675 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5867, allocations: 1.734 kB / 0.7675 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.587, allocations: 360.1 kB / 0.7679 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.587, allocations: 0.75 kB / 0.7679 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.5871, allocations: 20.55 kB / 0.7679 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5871, allocations: 0 / 0.7679 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5871, allocations: 6.953 kB / 0.7679 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5871, allocations: 2.812 kB / 0.7679 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5871, allocations: 1.188 kB / 0.7679 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.5874, allocations: 225.2 kB / 0.7681 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/0.5874, allocations: 86.92 kB / 0.7682 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.5874, allocations: 1.188 kB / 0.7682 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.5875, allocations: 3.359 kB / 0.7682 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.5875, allocations: 10 kB / 0.7682 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.5875, allocations: 8.234 kB / 0.7682 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.94e-05/0.5875, allocations: 78.59 kB / 0.7683 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5875, allocations: 4.094 kB / 0.7683 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002804/0.5878, allocations: 36.48 kB / 0.7683 GB, free: 5.832 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.588, allocations: 139 kB / 0.7685 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.5881, allocations: 53.44 kB / 0.7685 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.5882, allocations: 0.9375 kB / 0.7685 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.016e-05/0.5882, allocations: 34.3 kB / 0.7685 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.5884, allocations: 7.984 kB / 0.7685 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.5889, allocations: 317.8 kB / 0.7689 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.589, allocations: 0.6894 MB / 0.7695 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.5891, allocations: 19.73 kB / 0.7695 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.5891, allocations: 0 / 0.7695 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of Templates: time 0.002952/0.592, allocations: 1.137 MB / 0.7707 GB, free: 4.641 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.54574838699773] Failed to read output from testmodel.py, exit status != 0: 0.6000930899754167 0.612081195 0.025542393 Calling exit ...