Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002359/0.002359, allocations: 216.4 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06761/0.06761, allocations: 11.34 MB / 323.8 MB, free: 8.055 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") [Timeout 660] "Notification: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003012/0.003012, allocations: 67.89 kB / 451.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.16, allocations: 56.06 MB / 0.4956 GB, free: 1.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003791/0.1638, allocations: 1.797 MB / 0.4974 GB, free: 15.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.165, allocations: 0.5487 MB / 0.4979 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.1651, allocations: 7.938 kB / 0.4979 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.023e-05/0.1652, allocations: 19.73 kB / 0.498 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.1654, allocations: 39.67 kB / 0.498 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006639/0.166, allocations: 179.4 kB / 0.4982 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1664, allocations: 207.4 kB / 0.4984 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.1665, allocations: 32.52 kB / 0.4984 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1666, allocations: 95.52 kB / 0.4985 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1668, allocations: 91.39 kB / 0.4986 GB, free: 14.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1668, allocations: 24 kB / 0.4986 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.1671, allocations: 147.9 kB / 0.4987 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1672, allocations: 55.75 kB / 0.4988 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.87e-05/0.1673, allocations: 79.52 kB / 0.4989 GB, free: 14.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1678, allocations: 302.8 kB / 0.4992 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1678, allocations: 7.938 kB / 0.4992 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1678, allocations: 0 / 0.4992 GB, free: 14.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1678, allocations: 0 / 0.4992 GB, free: 14.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000906/0.1687, allocations: 0.5005 MB / 0.4996 GB, free: 13.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1687, allocations: 8.031 kB / 0.4997 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.102e-05/0.1688, allocations: 28.75 kB / 0.4997 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003204/0.1691, allocations: 201.6 kB / 0.4999 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/0.1692, allocations: 12.38 kB / 0.4999 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.1692, allocations: 20.33 kB / 0.4999 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.1696, allocations: 285.1 kB / 0.5002 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1696, allocations: 192 / 0.5002 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.1697, allocations: 11.94 kB / 0.5002 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1697, allocations: 4 kB / 0.5002 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1698, allocations: 63.95 kB / 0.5003 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009019/0.1707, allocations: 432 kB / 0.5007 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/0.1711, allocations: 138.5 kB / 0.5008 GB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.1712, allocations: 56.84 kB / 0.5009 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.1712, allocations: 4 kB / 0.5009 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.1715, allocations: 139.3 kB / 0.501 GB, free: 12.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.1715, allocations: 0 / 0.501 GB, free: 12.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006103/0.1721, allocations: 271.3 kB / 0.5012 GB, free: 11.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.1723, allocations: 166.2 kB / 0.5014 GB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.1726, allocations: 257.9 kB / 0.5017 GB, free: 11.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.1726, allocations: 33.7 kB / 0.5017 GB, free: 11.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001378/0.1727, allocations: 156.4 kB / 0.5018 GB, free: 11.08 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.75e-05/0.1728, allocations: 67.53 kB / 0.5019 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.985e-05/0.1729, allocations: 53.98 kB / 0.5019 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.1731, allocations: 342.8 kB / 0.5023 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1732, allocations: 56.19 kB / 0.5023 GB, free: 10.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.1735, allocations: 296.4 kB / 0.5026 GB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/0.174, allocations: 244 kB / 0.5028 GB, free: 9.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.174, allocations: 0 / 0.5028 GB, free: 9.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005146/0.1746, allocations: 273.1 kB / 0.5031 GB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1746, allocations: 4.469 kB / 0.5031 GB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1746, allocations: 8 kB / 0.5031 GB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1746, allocations: 8 kB / 0.5031 GB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.1749, allocations: 55.91 kB / 0.5032 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.1749, allocations: 8 kB / 0.5032 GB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.1751, allocations: 27.81 kB / 0.5032 GB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.1751, allocations: 19.94 kB / 0.5032 GB, free: 9.492 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0002046/0.1753, allocations: 142.3 kB / 0.5034 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.1754, allocations: 27.81 kB / 0.5034 GB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.443e-05/0.1754, allocations: 30.11 kB / 0.5034 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1754, allocations: 4 kB / 0.5034 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1754, allocations: 0 / 0.5034 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1754, allocations: 3.984 kB / 0.5034 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007122/0.1762, allocations: 480.5 kB / 0.5039 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1762, allocations: 3.938 kB / 0.5039 GB, free: 8.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.1764, allocations: 35.98 kB / 0.5039 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1764, allocations: 0 / 0.5039 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.812e-05/0.1764, allocations: 11.98 kB / 0.5039 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/0.1764, allocations: 3.984 kB / 0.5039 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.1764, allocations: 3.938 kB / 0.5039 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006848/0.1771, allocations: 395.4 kB / 0.5043 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1772, allocations: 23.81 kB / 0.5043 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1772, allocations: 8.062 kB / 0.5044 GB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1774, allocations: 11.98 kB / 0.5044 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/0.1775, allocations: 15.91 kB / 0.5044 GB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.1775, allocations: 12 kB / 0.5044 GB, free: 8.242 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.1777, allocations: 185.2 kB / 0.5046 GB, free: 8.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1777, allocations: 4 kB / 0.5046 GB, free: 8.062 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004183/0.1781, allocations: 83.8 kB / 0.5047 GB, free: 7.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0003622/0.1785, allocations: 161.4 kB / 0.5048 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003975/0.1789, allocations: 168.3 kB / 0.505 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1789, allocations: 320 / 0.505 GB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00016/0.179, allocations: 71.91 kB / 0.505 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1794, allocations: 50.84 kB / 0.5051 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.1807, allocations: 0.5263 MB / 0.5056 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.1808, allocations: 138.1 kB / 0.5057 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.1809, allocations: 34.22 kB / 0.5058 GB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.181, allocations: 27.42 kB / 0.5058 GB, free: 6.773 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.181, allocations: 0 / 0.5058 GB, free: 6.773 MB / 382.1 MB Notification: Performance of Templates: time 0.00836/0.1893, allocations: 3.386 MB / 0.5091 GB, free: 3.422 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4196090791374445] Failed to read output from testmodel.py, exit status != 0: 0.20134268328547478 0.5013350050000001 0.330762202 Calling exit ...