Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.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.001766/0.001766, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002169/0.002169, allocations: 216.3 kB / 22.25 MB, free: 4.855 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.797 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.06688/0.06688, allocations: 11.34 MB / 323.8 MB, free: 8.023 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.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") translateModel(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl") [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.002098/0.002098, allocations: 67.89 kB / 451.5 MB, free: 9.828 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1381, allocations: 56.07 MB / 0.4956 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004611/0.1427, allocations: 2.291 MB / 0.4979 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.1443, allocations: 0.6714 MB / 0.4985 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.1445, allocations: 23.81 kB / 0.4985 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.1448, allocations: 87.17 kB / 0.4986 GB, free: 14.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1449, allocations: 47.48 kB / 0.4987 GB, free: 14.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.1458, allocations: 379.3 kB / 0.499 GB, free: 14.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009641/0.1468, allocations: 0.77 MB / 0.4998 GB, free: 13.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.147, allocations: 79.34 kB / 0.4999 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1473, allocations: 231.1 kB / 0.5001 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003083/0.1476, allocations: 214.8 kB / 0.5003 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.312e-05/0.1477, allocations: 40 kB / 0.5003 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.1478, allocations: 40 kB / 0.5004 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.148, allocations: 167.5 kB / 0.5005 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001831/0.1481, allocations: 166.9 kB / 0.5007 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.1488, allocations: 0.5133 MB / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1488, allocations: 0 / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1488, allocations: 0 / 0.5012 GB, free: 11.92 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1488, allocations: 8 kB / 0.5012 GB, free: 11.91 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001345/0.1501, allocations: 0.7191 MB / 0.5019 GB, free: 11.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1502, allocations: 8.031 kB / 0.5019 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.1503, allocations: 64.52 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/0.151, allocations: 387 kB / 0.5023 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.151, allocations: 33.31 kB / 0.5024 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.1511, allocations: 40.38 kB / 0.5024 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008028/0.1519, allocations: 488.6 kB / 0.5029 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.1519, allocations: 192 / 0.5029 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.145e-05/0.152, allocations: 23.88 kB / 0.5029 GB, free: 10.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.152, allocations: 12 kB / 0.5029 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.1526, allocations: 335.7 kB / 0.5032 GB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002556/0.1552, allocations: 1.814 MB / 0.505 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.1556, allocations: 200.1 kB / 0.5052 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.1558, allocations: 91.22 kB / 0.5053 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.1558, allocations: 7.938 kB / 0.5053 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.1558, allocations: 38.55 kB / 0.5053 GB, free: 7.484 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.343e-06/0.1558, allocations: 0 / 0.5053 GB, free: 7.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006959/0.1565, allocations: 321.6 kB / 0.5056 GB, free: 7.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1566, allocations: 63.34 kB / 0.5057 GB, free: 7.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/0.1571, allocations: 473.6 kB / 0.5061 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.1572, allocations: 29.7 kB / 0.5062 GB, free: 6.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.1574, allocations: 307.9 kB / 0.5065 GB, free: 6.281 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.675e-05/0.1575, allocations: 91.2 kB / 0.5065 GB, free: 6.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1576, allocations: 82.08 kB / 0.5066 GB, free: 6.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1578, allocations: 354.8 kB / 0.507 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.158, allocations: 96.81 kB / 0.5071 GB, free: 5.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003466/0.1584, allocations: 280.2 kB / 0.5073 GB, free: 5.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001696/0.1601, allocations: 0.6469 MB / 0.508 GB, free: 4.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.1601, allocations: 0 / 0.508 GB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00075/0.1608, allocations: 469 kB / 0.5084 GB, free: 4.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.1609, allocations: 8 kB / 0.5084 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1609, allocations: 8 kB / 0.5084 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.1609, allocations: 8 kB / 0.5084 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003958/0.1613, allocations: 99.81 kB / 0.5085 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/0.1613, allocations: 11.94 kB / 0.5085 GB, free: 3.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001944/0.1615, allocations: 43.73 kB / 0.5086 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.1615, allocations: 20.31 kB / 0.5086 GB, free: 3.906 MB / 382.1 MB Warning: Assuming fixed start value for the following 4 variables: process.P22.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.P21.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.P12.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.P11.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 8 (controller2.TS_in,controller1.TS_in,controller2.satLOW_in,controller2.satHIGH_in,controller2.ATreq_in,controller1.satLOW_in,controller1.satHIGH_in,controller1.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002997/0.1618, allocations: 222.4 kB / 0.5088 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.1619, allocations: 43.66 kB / 0.5088 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.1625, allocations: 315.9 kB / 0.5091 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.1625, allocations: 4 kB / 0.5092 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1625, allocations: 3.938 kB / 0.5092 GB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1625, allocations: 3.938 kB / 0.5092 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.1629, allocations: 317 kB / 0.5095 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1629, allocations: 0 / 0.5095 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.1633, allocations: 63.91 kB / 0.5095 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1633, allocations: 0 / 0.5095 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.1633, allocations: 19.98 kB / 0.5095 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1633, allocations: 0 / 0.5095 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1633, allocations: 0 / 0.5095 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007452/0.164, allocations: 0.4912 MB / 0.51 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.427e-05/0.1641, allocations: 51.61 kB / 0.5101 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.1642, allocations: 11.98 kB / 0.5101 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1643, allocations: 8 kB / 0.5101 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.1644, allocations: 11.97 kB / 0.5101 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.1644, allocations: 12 kB / 0.5101 GB, free: 2.293 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003435/0.1647, allocations: 307.1 kB / 0.5104 GB, free: 1.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1647, allocations: 0 / 0.5104 GB, free: 1.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003864/0.1651, allocations: 79.78 kB / 0.5105 GB, free: 1.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (process.P11.w,process.P12.w,process.P21.w,process.P22.w,controller1.FBout,controller2.FBout) * 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 (24): * Single equations (assignments): 24 * 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.000124/0.1652, allocations: 107.2 kB / 0.5106 GB, free: 1.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005473/0.1658, allocations: 280.4 kB / 0.5109 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1658, allocations: 0 / 0.5109 GB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.166, allocations: 111.8 kB / 0.511 GB, free: 1.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.1664, allocations: 43.83 kB / 0.511 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.1677, allocations: 0.8172 MB / 0.5118 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.168, allocations: 274.5 kB / 0.5121 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.1682, allocations: 71.23 kB / 0.5121 GB, free: 176 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.445e-05/0.1683, allocations: 31.44 kB / 0.5122 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1683, allocations: 0 / 0.5122 GB, free: 144 kB / 382.1 MB Notification: Performance of Templates: time 0.259/0.4273, allocations: 2.768 MB / 0.5149 GB, free: 22.95 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.201224520802498] Failed to read output from testmodel.py, exit status != 0: 0.43604014068841934 0.448817962 0.296893146 Calling exit ...