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.001783/0.001783, 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.001856/0.001856, allocations: 211.9 kB / 22.24 MB, free: 5.258 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.658/1.658, allocations: 230.6 MB / 256 MB, free: 7.809 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.0687/0.0687, allocations: 11.35 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.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: 67.89 kB / 451.5 MB, free: 9.855 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1318, allocations: 56.07 MB / 0.4956 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.004601/0.1364, allocations: 2.144 MB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1378, allocations: 0.57 MB / 0.4983 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.138, allocations: 19.81 kB / 0.4983 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.1383, allocations: 71.25 kB / 0.4984 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.1384, allocations: 31.62 kB / 0.4984 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008204/0.1392, allocations: 307.4 kB / 0.4987 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007897/0.14, allocations: 0.6101 MB / 0.4993 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.1402, allocations: 69.19 kB / 0.4994 GB, free: 13.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002495/0.1405, allocations: 203.2 kB / 0.4996 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002861/0.1407, allocations: 191 kB / 0.4997 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.277e-05/0.1408, allocations: 32 kB / 0.4998 GB, free: 13.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-05/0.1409, allocations: 32 kB / 0.4998 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.141, allocations: 131.6 kB / 0.4999 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.1412, allocations: 163 kB / 0.5001 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004842/0.1417, allocations: 421.9 kB / 0.5005 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1417, allocations: 0 / 0.5005 GB, free: 12.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1417, allocations: 0 / 0.5005 GB, free: 12.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1417, allocations: 0 / 0.5005 GB, free: 12.69 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001417/0.1431, allocations: 0.696 MB / 0.5012 GB, free: 11.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1432, allocations: 8.031 kB / 0.5012 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1433, allocations: 60.56 kB / 0.5012 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.144, allocations: 340.7 kB / 0.5016 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.194e-05/0.144, allocations: 33.38 kB / 0.5016 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/0.1441, allocations: 48.3 kB / 0.5016 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008668/0.145, allocations: 488.6 kB / 0.5021 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.145, allocations: 12.08 kB / 0.5021 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.1451, allocations: 27.88 kB / 0.5021 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1451, allocations: 8 kB / 0.5021 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007155/0.1458, allocations: 339.7 kB / 0.5025 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.1489, allocations: 1.761 MB / 0.5042 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008154/0.1497, allocations: 222.4 kB / 0.5044 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.15, allocations: 112.8 kB / 0.5045 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.715e-05/0.15, allocations: 0 / 0.5045 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.15, allocations: 42.56 kB / 0.5046 GB, free: 8.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.372e-06/0.15, allocations: 0 / 0.5046 GB, free: 8.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007766/0.1508, allocations: 365.4 kB / 0.5049 GB, free: 7.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.1509, allocations: 55.41 kB / 0.505 GB, free: 7.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004467/0.1513, allocations: 397.4 kB / 0.5053 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1513, allocations: 29.7 kB / 0.5054 GB, free: 7.477 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.1516, allocations: 280.2 kB / 0.5056 GB, free: 7.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/0.1517, allocations: 103.2 kB / 0.5057 GB, free: 7.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1518, allocations: 98.08 kB / 0.5058 GB, free: 6.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002756/0.1521, allocations: 350.8 kB / 0.5062 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/0.1523, allocations: 112.9 kB / 0.5063 GB, free: 6.535 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003989/0.1527, allocations: 277.5 kB / 0.5065 GB, free: 6.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.1548, allocations: 0.7408 MB / 0.5072 GB, free: 5.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.1548, allocations: 4 kB / 0.5073 GB, free: 5.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008637/0.1557, allocations: 0.4926 MB / 0.5077 GB, free: 4.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.1557, allocations: 11.94 kB / 0.5077 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1557, allocations: 4 kB / 0.5077 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/0.1557, allocations: 12.72 kB / 0.5078 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.1561, allocations: 111.8 kB / 0.5079 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.1562, allocations: 15.88 kB / 0.5079 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/0.1564, allocations: 55.61 kB / 0.5079 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.1564, allocations: 27.98 kB / 0.508 GB, free: 4.633 MB / 382.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.0003281/0.1567, allocations: 211.5 kB / 0.5082 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1568, allocations: 35.77 kB / 0.5082 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006882/0.1575, allocations: 337.4 kB / 0.5085 GB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1575, allocations: 11.98 kB / 0.5085 GB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1575, allocations: 3.938 kB / 0.5085 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1575, allocations: 0 / 0.5085 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.158, allocations: 309 kB / 0.5088 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.158, allocations: 0 / 0.5088 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004123/0.1584, allocations: 79.88 kB / 0.5089 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1584, allocations: 0 / 0.5089 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.1585, allocations: 8 kB / 0.5089 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1585, allocations: 4 kB / 0.5089 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1585, allocations: 0 / 0.5089 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008668/0.1593, allocations: 0.5352 MB / 0.5094 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.1594, allocations: 35.7 kB / 0.5095 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.1594, allocations: 8 kB / 0.5095 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.1596, allocations: 15.98 kB / 0.5095 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.1597, allocations: 27.95 kB / 0.5095 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1597, allocations: 11.94 kB / 0.5095 GB, free: 2.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003247/0.16, allocations: 251.2 kB / 0.5098 GB, free: 2.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.16, allocations: 112 / 0.5098 GB, free: 2.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.1604, allocations: 91.67 kB / 0.5099 GB, free: 2.621 MB / 382.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.0001414/0.1605, allocations: 111.2 kB / 0.51 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.1611, allocations: 304.6 kB / 0.5103 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1611, allocations: 384 / 0.5103 GB, free: 2.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1614, allocations: 136.3 kB / 0.5104 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1618, allocations: 42.84 kB / 0.5104 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1633, allocations: 0.8749 MB / 0.5113 GB, free: 1.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.1636, allocations: 265.5 kB / 0.5115 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000208/0.1638, allocations: 79.22 kB / 0.5116 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.487e-05/0.1639, allocations: 31.44 kB / 0.5116 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1639, allocations: 0 / 0.5116 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of Templates: time 0.2649/0.4288, allocations: 2.664 MB / 0.5142 GB, free: 22.5 MB / 382.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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.259263711050153] Failed to read output from testmodel.py, exit status != 0: 0.4378127846866846 0.450304941 0.305780365 Calling exit ...