Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001357/0.001357, allocations: 105.8 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.001568/0.001568, allocations: 188 kB / 22.1 MB, free: 4.223 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.68/1.68, allocations: 207.6 MB / 232.8 MB, free: 2.793 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.4254/0.4254, allocations: 55.68 MB / 340.7 MB, free: 11.51 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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.003659/0.003659, allocations: 70.8 kB / 482 MB, free: 36.7 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1649, allocations: 62.89 MB / 0.5322 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00289/0.1678, allocations: 1.27 MB / 0.5334 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1688, allocations: 0.5336 MB / 0.5339 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.623e-05/0.1689, allocations: 0 / 0.5339 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1689, allocations: 0 / 0.5339 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.1689, allocations: 11.92 kB / 0.5339 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005312/0.1695, allocations: 123.5 kB / 0.5341 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.27e-05/0.1696, allocations: 15.88 kB / 0.5341 GB, free: 9.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.1696, allocations: 8 kB / 0.5341 GB, free: 9.203 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.884e-05/0.1697, allocations: 11.97 kB / 0.5341 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.258e-05/0.1697, allocations: 7.938 kB / 0.5341 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1697, allocations: 0 / 0.5341 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005645/0.1703, allocations: 327.5 kB / 0.5344 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.1703, allocations: 0 / 0.5344 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.1704, allocations: 11.92 kB / 0.5344 GB, free: 8.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002892/0.1707, allocations: 143.5 kB / 0.5346 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1707, allocations: 0 / 0.5346 GB, free: 8.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1707, allocations: 0 / 0.5346 GB, free: 8.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1707, allocations: 0 / 0.5346 GB, free: 8.711 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.0005015/0.1712, allocations: 278 kB / 0.5348 GB, free: 8.406 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.1712, allocations: 12.03 kB / 0.5348 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.1713, allocations: 4.938 kB / 0.5348 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.1714, allocations: 122.4 kB / 0.535 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.1714, allocations: 384 / 0.535 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1714, allocations: 384 / 0.535 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1718, allocations: 66.22 kB / 0.535 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1718, allocations: 8.109 kB / 0.535 GB, free: 8.168 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.1718, allocations: 7.938 kB / 0.535 GB, free: 8.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1718, allocations: 4 kB / 0.535 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002537/0.1721, allocations: 35.95 kB / 0.5351 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.1723, allocations: 136.7 kB / 0.5352 GB, free: 7.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004529/0.1727, allocations: 70.56 kB / 0.5353 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.1728, allocations: 16.86 kB / 0.5353 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/0.173, allocations: 39.97 kB / 0.5353 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1731, allocations: 34.5 kB / 0.5354 GB, free: 7.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1731, allocations: 0 / 0.5354 GB, free: 7.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.002799/0.1759, allocations: 0.5241 MB / 0.5359 GB, free: 7.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.1759, allocations: 55.41 kB / 0.5359 GB, free: 7.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.176, allocations: 93.86 kB / 0.536 GB, free: 7.039 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.1761, allocations: 29.7 kB / 0.536 GB, free: 7.004 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.986e-05/0.1761, allocations: 84.14 kB / 0.5361 GB, free: 6.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.872e-05/0.1762, allocations: 23.78 kB / 0.5361 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.1762, allocations: 17.72 kB / 0.5362 GB, free: 6.871 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.1764, allocations: 322.8 kB / 0.5365 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.1766, allocations: 27.97 kB / 0.5365 GB, free: 6.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1767, allocations: 35.97 kB / 0.5365 GB, free: 6.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002465/0.177, allocations: 68.81 kB / 0.5366 GB, free: 6.414 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.177, allocations: 0 / 0.5366 GB, free: 6.414 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003229/0.1773, allocations: 110 kB / 0.5367 GB, free: 6.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.1773, allocations: 11.94 kB / 0.5367 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1773, allocations: 4 kB / 0.5367 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1774, allocations: 0 / 0.5367 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1775, allocations: 15.98 kB / 0.5367 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1775, allocations: 4 kB / 0.5367 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.856e-05/0.1776, allocations: 15.98 kB / 0.5367 GB, free: 6.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.1776, allocations: 4 kB / 0.5367 GB, free: 6.246 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.0001353/0.1777, allocations: 109.8 kB / 0.5369 GB, free: 6.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.1778, allocations: 15.94 kB / 0.5369 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.1778, allocations: 8.047 kB / 0.5369 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1778, allocations: 0 / 0.5369 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.1778, allocations: 0 / 0.5369 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1778, allocations: 64 / 0.5369 GB, free: 6.105 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007227/0.1786, allocations: 346.3 kB / 0.5372 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1786, allocations: 4.031 kB / 0.5372 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1787, allocations: 35.84 kB / 0.5372 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1787, allocations: 0 / 0.5372 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1787, allocations: 0 / 0.5372 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1787, allocations: 4 kB / 0.5372 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1787, allocations: 240 / 0.5372 GB, free: 5.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005553/0.1793, allocations: 244.2 kB / 0.5375 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.1793, allocations: 8.016 kB / 0.5375 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.1793, allocations: 4 kB / 0.5375 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.1795, allocations: 11.98 kB / 0.5375 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.1795, allocations: 0 / 0.5375 GB, free: 5.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.1795, allocations: 12.05 kB / 0.5375 GB, free: 5.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.1796, allocations: 83.22 kB / 0.5376 GB, free: 5.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1796, allocations: 0 / 0.5376 GB, free: 5.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1798, allocations: 15.94 kB / 0.5376 GB, free: 5.281 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001793/0.18, allocations: 95.25 kB / 0.5377 GB, free: 5.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003739/0.1803, allocations: 79.91 kB / 0.5378 GB, free: 5.102 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1803, allocations: 4 kB / 0.5378 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.1805, allocations: 39.91 kB / 0.5378 GB, free: 5.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.1807, allocations: 7.938 kB / 0.5378 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000893/0.1816, allocations: 264.6 kB / 0.5381 GB, free: 4.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.1821, allocations: 0.6845 MB / 0.5387 GB, free: 4.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.403e-05/0.1821, allocations: 8 kB / 0.5388 GB, free: 4.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.1822, allocations: 15.42 kB / 0.5388 GB, free: 4.027 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1822, allocations: 0 / 0.5388 GB, free: 4.027 MB / 398.1 MB Notification: Performance of Templates: time 0.004178/0.1864, allocations: 0.7442 MB / 0.5395 GB, free: 3.32 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.288980737328529] Failed to read output from testmodel.py, exit status != 0: 0.196820804849267 0.210425347 0.036558766 Calling exit ...