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.001541/0.001541, allocations: 109 kB / 17.54 MB, free: 4.746 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.001696/0.001696, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.646/1.646, allocations: 207.6 MB / 231.3 MB, free: 3.195 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.4229/0.4229, allocations: 55.7 MB / 339.1 MB, free: 12.39 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.002245/0.002245, allocations: 70.73 kB / 479.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1381, allocations: 62.85 MB / 0.53 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.0029/0.141, allocations: 1.274 MB / 0.5312 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1421, allocations: 0.5336 MB / 0.5318 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.1422, allocations: 0 / 0.5318 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.1422, allocations: 0 / 0.5318 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.1422, allocations: 7.938 kB / 0.5318 GB, free: 9.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.1427, allocations: 127.5 kB / 0.5319 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.353e-05/0.1428, allocations: 27.86 kB / 0.5319 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.1429, allocations: 8 kB / 0.5319 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.1429, allocations: 15.92 kB / 0.5319 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.318e-05/0.143, allocations: 15.98 kB / 0.532 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.143, allocations: 4 kB / 0.532 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005644/0.1436, allocations: 343.4 kB / 0.5323 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.1436, allocations: 7.938 kB / 0.5323 GB, free: 9.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.1436, allocations: 19.86 kB / 0.5323 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.1439, allocations: 147.5 kB / 0.5325 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1439, allocations: 0 / 0.5325 GB, free: 9.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1439, allocations: 0 / 0.5325 GB, free: 9.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.1439, allocations: 0 / 0.5325 GB, free: 9.141 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.0006439/0.1446, allocations: 371.1 kB / 0.5328 GB, free: 8.727 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.1446, allocations: 8.031 kB / 0.5328 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.1447, allocations: 8.922 kB / 0.5328 GB, free: 8.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1449, allocations: 164.3 kB / 0.533 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1449, allocations: 384 / 0.533 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.1449, allocations: 8.375 kB / 0.533 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006549/0.1456, allocations: 122.1 kB / 0.5331 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.1456, allocations: 192 / 0.5331 GB, free: 8.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/0.1456, allocations: 7.938 kB / 0.5331 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1456, allocations: 4 kB / 0.5331 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.1461, allocations: 87.89 kB / 0.5332 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.1463, allocations: 169.6 kB / 0.5334 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.1469, allocations: 130.4 kB / 0.5335 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.072e-05/0.1469, allocations: 32.8 kB / 0.5335 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003404/0.1473, allocations: 109.1 kB / 0.5336 GB, free: 7.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1473, allocations: 34.55 kB / 0.5337 GB, free: 7.727 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.1473, allocations: 0 / 0.5337 GB, free: 7.727 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.008557/0.1558, allocations: 1.797 MB / 0.5354 GB, free: 5.836 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1559, allocations: 55.41 kB / 0.5355 GB, free: 5.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.156, allocations: 101.8 kB / 0.5356 GB, free: 5.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.156, allocations: 29.7 kB / 0.5356 GB, free: 5.625 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.1561, allocations: 80.14 kB / 0.5357 GB, free: 5.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.565e-05/0.1561, allocations: 47.61 kB / 0.5357 GB, free: 5.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.1562, allocations: 25.7 kB / 0.5357 GB, free: 5.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1563, allocations: 314.9 kB / 0.536 GB, free: 5.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.1568, allocations: 108 kB / 0.5361 GB, free: 5.043 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.1572, allocations: 99.91 kB / 0.5362 GB, free: 4.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008128/0.158, allocations: 207.7 kB / 0.5364 GB, free: 4.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.158, allocations: 0 / 0.5364 GB, free: 4.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008784/0.1588, allocations: 265.3 kB / 0.5367 GB, free: 4.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1589, allocations: 13.81 kB / 0.5367 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.1589, allocations: 0 / 0.5367 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.1589, allocations: 0 / 0.5367 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003827/0.1593, allocations: 59.94 kB / 0.5368 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.1593, allocations: 4 kB / 0.5368 GB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.1595, allocations: 31.97 kB / 0.5368 GB, free: 4.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.1596, allocations: 3.984 kB / 0.5368 GB, free: 4.367 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 (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.0001137/0.1597, allocations: 125.8 kB / 0.5369 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.1597, allocations: 7.938 kB / 0.5369 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.472e-05/0.1598, allocations: 7.969 kB / 0.5369 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1598, allocations: 0 / 0.5369 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1598, allocations: 0 / 0.5369 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1598, allocations: 0 / 0.5369 GB, free: 4.215 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.161, allocations: 0.5218 MB / 0.5374 GB, free: 3.637 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.161, allocations: 3.938 kB / 0.5374 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.1614, allocations: 67.88 kB / 0.5375 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1614, allocations: 4 kB / 0.5375 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.1614, allocations: 0 / 0.5375 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1614, allocations: 0.7812 kB / 0.5375 GB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1614, allocations: 4 kB / 0.5375 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.1628, allocations: 459.2 kB / 0.538 GB, free: 3.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.041e-05/0.1629, allocations: 85.09 kB / 0.538 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1629, allocations: 4.031 kB / 0.538 GB, free: 2.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003189/0.1632, allocations: 40.02 kB / 0.5381 GB, free: 2.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1633, allocations: 4 kB / 0.5381 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.581e-05/0.1633, allocations: 11.92 kB / 0.5381 GB, free: 2.934 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.507e-05/0.1633, allocations: 79.28 kB / 0.5382 GB, free: 2.855 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1633, allocations: 0 / 0.5382 GB, free: 2.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1636, allocations: 27.94 kB / 0.5382 GB, free: 2.828 MB / 398.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.0001512/0.1637, allocations: 99.34 kB / 0.5383 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009047/0.1647, allocations: 219.7 kB / 0.5385 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1647, allocations: 4 kB / 0.5385 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.1651, allocations: 107.9 kB / 0.5386 GB, free: 2.398 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.1653, allocations: 8.609 kB / 0.5386 GB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.1675, allocations: 0.5861 MB / 0.5392 GB, free: 1.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1679, allocations: 0.6853 MB / 0.5399 GB, free: 1.066 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.168, allocations: 27.86 kB / 0.5399 GB, free: 1.039 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.1681, allocations: 11.44 kB / 0.5399 GB, free: 1.027 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1681, allocations: 0 / 0.5399 GB, free: 1.027 MB / 398.1 MB Notification: Performance of Templates: time 0.004312/0.1724, allocations: 1.187 MB / 0.5411 GB, free: 15.88 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.381904005073011]