Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.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.001518/0.001518, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.001397/0.001397, allocations: 159.5 kB / 23.01 MB, free: 4.945 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.554/1.554, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.06033/0.06033, allocations: 8.62 MB / 268.4 MB, free: 8.516 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.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [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.002114/0.002114, allocations: 71.88 kB / 396.1 MB, free: 7.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1312, allocations: 56.04 MB / 452.1 MB, free: 15.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003675/0.1348, allocations: 2.162 MB / 454.3 MB, free: 13.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.1361, allocations: 0.5855 MB / 454.9 MB, free: 13 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.1362, allocations: 19.81 kB / 454.9 MB, free: 12.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.1365, allocations: 63.27 kB / 454.9 MB, free: 12.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.1366, allocations: 39.61 kB / 455 MB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.1374, allocations: 303.4 kB / 455.3 MB, free: 12.58 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007975/0.1382, allocations: 0.6062 MB / 455.9 MB, free: 11.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.1384, allocations: 69.23 kB / 456 MB, free: 11.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.1387, allocations: 195.2 kB / 456.1 MB, free: 11.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1389, allocations: 191 kB / 456.3 MB, free: 11.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.139, allocations: 32 kB / 456.4 MB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.317e-05/0.1391, allocations: 28 kB / 456.4 MB, free: 11.46 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.1393, allocations: 143.5 kB / 456.5 MB, free: 11.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.1394, allocations: 155 kB / 456.7 MB, free: 11.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.14, allocations: 414 kB / 457.1 MB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.14, allocations: 0 / 457.1 MB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.14, allocations: 0 / 457.1 MB, free: 10.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.14, allocations: 0 / 457.1 MB, free: 10.77 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001293/0.1413, allocations: 0.6999 MB / 457.8 MB, free: 10.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1413, allocations: 8.031 kB / 457.8 MB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.1414, allocations: 52.61 kB / 457.8 MB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006254/0.1421, allocations: 352.6 kB / 458.2 MB, free: 9.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.1421, allocations: 33.36 kB / 458.2 MB, free: 9.566 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.1422, allocations: 44.33 kB / 458.3 MB, free: 9.523 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.143, allocations: 484.6 kB / 458.7 MB, free: 9.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.686e-05/0.143, allocations: 8.172 kB / 458.7 MB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.582e-05/0.143, allocations: 23.94 kB / 458.8 MB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.1431, allocations: 8 kB / 458.8 MB, free: 8.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.1437, allocations: 339.7 kB / 459.1 MB, free: 8.645 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002782/0.1465, allocations: 1.769 MB / 460.9 MB, free: 6.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007934/0.1473, allocations: 222.4 kB / 461.1 MB, free: 6.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.1475, allocations: 116.8 kB / 461.2 MB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.1475, allocations: 4 kB / 461.2 MB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.1476, allocations: 34.56 kB / 461.2 MB, free: 6.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.934e-06/0.1476, allocations: 0 / 461.2 MB, free: 6.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007643/0.1483, allocations: 357.6 kB / 461.6 MB, free: 6.055 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1484, allocations: 59.41 kB / 461.7 MB, free: 5.984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000472/0.1489, allocations: 401.3 kB / 462 MB, free: 5.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.1489, allocations: 29.7 kB / 462.1 MB, free: 5.551 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.1491, allocations: 284.2 kB / 462.4 MB, free: 5.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.604e-05/0.1492, allocations: 107 kB / 462.5 MB, free: 5.164 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.1493, allocations: 94.14 kB / 462.5 MB, free: 5.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.1496, allocations: 350.8 kB / 462.9 MB, free: 4.715 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.1498, allocations: 108.9 kB / 463 MB, free: 4.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000359/0.1501, allocations: 277.8 kB / 463.3 MB, free: 4.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002149/0.1523, allocations: 0.7452 MB / 464 MB, free: 3.445 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.1523, allocations: 4 kB / 464 MB, free: 3.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009159/0.1532, allocations: 0.4933 MB / 464.5 MB, free: 2.941 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.1532, allocations: 8 kB / 464.5 MB, free: 2.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1533, allocations: 4 kB / 464.5 MB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1533, allocations: 11.98 kB / 464.5 MB, free: 2.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004356/0.1537, allocations: 115.8 kB / 464.6 MB, free: 2.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.1537, allocations: 15.88 kB / 464.7 MB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.1539, allocations: 51.61 kB / 464.7 MB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.492e-05/0.154, allocations: 24 kB / 464.7 MB, free: 2.715 MB / 430.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002747/0.1543, allocations: 203.7 kB / 464.9 MB, free: 2.508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.1543, allocations: 39.72 kB / 465 MB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.155, allocations: 337.4 kB / 465.3 MB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.155, allocations: 4 kB / 465.3 MB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.155, allocations: 3.938 kB / 465.3 MB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.155, allocations: 3.984 kB / 465.3 MB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1554, allocations: 313 kB / 465.6 MB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1554, allocations: 0 / 465.6 MB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.1559, allocations: 79.89 kB / 465.7 MB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.1559, allocations: 3.938 kB / 465.7 MB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.1559, allocations: 15.98 kB / 465.7 MB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1559, allocations: 4 kB / 465.7 MB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1559, allocations: 0 / 465.7 MB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008378/0.1567, allocations: 0.5273 MB / 466.3 MB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.9e-05/0.1568, allocations: 35.7 kB / 466.3 MB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1568, allocations: 11.98 kB / 466.3 MB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.157, allocations: 15.98 kB / 466.3 MB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.157, allocations: 19.97 kB / 466.3 MB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1571, allocations: 11.94 kB / 466.3 MB, free: 1.043 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002725/0.1573, allocations: 259.1 kB / 466.6 MB, free: 0.7891 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1573, allocations: 0 / 466.6 MB, free: 0.7891 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.1577, allocations: 87.73 kB / 466.7 MB, free: 0.7031 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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 (29): * Single equations (assignments): 29 * 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.0001386/0.1579, allocations: 101 kB / 466.8 MB, free: 0.5938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006144/0.1585, allocations: 320 kB / 467.1 MB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1585, allocations: 112 / 467.1 MB, free: 288 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.1587, allocations: 133.2 kB / 467.2 MB, free: 156 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.1591, allocations: 42.02 kB / 467.3 MB, free: 120 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.1606, allocations: 0.8824 MB / 468.1 MB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.1608, allocations: 250 kB / 468.4 MB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002066/0.161, allocations: 75.22 kB / 468.5 MB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/0.1611, allocations: 40.48 kB / 468.5 MB, free: 14.82 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1611, allocations: 0 / 468.5 MB, free: 14.82 MB / 446.1 MB Notification: Performance of Templates: time 0.007099/0.1682, allocations: 2.333 MB / 470.8 MB, free: 12.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.945733845001087] Failed to read output from testmodel.py, exit status != 0: 0.17736255994532257 0.40038768199999997 0.049091689 Calling exit ...