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.001495/0.001495, allocations: 79.97 kB / 19.18 MB, free: 2.527 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.001476/0.001476, allocations: 165.3 kB / 22.46 MB, free: 5.355 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.466/1.466, allocations: 177.2 MB / 202.8 MB, free: 9.184 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.06229/0.06229, allocations: 8.607 MB / 267.8 MB, free: 8.582 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 395.6 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.847e-05/3.059e-05, allocations: 2.281 kB / 395.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004325/0.004355, allocations: 2.279 MB / 397.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.005966, allocations: 0.6791 MB / 398.5 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003117/0.006277, allocations: 23.75 kB / 398.6 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.006619, allocations: 83.19 kB / 398.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001748/0.006794, allocations: 55.47 kB / 398.7 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.007993, allocations: 431.1 kB / 399.1 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000781/0.008774, allocations: 0.5865 MB / 399.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.008983, allocations: 79.39 kB / 399.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.00931, allocations: 259.3 kB / 400 MB, free: 2.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.009591, allocations: 175.4 kB / 400.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-05/0.009669, allocations: 43.94 kB / 400.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.498e-05/0.009734, allocations: 40 kB / 400.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.00993, allocations: 155.5 kB / 400.4 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.01009, allocations: 127.5 kB / 400.6 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.01072, allocations: 0.5061 MB / 401.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.01073, allocations: 0 / 401.1 MB, free: 1.148 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01073, allocations: 3.938 kB / 401.1 MB, free: 1.145 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01074, allocations: 0 / 401.1 MB, free: 1.145 MB / 318.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.001426/0.01217, allocations: 0.7153 MB / 401.8 MB, free: 400 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01221, allocations: 8.031 kB / 401.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.01232, allocations: 60.56 kB / 401.9 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006776/0.013, allocations: 398.3 kB / 402.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.01304, allocations: 33.36 kB / 402.3 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.308e-05/0.01311, allocations: 36.38 kB / 402.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.01394, allocations: 480.6 kB / 402.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.01396, allocations: 192 / 402.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.014, allocations: 16.38 kB / 402.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.01402, allocations: 12.38 kB / 402.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006337/0.01465, allocations: 347.6 kB / 403.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002554/0.01721, allocations: 1.807 MB / 405 MB, free: 13.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.01758, allocations: 186.5 kB / 405.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/0.01776, allocations: 96.81 kB / 405.2 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.0178, allocations: 7.984 kB / 405.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.01784, allocations: 30.56 kB / 405.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 3.897e-06/0.01784, allocations: 4 kB / 405.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007059/0.01855, allocations: 329.5 kB / 405.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/0.0186, allocations: 55.41 kB / 405.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.01919, allocations: 473.6 kB / 406.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.01923, allocations: 29.7 kB / 406.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.01949, allocations: 311.8 kB / 406.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.41e-05/0.01956, allocations: 79.38 kB / 406.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.01969, allocations: 86.14 kB / 406.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.01989, allocations: 358.7 kB / 407 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.02011, allocations: 104.9 kB / 407.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/0.02048, allocations: 284.7 kB / 407.3 MB, free: 10.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.02231, allocations: 0.6481 MB / 408 MB, free: 9.793 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.02231, allocations: 4 kB / 408 MB, free: 9.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007775/0.02309, allocations: 456.6 kB / 408.4 MB, free: 9.336 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.02312, allocations: 12.75 kB / 408.5 MB, free: 9.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.02313, allocations: 12 kB / 408.5 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/0.02316, allocations: 12 kB / 408.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003923/0.02355, allocations: 95.83 kB / 408.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.02357, allocations: 19.92 kB / 408.6 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.02377, allocations: 51.62 kB / 408.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.878e-05/0.0238, allocations: 19.94 kB / 408.7 MB, free: 9.117 MB / 334.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.0003605/0.02416, allocations: 221.7 kB / 408.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-05/0.02423, allocations: 47.72 kB / 408.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.02485, allocations: 304.5 kB / 409.2 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.02486, allocations: 4 kB / 409.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.02486, allocations: 0 / 409.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.02487, allocations: 7.984 kB / 409.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.02532, allocations: 313 kB / 409.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.02532, allocations: 0 / 409.5 MB, free: 8.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000362/0.02568, allocations: 67.91 kB / 409.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.02568, allocations: 0 / 409.6 MB, free: 8.133 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.02571, allocations: 8 kB / 409.6 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.02572, allocations: 7.922 kB / 409.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02572, allocations: 0 / 409.6 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.02648, allocations: 495.8 kB / 410.1 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.02655, allocations: 43.66 kB / 410.2 MB, free: 7.574 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.931e-05/0.02659, allocations: 8 kB / 410.2 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.02673, allocations: 15.92 kB / 410.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.02679, allocations: 19.97 kB / 410.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.0268, allocations: 4 kB / 410.2 MB, free: 7.527 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000396/0.0272, allocations: 311.1 kB / 410.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.0272, allocations: 0 / 410.5 MB, free: 7.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.02761, allocations: 79.73 kB / 410.6 MB, free: 7.145 MB / 334.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.000143/0.02775, allocations: 107.2 kB / 410.7 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005428/0.02829, allocations: 279.8 kB / 411 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.0283, allocations: 0 / 411 MB, free: 6.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.02849, allocations: 108 kB / 411.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.02887, allocations: 45.95 kB / 411.1 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.03028, allocations: 0.8024 MB / 411.9 MB, free: 5.785 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.03072, allocations: 265.8 kB / 412.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001953/0.03092, allocations: 75.17 kB / 412.2 MB, free: 5.426 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.03102, allocations: 40.48 kB / 412.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.03102, allocations: 0 / 412.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of Templates: time 0.007602/0.03862, allocations: 2.41 MB / 414.7 MB, free: 3.035 MB / 334.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: 4.476109951734543] Failed to read output from testmodel.py, exit status != 0: 0.04774840176105499 0.063697574 0.049694599000000006 Calling exit ...