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_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.001341/0.001346, allocations: 100.3 kB / 16.4 MB, free: 6.496 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.001314/0.001314, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.296/0.296, allocations: 54.95 MB / 331.6 MB, free: 2.75 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 79.89 kB / 464.9 MB, free: 372 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1464, allocations: 59.59 MB / 0.5122 GB, free: 4.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002676/0.1491, allocations: 1.262 MB / 0.5135 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1502, allocations: 0.5302 MB / 0.514 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.1503, allocations: 0 / 0.514 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.1503, allocations: 3.938 kB / 0.514 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.882e-05/0.1504, allocations: 0 / 0.514 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005254/0.1509, allocations: 131.4 kB / 0.5141 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.151, allocations: 27.86 kB / 0.5141 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.151, allocations: 7.984 kB / 0.5141 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.98e-05/0.1511, allocations: 15.98 kB / 0.5142 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.446e-05/0.1511, allocations: 11.92 kB / 0.5142 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1512, allocations: 4 kB / 0.5142 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005751/0.1517, allocations: 343.4 kB / 0.5145 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.1518, allocations: 3.984 kB / 0.5145 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.1518, allocations: 15.92 kB / 0.5145 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.1522, allocations: 151.6 kB / 0.5147 GB, free: 2.309 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1522, allocations: 0 / 0.5147 GB, free: 2.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1522, allocations: 3.938 kB / 0.5147 GB, free: 2.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.1522, allocations: 0 / 0.5147 GB, free: 2.305 MB / 398.1 MB 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.0004904/0.1527, allocations: 375 kB / 0.515 GB, free: 1.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1527, allocations: 8.031 kB / 0.515 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1528, allocations: 4.938 kB / 0.515 GB, free: 1.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1529, allocations: 164.3 kB / 0.5152 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.153, allocations: 4.375 kB / 0.5152 GB, free: 1.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.153, allocations: 12.36 kB / 0.5152 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.1536, allocations: 118.2 kB / 0.5153 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1536, allocations: 4.172 kB / 0.5153 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1536, allocations: 3.938 kB / 0.5153 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1537, allocations: 8 kB / 0.5153 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.1543, allocations: 91.83 kB / 0.5154 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.1545, allocations: 161.6 kB / 0.5156 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.155, allocations: 134.5 kB / 0.5157 GB, free: 1.086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.1551, allocations: 28.84 kB / 0.5157 GB, free: 1.055 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003307/0.1554, allocations: 105.1 kB / 0.5158 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1555, allocations: 38.56 kB / 0.5159 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1555, allocations: 0 / 0.5159 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.008836/0.1643, allocations: 1.812 MB / 0.5176 GB, free: 14.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.1644, allocations: 51.41 kB / 0.5177 GB, free: 14.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.652e-05/0.1645, allocations: 97.8 kB / 0.5178 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.1646, allocations: 29.7 kB / 0.5178 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.1646, allocations: 84.12 kB / 0.5179 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.1647, allocations: 43.62 kB / 0.5179 GB, free: 14.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.187e-05/0.1648, allocations: 33.83 kB / 0.518 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1649, allocations: 318.8 kB / 0.5183 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.1654, allocations: 95.91 kB / 0.5184 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.1658, allocations: 99.91 kB / 0.5185 GB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/0.1666, allocations: 212.4 kB / 0.5187 GB, free: 13.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1666, allocations: 0 / 0.5187 GB, free: 13.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009167/0.1676, allocations: 257.4 kB / 0.5189 GB, free: 13.64 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1676, allocations: 4 kB / 0.5189 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1676, allocations: 0 / 0.5189 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1676, allocations: 4 kB / 0.5189 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.168, allocations: 63.88 kB / 0.519 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.168, allocations: 0 / 0.519 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.1683, allocations: 39.95 kB / 0.519 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.1683, allocations: 4 kB / 0.519 GB, free: 13.52 MB / 414.1 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 (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 0.0001009/0.1684, allocations: 118.4 kB / 0.5191 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.1685, allocations: 7.922 kB / 0.5191 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.1685, allocations: 15.97 kB / 0.5191 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1685, allocations: 0 / 0.5191 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1685, allocations: 4 kB / 0.5192 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1685, allocations: 0 / 0.5192 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.1699, allocations: 0.5293 MB / 0.5197 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1699, allocations: 0 / 0.5197 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.1703, allocations: 51.95 kB / 0.5197 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.1703, allocations: 3.984 kB / 0.5197 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1703, allocations: 8 kB / 0.5197 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1703, allocations: 4 kB / 0.5197 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1703, allocations: 0 / 0.5197 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.1719, allocations: 463 kB / 0.5202 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.172, allocations: 81.14 kB / 0.5203 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.172, allocations: 4 kB / 0.5203 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.1723, allocations: 35.95 kB / 0.5203 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.1724, allocations: 12.03 kB / 0.5203 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1724, allocations: 12 kB / 0.5203 GB, free: 12.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.339e-05/0.1725, allocations: 79.28 kB / 0.5204 GB, free: 12.01 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1725, allocations: 0 / 0.5204 GB, free: 12.01 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1727, allocations: 20 kB / 0.5204 GB, free: 11.99 MB / 414.1 MB 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.000151/0.1729, allocations: 107.3 kB / 0.5205 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009756/0.1739, allocations: 227.7 kB / 0.5207 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1739, allocations: 4 kB / 0.5207 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004398/0.1743, allocations: 111.8 kB / 0.5208 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1746, allocations: 7.859 kB / 0.5208 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.1769, allocations: 0.586 MB / 0.5214 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.1773, allocations: 0.6885 MB / 0.5221 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1774, allocations: 19.94 kB / 0.5221 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1775, allocations: 15.42 kB / 0.5221 GB, free: 10.17 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1775, allocations: 0 / 0.5221 GB, free: 10.17 MB / 414.1 MB Notification: Performance of Templates: time 0.004479/0.182, allocations: 1.148 MB / 0.5232 GB, free: 9.059 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.542310422286391]