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/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.001681/0.001681, allocations: 104.6 kB / 18.84 MB, free: 3.023 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.002226/0.002226, allocations: 191.2 kB / 22.11 MB, free: 4.227 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.57/1.57, allocations: 207.6 MB / 232.8 MB, free: 2.832 MB / 174.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.503/0.503, allocations: 55.67 MB / 340.7 MB, free: 11.46 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [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.0022/0.0022, allocations: 82.7 kB / 482.1 MB, free: 36.59 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1607, allocations: 62.88 MB / 0.5322 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002683/0.1634, allocations: 1.258 MB / 0.5334 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1644, allocations: 0.5298 MB / 0.5339 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.1644, allocations: 0 / 0.5339 GB, free: 9.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.1645, allocations: 3.984 kB / 0.5339 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.29e-05/0.1645, allocations: 3.938 kB / 0.5339 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.165, allocations: 123.5 kB / 0.534 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.1651, allocations: 15.94 kB / 0.5341 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.1652, allocations: 7.984 kB / 0.5341 GB, free: 9.086 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.282e-05/0.1653, allocations: 8 kB / 0.5341 GB, free: 9.078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.393e-05/0.1653, allocations: 7.938 kB / 0.5341 GB, free: 9.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.1654, allocations: 3.984 kB / 0.5341 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.1659, allocations: 323.5 kB / 0.5344 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.202e-05/0.166, allocations: 4 kB / 0.5344 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.795e-05/0.166, allocations: 19.92 kB / 0.5344 GB, free: 8.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1663, allocations: 135.5 kB / 0.5345 GB, free: 8.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1663, allocations: 0 / 0.5345 GB, free: 8.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1663, allocations: 0 / 0.5345 GB, free: 8.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1663, allocations: 0 / 0.5345 GB, free: 8.594 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004718/0.1668, allocations: 278 kB / 0.5348 GB, free: 8.289 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.1668, allocations: 12.03 kB / 0.5348 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.039e-05/0.1669, allocations: 4.875 kB / 0.5348 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.167, allocations: 122.4 kB / 0.5349 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.167, allocations: 4.375 kB / 0.5349 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.167, allocations: 384 / 0.5349 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.1677, allocations: 110.2 kB / 0.535 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1677, allocations: 192 / 0.535 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1677, allocations: 3.938 kB / 0.5351 GB, free: 8.008 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1677, allocations: 4 kB / 0.5351 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004769/0.1682, allocations: 83.84 kB / 0.5351 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001992/0.1684, allocations: 124.8 kB / 0.5353 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.169, allocations: 114.5 kB / 0.5354 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.1691, allocations: 24.88 kB / 0.5354 GB, free: 7.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/0.1694, allocations: 31.95 kB / 0.5354 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.1694, allocations: 38.56 kB / 0.5355 GB, free: 7.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.1694, allocations: 0 / 0.5355 GB, free: 7.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.004739/0.1742, allocations: 0.8948 MB / 0.5363 GB, free: 6.602 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1742, allocations: 55.34 kB / 0.5364 GB, free: 6.535 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.1743, allocations: 98.17 kB / 0.5365 GB, free: 6.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1743, allocations: 25.7 kB / 0.5365 GB, free: 6.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1744, allocations: 88.14 kB / 0.5366 GB, free: 6.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.1744, allocations: 19.8 kB / 0.5366 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.583e-05/0.1745, allocations: 21.7 kB / 0.5366 GB, free: 6.262 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1746, allocations: 314.8 kB / 0.5369 GB, free: 5.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.1749, allocations: 59.94 kB / 0.537 GB, free: 5.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.1752, allocations: 63.94 kB / 0.537 GB, free: 5.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/0.1757, allocations: 124.8 kB / 0.5372 GB, free: 5.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.1757, allocations: 0 / 0.5372 GB, free: 5.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000603/0.1763, allocations: 173.8 kB / 0.5373 GB, free: 5.523 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1763, allocations: 11.94 kB / 0.5373 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1763, allocations: 80 / 0.5373 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1763, allocations: 3.984 kB / 0.5373 GB, free: 5.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1765, allocations: 39.95 kB / 0.5374 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1765, allocations: 3.984 kB / 0.5374 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1767, allocations: 27.98 kB / 0.5374 GB, free: 5.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1767, allocations: 12.05 kB / 0.5374 GB, free: 5.426 MB / 398.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 (7): * Single equations (assignments): 7 * 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.0001036/0.1768, allocations: 109.8 kB / 0.5375 GB, free: 5.309 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/0.1768, allocations: 7.938 kB / 0.5375 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.1769, allocations: 8.062 kB / 0.5375 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1769, allocations: 0 / 0.5375 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1769, allocations: 0 / 0.5375 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1769, allocations: 4 kB / 0.5375 GB, free: 5.289 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.178, allocations: 422.2 kB / 0.5379 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.178, allocations: 3.938 kB / 0.538 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.1782, allocations: 39.95 kB / 0.538 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1782, allocations: 0 / 0.538 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.1782, allocations: 3.938 kB / 0.538 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1782, allocations: 0 / 0.538 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1782, allocations: 4 kB / 0.538 GB, free: 4.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009496/0.1792, allocations: 340.1 kB / 0.5383 GB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.1792, allocations: 8.016 kB / 0.5383 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.1792, allocations: 0 / 0.5383 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1794, allocations: 32.03 kB / 0.5384 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.1795, allocations: 4 kB / 0.5384 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.1795, allocations: 7.984 kB / 0.5384 GB, free: 4.371 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.04e-05/0.1795, allocations: 75.28 kB / 0.5384 GB, free: 4.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1795, allocations: 0 / 0.5384 GB, free: 4.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002281/0.1797, allocations: 12 kB / 0.5385 GB, free: 4.285 MB / 398.1 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 (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.000122/0.1799, allocations: 99.25 kB / 0.5385 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006046/0.1805, allocations: 135.8 kB / 0.5387 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1805, allocations: 0 / 0.5387 GB, free: 4.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002791/0.1807, allocations: 71.94 kB / 0.5387 GB, free: 3.977 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.181, allocations: 13.97 kB / 0.5388 GB, free: 3.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.1822, allocations: 348.4 kB / 0.5391 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.1825, allocations: 0.6807 MB / 0.5398 GB, free: 2.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.318e-05/0.1826, allocations: 12 kB / 0.5398 GB, free: 2.875 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.749e-05/0.1827, allocations: 11.44 kB / 0.5398 GB, free: 2.863 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1827, allocations: 0 / 0.5398 GB, free: 2.863 MB / 398.1 MB Notification: Performance of Templates: time 0.003789/0.1865, allocations: 0.8671 MB / 0.5406 GB, free: 2.031 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.377783168107271] Failed to read output from testmodel.py, exit status != 0: 0.19469875283539295 0.20985014899999996 0.040606287000000005 Calling exit ...