Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001384/0.001384, allocations: 99.64 kB / 18.95 MB, free: 2.539 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.001512/0.001512, allocations: 210.8 kB / 22.24 MB, free: 4.875 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.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.812 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.06602/0.06602, allocations: 11.34 MB / 323.8 MB, free: 8.113 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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.002178/0.002178, allocations: 73.77 kB / 451.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1384, allocations: 56.07 MB / 0.4956 GB, free: 1.656 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003653/0.1421, allocations: 2.122 MB / 0.4977 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009051/0.143, allocations: 444 kB / 0.4981 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1431, allocations: 15.81 kB / 0.4981 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000224/0.1433, allocations: 71.31 kB / 0.4982 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1434, allocations: 31.62 kB / 0.4982 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005793/0.144, allocations: 235.6 kB / 0.4985 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.1448, allocations: 0.547 MB / 0.499 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1449, allocations: 69.19 kB / 0.4991 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.1451, allocations: 171.3 kB / 0.4992 GB, free: 13.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/0.1454, allocations: 171.1 kB / 0.4994 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.1455, allocations: 28 kB / 0.4994 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.766e-05/0.1455, allocations: 32 kB / 0.4995 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.1457, allocations: 135.5 kB / 0.4996 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.1459, allocations: 143.1 kB / 0.4997 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004328/0.1463, allocations: 394.1 kB / 0.5001 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1463, allocations: 7.938 kB / 0.5001 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1463, allocations: 0 / 0.5001 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1463, allocations: 0 / 0.5001 GB, free: 13.05 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001181/0.1475, allocations: 0.6726 MB / 0.5008 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1475, allocations: 8.031 kB / 0.5008 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.459e-05/0.1476, allocations: 56.61 kB / 0.5008 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1482, allocations: 328.7 kB / 0.5011 GB, free: 11.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.1483, allocations: 29.38 kB / 0.5012 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.1483, allocations: 44.38 kB / 0.5012 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008174/0.1492, allocations: 459.9 kB / 0.5016 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.1492, allocations: 12.08 kB / 0.5017 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.1492, allocations: 19.94 kB / 0.5017 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1492, allocations: 8 kB / 0.5017 GB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005756/0.1498, allocations: 314.3 kB / 0.502 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.1523, allocations: 1.713 MB / 0.5037 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.1528, allocations: 170.5 kB / 0.5038 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.1531, allocations: 104.8 kB / 0.5039 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1531, allocations: 4 kB / 0.5039 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.1531, allocations: 30.56 kB / 0.5039 GB, free: 8.922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.1531, allocations: 0 / 0.5039 GB, free: 8.922 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006787/0.1538, allocations: 329.5 kB / 0.5043 GB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.707e-05/0.1539, allocations: 55.34 kB / 0.5043 GB, free: 8.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.1543, allocations: 389.4 kB / 0.5047 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.1543, allocations: 29.7 kB / 0.5047 GB, free: 8.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.1545, allocations: 264 kB / 0.505 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/0.1546, allocations: 87.31 kB / 0.505 GB, free: 7.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.1547, allocations: 85.42 kB / 0.5051 GB, free: 7.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1549, allocations: 350.8 kB / 0.5055 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.1551, allocations: 100.4 kB / 0.5056 GB, free: 7.211 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.1554, allocations: 241.5 kB / 0.5058 GB, free: 6.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.157, allocations: 0.6405 MB / 0.5064 GB, free: 6.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.157, allocations: 4 kB / 0.5064 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007777/0.1578, allocations: 456.8 kB / 0.5069 GB, free: 5.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.1578, allocations: 5.875 kB / 0.5069 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1578, allocations: 8.656 kB / 0.5069 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1578, allocations: 16 kB / 0.5069 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.1582, allocations: 87.89 kB / 0.507 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.1582, allocations: 15.92 kB / 0.507 GB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.1584, allocations: 51.66 kB / 0.507 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.1584, allocations: 20 kB / 0.5071 GB, free: 5.547 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: 22 * 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 (51): * Single equations (assignments): 51 * 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.0002668/0.1587, allocations: 203.5 kB / 0.5072 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.1588, allocations: 35.77 kB / 0.5073 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005626/0.1593, allocations: 286.6 kB / 0.5076 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1593, allocations: 3.938 kB / 0.5076 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1593, allocations: 0 / 0.5076 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.1593, allocations: 7.938 kB / 0.5076 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003852/0.1597, allocations: 289 kB / 0.5078 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1597, allocations: 4 kB / 0.5078 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003322/0.1601, allocations: 63.89 kB / 0.5079 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1601, allocations: 0 / 0.5079 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.1601, allocations: 8 kB / 0.5079 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1601, allocations: 0 / 0.5079 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1601, allocations: 4 kB / 0.5079 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007553/0.1609, allocations: 482.5 kB / 0.5084 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.766e-05/0.1609, allocations: 31.7 kB / 0.5084 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.47e-05/0.161, allocations: 11.98 kB / 0.5084 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.1611, allocations: 15.98 kB / 0.5084 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.548e-05/0.1611, allocations: 15.83 kB / 0.5084 GB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.1612, allocations: 8 kB / 0.5085 GB, free: 4.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.1614, allocations: 247.2 kB / 0.5087 GB, free: 3.812 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1614, allocations: 0 / 0.5087 GB, free: 3.812 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.1618, allocations: 79.72 kB / 0.5088 GB, free: 3.734 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001277/0.1619, allocations: 115.4 kB / 0.5089 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005464/0.1625, allocations: 267.6 kB / 0.5091 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1625, allocations: 5.25 kB / 0.5091 GB, free: 3.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.1627, allocations: 107.9 kB / 0.5092 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.163, allocations: 38.19 kB / 0.5093 GB, free: 3.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1643, allocations: 0.807 MB / 0.5101 GB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1646, allocations: 233.3 kB / 0.5103 GB, free: 2.117 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001746/0.1648, allocations: 67.23 kB / 0.5104 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.1648, allocations: 31.44 kB / 0.5104 GB, free: 2.016 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1648, allocations: 0 / 0.5104 GB, free: 2.016 MB / 382.1 MB Notification: Performance of Templates: time 0.2373/0.4022, allocations: 2.392 MB / 0.5127 GB, free: 23.14 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.187368685379624] Failed to read output from testmodel.py, exit status != 0: 0.41083196364343166 0.423240609 0.27413310599999996 Calling exit ...