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.0008267/0.0008267, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007943/0.0007943, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8851/0.8851, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.03284/0.03284, allocations: 8.602 MB / 268.5 MB, free: 5.145 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.593e-06/1.593e-06, allocations: 0 / 396.3 MB, free: 2.195 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.679e-05, allocations: 2.281 kB / 396.3 MB, free: 2.191 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002559/0.002586, allocations: 2.292 MB / 398.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003634, allocations: 0.6789 MB / 399.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000189/0.003823, allocations: 23.75 kB / 399.3 MB, free: 15.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000208/0.004031, allocations: 83.19 kB / 399.4 MB, free: 15.1 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.004133, allocations: 51.48 kB / 399.5 MB, free: 15.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000779/0.004912, allocations: 431.1 kB / 399.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005226/0.005435, allocations: 0.5943 MB / 400.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.005605, allocations: 75.39 kB / 400.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002257/0.005831, allocations: 263.3 kB / 400.8 MB, free: 13.69 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.006024, allocations: 167.4 kB / 401 MB, free: 13.52 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.006071, allocations: 40 kB / 401 MB, free: 13.48 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-05/0.006107, allocations: 47.94 kB / 401.1 MB, free: 13.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.006211, allocations: 159.5 kB / 401.2 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.7e-05/0.006298, allocations: 127.5 kB / 401.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.006699, allocations: 0.4984 MB / 401.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.006702, allocations: 0 / 401.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006703, allocations: 0 / 401.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.006711, allocations: 0 / 401.8 MB, free: 12.66 MB / 378.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.0008686/0.00758, allocations: 0.7231 MB / 402.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.007623, allocations: 8.031 kB / 402.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.183e-05/0.007705, allocations: 64.5 kB / 402.6 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.008126, allocations: 394.1 kB / 403 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.00815, allocations: 29.38 kB / 403 MB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.008199, allocations: 48.36 kB / 403.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.008691, allocations: 476.6 kB / 403.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.008707, allocations: 192 / 403.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.008732, allocations: 16.38 kB / 403.6 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.00874, allocations: 16.38 kB / 403.6 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.009111, allocations: 343.6 kB / 403.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.01057, allocations: 1.815 MB / 405.7 MB, free: 8.566 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.0108, allocations: 186.5 kB / 405.9 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.01089, allocations: 86.88 kB / 406 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.01092, allocations: 7.984 kB / 406 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.01094, allocations: 42.56 kB / 406.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.01094, allocations: 0 / 406.1 MB, free: 8.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004084/0.01135, allocations: 329.5 kB / 406.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/0.01138, allocations: 51.41 kB / 406.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003272/0.01171, allocations: 473.6 kB / 406.9 MB, free: 7.375 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.01172, allocations: 29.7 kB / 406.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.01187, allocations: 315.8 kB / 407.2 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.01191, allocations: 71.39 kB / 407.3 MB, free: 6.953 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.01198, allocations: 90.09 kB / 407.4 MB, free: 6.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.853e-05/0.01208, allocations: 366.7 kB / 407.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.01219, allocations: 96.94 kB / 407.8 MB, free: 6.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.01239, allocations: 284.8 kB / 408.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009234/0.01331, allocations: 0.6507 MB / 408.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01331, allocations: 0 / 408.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004344/0.01375, allocations: 461.4 kB / 409.2 MB, free: 4.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.01377, allocations: 7.938 kB / 409.2 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.01378, allocations: 12.06 kB / 409.2 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01379, allocations: 8 kB / 409.2 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.01401, allocations: 99.83 kB / 409.3 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.01402, allocations: 15.92 kB / 409.4 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.01413, allocations: 47.62 kB / 409.4 MB, free: 4.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.01415, allocations: 20 kB / 409.4 MB, free: 4.633 MB / 378.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.0002001/0.01435, allocations: 214.6 kB / 409.6 MB, free: 4.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.01439, allocations: 43.72 kB / 409.7 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.01475, allocations: 313.4 kB / 410 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.01475, allocations: 3.938 kB / 410 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.01476, allocations: 4 kB / 410 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01476, allocations: 3.984 kB / 410 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.01502, allocations: 317 kB / 410.3 MB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01502, allocations: 4 kB / 410.3 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.0152, allocations: 63.91 kB / 410.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.01521, allocations: 4 kB / 410.4 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.01522, allocations: 4 kB / 410.4 MB, free: 3.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.01523, allocations: 7.938 kB / 410.4 MB, free: 3.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.01523, allocations: 3.984 kB / 410.4 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.01568, allocations: 495.4 kB / 410.9 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.01572, allocations: 43.72 kB / 410.9 MB, free: 3.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.01575, allocations: 8 kB / 410.9 MB, free: 3.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.731e-05/0.01581, allocations: 15.92 kB / 410.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.01586, allocations: 11.97 kB / 410.9 MB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.01586, allocations: 8 kB / 411 MB, free: 3.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.01608, allocations: 315 kB / 411.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01608, allocations: 0 / 411.3 MB, free: 2.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.01634, allocations: 79.73 kB / 411.3 MB, free: 2.652 MB / 378.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 0.0001006/0.01644, allocations: 107.2 kB / 411.4 MB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003286/0.01677, allocations: 280.7 kB / 411.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01677, allocations: 448 / 411.7 MB, free: 2.262 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.01688, allocations: 115.9 kB / 411.8 MB, free: 2.148 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.01716, allocations: 46.47 kB / 411.9 MB, free: 2.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.01805, allocations: 0.8339 MB / 412.7 MB, free: 1.242 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001664/0.01822, allocations: 265.8 kB / 413 MB, free: 0.957 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.01829, allocations: 40.48 kB / 413 MB, free: 0.918 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01829, allocations: 0 / 413 MB, free: 0.918 MB / 378.7 MB Notification: Performance of Templates: time 0.005025/0.02331, allocations: 5.17 MB / 418.2 MB, free: 11.75 MB / 394.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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.454459886997938] Failed to read output from testmodel.py, exit status != 0: 0.029196279123425484 0.037634201 0.029087133 Calling exit ...