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.0009984/0.0009984, allocations: 93.06 kB / 19.65 MB, free: 276 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.0009421/0.0009421, allocations: 165 kB / 23.02 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.9371/0.9371, allocations: 177.1 MB / 203.4 MB, free: 5.391 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.03813/0.03813, allocations: 8.623 MB / 268.6 MB, free: 4.754 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.974e-06/1.974e-06, allocations: 0 / 340.9 MB, free: 9.449 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.143e-05/3.34e-05, allocations: 5.406 kB / 340.9 MB, free: 9.445 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004164/0.004197, allocations: 2.369 MB / 343.2 MB, free: 7.055 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.005651, allocations: 0.6869 MB / 343.9 MB, free: 6.367 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002821/0.005933, allocations: 23.75 kB / 343.9 MB, free: 6.344 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.006219, allocations: 87.17 kB / 344 MB, free: 6.258 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001541/0.006373, allocations: 51.47 kB / 344.1 MB, free: 6.207 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000907/0.00728, allocations: 431.1 kB / 344.5 MB, free: 5.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005932/0.007874, allocations: 0.5904 MB / 345.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.008045, allocations: 83.39 kB / 345.2 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00025/0.008295, allocations: 259.3 kB / 345.4 MB, free: 4.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.008513, allocations: 175.4 kB / 345.6 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.00857, allocations: 40 kB / 345.6 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.912e-05/0.008619, allocations: 40 kB / 345.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.008754, allocations: 163.4 kB / 345.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.00887, allocations: 119.6 kB / 345.9 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.009215, allocations: 334.6 kB / 346.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.009218, allocations: 0 / 346.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.009219, allocations: 0 / 346.3 MB, free: 4.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.944e-06/0.009226, allocations: 4 kB / 346.3 MB, free: 4 MB / 314.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.001419/0.01064, allocations: 0.8152 MB / 347.1 MB, free: 3.141 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.01069, allocations: 11.97 kB / 347.1 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.01083, allocations: 92.56 kB / 347.2 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.01142, allocations: 397 kB / 347.6 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.01146, allocations: 29.38 kB / 347.6 MB, free: 2.594 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.01177, allocations: 48.33 kB / 347.7 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.01243, allocations: 398.8 kB / 348 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.01245, allocations: 4.172 kB / 348 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.01248, allocations: 20.31 kB / 348.1 MB, free: 2.086 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.0125, allocations: 12.38 kB / 348.1 MB, free: 2.074 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.0128, allocations: 165.8 kB / 348.2 MB, free: 1.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.01471, allocations: 2.144 MB / 350.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.01491, allocations: 122.9 kB / 350.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.158e-05/0.01499, allocations: 43.67 kB / 350.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.01501, allocations: 4 kB / 350.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.01504, allocations: 37.39 kB / 350.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.963e-06/0.01504, allocations: 0 / 350.6 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003981/0.01544, allocations: 200.1 kB / 350.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.01547, allocations: 55.41 kB / 350.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.01595, allocations: 470.4 kB / 351.3 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.01597, allocations: 29.7 kB / 351.3 MB, free: 14.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.01621, allocations: 370.5 kB / 351.7 MB, free: 14.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.01626, allocations: 71.39 kB / 351.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.01638, allocations: 87.8 kB / 351.8 MB, free: 14.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.01656, allocations: 0.5391 MB / 352.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.01666, allocations: 44.97 kB / 352.4 MB, free: 13.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.01688, allocations: 293.2 kB / 352.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.01735, allocations: 423.7 kB / 353.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.01736, allocations: 0 / 353.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005576/0.01791, allocations: 360.7 kB / 353.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.01793, allocations: 11.94 kB / 353.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.01794, allocations: 4 kB / 353.5 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.01797, allocations: 16.72 kB / 353.5 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.01833, allocations: 99.83 kB / 353.6 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.01834, allocations: 11.94 kB / 353.6 MB, free: 12.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.01849, allocations: 51.66 kB / 353.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.01852, allocations: 20 kB / 353.7 MB, free: 12.03 MB / 330.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.0001718/0.01869, allocations: 200.3 kB / 353.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.01875, allocations: 51.72 kB / 353.9 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.0191, allocations: 213.4 kB / 354.1 MB, free: 11.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.01911, allocations: 7.938 kB / 354.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01911, allocations: 0 / 354.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01912, allocations: 3.984 kB / 354.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003434/0.01946, allocations: 308.3 kB / 354.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01946, allocations: 4 kB / 354.5 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.01971, allocations: 67.91 kB / 354.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01971, allocations: 0 / 354.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.01973, allocations: 8 kB / 354.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01973, allocations: 0 / 354.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.01974, allocations: 3.938 kB / 354.5 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.02013, allocations: 391.7 kB / 354.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.02019, allocations: 47.58 kB / 355 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.02022, allocations: 8 kB / 355 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.02031, allocations: 8 kB / 355 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.02036, allocations: 15.91 kB / 355 MB, free: 10.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.02037, allocations: 12 kB / 355 MB, free: 10.64 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.02061, allocations: 287 kB / 355.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02061, allocations: 0 / 355.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003641/0.02097, allocations: 79.78 kB / 355.4 MB, free: 10.29 MB / 330.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.0001063/0.02108, allocations: 105.4 kB / 355.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.02142, allocations: 189.5 kB / 355.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.02143, allocations: 0 / 355.7 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.02155, allocations: 74.03 kB / 355.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.02195, allocations: 42.89 kB / 355.8 MB, free: 9.871 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.02317, allocations: 0.7665 MB / 356.5 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.02329, allocations: 137.2 kB / 356.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001717/0.02346, allocations: 63.86 kB / 356.7 MB, free: 8.855 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.02355, allocations: 32.5 kB / 356.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02355, allocations: 0 / 356.8 MB, free: 8.824 MB / 330.7 MB Notification: Performance of Templates: time 0.00656/0.03011, allocations: 2.459 MB / 359.2 MB, free: 6.426 MB / 330.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: 3.138609983958304]