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.00144/0.00144, allocations: 79.03 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.001545/0.001545, allocations: 160.3 kB / 23.01 MB, free: 4.941 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.49/1.49, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.06117/0.06117, allocations: 8.624 MB / 268.4 MB, free: 8.52 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.002133/0.002133, allocations: 71.89 kB / 396.1 MB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1357, allocations: 56.03 MB / 452.1 MB, free: 15.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004284/0.14, allocations: 2.306 MB / 454.4 MB, free: 13.45 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1415, allocations: 0.6753 MB / 455.1 MB, free: 12.78 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.1418, allocations: 23.75 kB / 455.1 MB, free: 12.75 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1421, allocations: 83.19 kB / 455.2 MB, free: 12.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.1422, allocations: 55.47 kB / 455.3 MB, free: 12.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009368/0.1432, allocations: 379.3 kB / 455.6 MB, free: 12.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001057/0.1442, allocations: 0.7701 MB / 456.4 MB, free: 11.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.1444, allocations: 75.02 kB / 456.5 MB, free: 11.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.1448, allocations: 235.1 kB / 456.7 MB, free: 11.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.1451, allocations: 214.8 kB / 456.9 MB, free: 10.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.831e-05/0.1452, allocations: 40 kB / 456.9 MB, free: 10.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.1452, allocations: 40 kB / 457 MB, free: 10.88 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.1454, allocations: 159.4 kB / 457.1 MB, free: 10.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1456, allocations: 170.9 kB / 457.3 MB, free: 10.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005595/0.1462, allocations: 0.5095 MB / 457.8 MB, free: 10.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1462, allocations: 0 / 457.8 MB, free: 10.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1462, allocations: 0 / 457.8 MB, free: 10.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1462, allocations: 0 / 457.8 MB, free: 10.04 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001363/0.1476, allocations: 0.7191 MB / 458.5 MB, free: 9.285 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1476, allocations: 12.03 kB / 458.5 MB, free: 9.273 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.1477, allocations: 64.52 kB / 458.6 MB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.1485, allocations: 394.9 kB / 459 MB, free: 8.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/0.1485, allocations: 29.38 kB / 459 MB, free: 8.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.309e-05/0.1486, allocations: 44.38 kB / 459.1 MB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009658/0.1496, allocations: 476.6 kB / 459.5 MB, free: 8.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.1496, allocations: 8.141 kB / 459.5 MB, free: 8.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.717e-05/0.1497, allocations: 19.94 kB / 459.6 MB, free: 8.203 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/0.1497, allocations: 15.94 kB / 459.6 MB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.1505, allocations: 335.7 kB / 459.9 MB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00315/0.1536, allocations: 1.826 MB / 461.7 MB, free: 5.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000389/0.154, allocations: 186.5 kB / 461.9 MB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.1542, allocations: 84.81 kB / 462 MB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.956e-05/0.1542, allocations: 8 kB / 462 MB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/0.1543, allocations: 42.5 kB / 462 MB, free: 5.613 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 2.235e-06/0.1543, allocations: 0 / 462 MB, free: 5.613 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.000733/0.155, allocations: 327.6 kB / 462.4 MB, free: 5.289 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.863e-05/0.1551, allocations: 59.33 kB / 462.4 MB, free: 5.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006312/0.1557, allocations: 469.7 kB / 462.9 MB, free: 4.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.1557, allocations: 25.7 kB / 462.9 MB, free: 4.719 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.156, allocations: 311.9 kB / 463.2 MB, free: 4.406 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.1561, allocations: 91.27 kB / 463.3 MB, free: 4.316 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.1562, allocations: 82.14 kB / 463.4 MB, free: 4.227 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.1564, allocations: 358.8 kB / 463.7 MB, free: 3.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.1566, allocations: 104.9 kB / 463.8 MB, free: 3.766 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.157, allocations: 280.8 kB / 464.1 MB, free: 3.41 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.1587, allocations: 0.6391 MB / 464.7 MB, free: 2.688 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.1587, allocations: 0 / 464.7 MB, free: 2.688 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008765/0.1596, allocations: 477.2 kB / 465.2 MB, free: 2.215 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1596, allocations: 8 kB / 465.2 MB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.1596, allocations: 4 kB / 465.2 MB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.1597, allocations: 8 kB / 465.2 MB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/0.1601, allocations: 99.83 kB / 465.3 MB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/0.1601, allocations: 11.94 kB / 465.3 MB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.1603, allocations: 47.66 kB / 465.4 MB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.1604, allocations: 24 kB / 465.4 MB, free: 2.016 MB / 430.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.0003316/0.1607, allocations: 206.6 kB / 465.6 MB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-05/0.1608, allocations: 47.66 kB / 465.7 MB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.1614, allocations: 324.2 kB / 466 MB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.676e-06/0.1614, allocations: 0 / 466 MB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1614, allocations: 0 / 466 MB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.1614, allocations: 7.984 kB / 466 MB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.1619, allocations: 313 kB / 466.3 MB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.1619, allocations: 3.984 kB / 466.3 MB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003677/0.1623, allocations: 71.84 kB / 466.4 MB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1623, allocations: 0 / 466.4 MB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.1623, allocations: 0 / 466.4 MB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.1623, allocations: 4 kB / 466.4 MB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1623, allocations: 4 kB / 466.4 MB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.1631, allocations: 0.4915 MB / 466.9 MB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.1632, allocations: 43.59 kB / 466.9 MB, free: 476 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.1632, allocations: 8.062 kB / 466.9 MB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1634, allocations: 11.98 kB / 466.9 MB, free: 456 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.1634, allocations: 11.97 kB / 466.9 MB, free: 444 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.1634, allocations: 12 kB / 466.9 MB, free: 432 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.1638, allocations: 307.1 kB / 467.2 MB, free: 128 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1638, allocations: 4 kB / 467.3 MB, free: 124 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000412/0.1642, allocations: 79.78 kB / 467.3 MB, free: 44 kB / 430.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.0001561/0.1644, allocations: 103.2 kB / 467.4 MB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.1649, allocations: 277 kB / 467.7 MB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1649, allocations: 0 / 467.7 MB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002028/0.1651, allocations: 114.3 kB / 467.8 MB, free: 15.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1655, allocations: 47.58 kB / 467.9 MB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.167, allocations: 0.8287 MB / 468.7 MB, free: 14.65 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1673, allocations: 269.8 kB / 468.9 MB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.1675, allocations: 67.23 kB / 469 MB, free: 14.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.231e-05/0.1676, allocations: 36.5 kB / 469.1 MB, free: 14.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1676, allocations: 4 kB / 469.1 MB, free: 14.25 MB / 446.1 MB Notification: Performance of Templates: time 0.007914/0.1755, allocations: 2.408 MB / 471.5 MB, free: 11.91 MB / 446.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 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.885779496980831] Failed to read output from testmodel.py, exit status != 0: 0.185171419987455 0.417954825 0.26863834200000003 Calling exit ...