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.0009226/0.0009226, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009506/0.0009506, allocations: 173 kB / 23.03 MB, free: 1.547 MB / 18.57 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 0.9975/0.9975, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.03553/0.03553, allocations: 8.611 MB / 268.6 MB, free: 4.922 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 340.9 MB, free: 8.402 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.727e-05, allocations: 6.25 kB / 340.9 MB, free: 8.395 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002622/0.002639, allocations: 2.368 MB / 343.3 MB, free: 6.008 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.003644, allocations: 0.683 MB / 343.9 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.003799, allocations: 23.75 kB / 344 MB, free: 5.301 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.004038, allocations: 83.19 kB / 344 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.004162, allocations: 55.42 kB / 344.1 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.00517, allocations: 435.1 kB / 344.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.005634, allocations: 0.5865 MB / 345.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.005792, allocations: 79.39 kB / 345.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001864/0.005979, allocations: 263.3 kB / 345.4 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.006156, allocations: 171.4 kB / 345.6 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.043e-05/0.006206, allocations: 40 kB / 345.6 MB, free: 3.602 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.006248, allocations: 40 kB / 345.7 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.006354, allocations: 163.4 kB / 345.8 MB, free: 3.402 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.961e-05/0.006444, allocations: 119.6 kB / 346 MB, free: 3.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.006724, allocations: 330.7 kB / 346.3 MB, free: 2.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.006726, allocations: 3.938 kB / 346.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.006727, allocations: 0 / 346.3 MB, free: 2.957 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.006732, allocations: 0 / 346.3 MB, free: 2.957 MB / 266.7 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.0008051/0.007537, allocations: 0.8268 MB / 347.1 MB, free: 2.086 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.007574, allocations: 8.031 kB / 347.1 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.007676, allocations: 92.56 kB / 347.2 MB, free: 1.988 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.008069, allocations: 393 kB / 347.6 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.008104, allocations: 33.38 kB / 347.6 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.593e-05/0.00816, allocations: 44.31 kB / 347.7 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004504/0.00861, allocations: 398.8 kB / 348.1 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.008625, allocations: 4.125 kB / 348.1 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.008654, allocations: 24.38 kB / 348.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.008667, allocations: 12.38 kB / 348.1 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.008926, allocations: 169.7 kB / 348.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.01057, allocations: 2.136 MB / 350.4 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.01078, allocations: 115 kB / 350.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.061e-05/0.01085, allocations: 47.67 kB / 350.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.01087, allocations: 4 kB / 350.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.0109, allocations: 49.38 kB / 350.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.0109, allocations: 0 / 350.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003564/0.01126, allocations: 191.9 kB / 350.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.01128, allocations: 51.41 kB / 350.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/0.01167, allocations: 478.4 kB / 351.3 MB, free: 13.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.01169, allocations: 29.7 kB / 351.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.01188, allocations: 358.6 kB / 351.7 MB, free: 13.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.506e-05/0.01194, allocations: 83.33 kB / 351.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.6e-05/0.01203, allocations: 91.8 kB / 351.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.0122, allocations: 0.5274 MB / 352.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.01228, allocations: 40.97 kB / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.01249, allocations: 301.2 kB / 352.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.01291, allocations: 421.1 kB / 353.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.01292, allocations: 0 / 353.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004616/0.01338, allocations: 365.5 kB / 353.5 MB, free: 11.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01339, allocations: 8 kB / 353.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.0134, allocations: 7.938 kB / 353.5 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01342, allocations: 11.94 kB / 353.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.01371, allocations: 95.83 kB / 353.6 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.01372, allocations: 16.45 kB / 353.6 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.01386, allocations: 51.67 kB / 353.7 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.01389, allocations: 20 kB / 353.7 MB, free: 10.99 MB / 282.7 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.0001617/0.01405, allocations: 193.4 kB / 353.9 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.01411, allocations: 55.7 kB / 354 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.01443, allocations: 215.9 kB / 354.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01443, allocations: 3.938 kB / 354.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.01444, allocations: 0 / 354.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01444, allocations: 0 / 354.2 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.01475, allocations: 316.3 kB / 354.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01475, allocations: 0 / 354.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.01499, allocations: 63.91 kB / 354.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.01499, allocations: 3.984 kB / 354.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.01501, allocations: 12 kB / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01501, allocations: 0 / 354.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01502, allocations: 3.938 kB / 354.6 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.01539, allocations: 396.6 kB / 354.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.01544, allocations: 39.66 kB / 355 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.01547, allocations: 8 kB / 355 MB, free: 9.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.864e-05/0.01555, allocations: 7.984 kB / 355 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.01561, allocations: 23.91 kB / 355 MB, free: 9.609 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.01562, allocations: 4.062 kB / 355 MB, free: 9.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002168/0.01584, allocations: 287 kB / 355.3 MB, free: 9.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01584, allocations: 4 kB / 355.3 MB, free: 9.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003423/0.01618, allocations: 79.78 kB / 355.4 MB, free: 9.246 MB / 282.7 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 8.401e-05/0.01626, allocations: 103.2 kB / 355.5 MB, free: 9.137 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002877/0.01655, allocations: 178.1 kB / 355.7 MB, free: 8.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.01655, allocations: 8.062 kB / 355.7 MB, free: 8.953 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.01665, allocations: 74.5 kB / 355.7 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.01697, allocations: 50.64 kB / 355.8 MB, free: 8.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009212/0.01789, allocations: 0.7545 MB / 356.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.018, allocations: 145 kB / 356.7 MB, free: 7.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.01814, allocations: 67.17 kB / 356.8 MB, free: 7.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.569e-05/0.01821, allocations: 32.5 kB / 356.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01821, allocations: 0 / 356.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of Templates: time 0.00588/0.02409, allocations: 2.531 MB / 359.3 MB, free: 5.316 MB / 282.7 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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.713420371990651]