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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 118.2 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 194.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06116/0.06116, allocations: 11.34 MB / 314.7 MB, free: 0.8555 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001954/0.001954, allocations: 75.88 kB / 438.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2361, allocations: 54.82 MB / 493.3 MB, free: 24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.002905/0.239, allocations: 2.426 MB / 495.8 MB, free: 22.26 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2403, allocations: 0.7043 MB / 496.5 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.2405, allocations: 13.88 kB / 496.5 MB, free: 21.76 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.2407, allocations: 86.25 kB / 496.6 MB, free: 21.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.2409, allocations: 51.05 kB / 496.6 MB, free: 21.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008269/0.2417, allocations: 347.5 kB / 496.9 MB, free: 21.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006917/0.2424, allocations: 0.7113 MB / 497.7 MB, free: 21.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2425, allocations: 75.97 kB / 497.7 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000231/0.2428, allocations: 221.4 kB / 497.9 MB, free: 20.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.2431, allocations: 229.8 kB / 498.2 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.2431, allocations: 41.16 kB / 498.2 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.233e-05/0.2432, allocations: 39.62 kB / 498.2 MB, free: 20.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.2434, allocations: 168.3 kB / 498.4 MB, free: 20.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.2435, allocations: 222.4 kB / 498.6 MB, free: 20.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.244, allocations: 0.5044 MB / 499.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.244, allocations: 0 / 499.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.244, allocations: 0 / 499.1 MB, free: 20.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.244, allocations: 0 / 499.1 MB, free: 20.32 MB / 366.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.001036/0.245, allocations: 0.8002 MB / 499.9 MB, free: 19.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.245, allocations: 16.61 kB / 500 MB, free: 19.62 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.874e-05/0.2451, allocations: 60.19 kB / 0.4883 GB, free: 19.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.2456, allocations: 463.5 kB / 0.4887 GB, free: 19.2 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.2456, allocations: 29.22 kB / 0.4888 GB, free: 19.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.2457, allocations: 45.69 kB / 0.4888 GB, free: 19.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.2463, allocations: 475.3 kB / 0.4893 GB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.2464, allocations: 5.234 kB / 0.4893 GB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.2464, allocations: 21.03 kB / 0.4893 GB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2464, allocations: 9.625 kB / 0.4893 GB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/0.2469, allocations: 341.8 kB / 0.4896 GB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.2488, allocations: 2.008 MB / 0.4916 GB, free: 16.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.2491, allocations: 191.1 kB / 0.4918 GB, free: 16.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.2493, allocations: 92.39 kB / 0.4918 GB, free: 16.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.2493, allocations: 6.312 kB / 0.4919 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.2493, allocations: 35.66 kB / 0.4919 GB, free: 16.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.593e-06/0.2493, allocations: 1.125 kB / 0.4919 GB, free: 16.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006492/0.25, allocations: 335.2 kB / 0.4922 GB, free: 16.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.25, allocations: 53.81 kB / 0.4923 GB, free: 16.49 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.2504, allocations: 0.4962 MB / 0.4927 GB, free: 16.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2505, allocations: 31.05 kB / 0.4928 GB, free: 16.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.2506, allocations: 308 kB / 0.4931 GB, free: 15.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.2506, allocations: 77.66 kB / 0.4931 GB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.2507, allocations: 84.27 kB / 0.4932 GB, free: 15.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.136e-05/0.2508, allocations: 361.4 kB / 0.4936 GB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.251, allocations: 102.2 kB / 0.4937 GB, free: 15.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.2512, allocations: 282 kB / 0.4939 GB, free: 15.06 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.2527, allocations: 0.6522 MB / 0.4946 GB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.2527, allocations: 6.531 kB / 0.4946 GB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006411/0.2533, allocations: 455.7 kB / 0.495 GB, free: 14.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2534, allocations: 14 kB / 0.495 GB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2534, allocations: 9.375 kB / 0.495 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.2534, allocations: 8.906 kB / 0.495 GB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003824/0.2538, allocations: 98.55 kB / 0.4951 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.2538, allocations: 12.8 kB / 0.4951 GB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.254, allocations: 52.62 kB / 0.4952 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.254, allocations: 17.28 kB / 0.4952 GB, free: 14.26 MB / 366.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.0002169/0.2542, allocations: 213.5 kB / 0.4954 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.2543, allocations: 46.64 kB / 0.4955 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.2548, allocations: 314.2 kB / 0.4958 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2548, allocations: 3.344 kB / 0.4958 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2548, allocations: 0 / 0.4958 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2548, allocations: 1.219 kB / 0.4958 GB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/0.2552, allocations: 427.3 kB / 0.4962 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2552, allocations: 0 / 0.4962 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003375/0.2555, allocations: 71.95 kB / 0.4962 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.2555, allocations: 1.406 kB / 0.4962 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.2556, allocations: 5.562 kB / 0.4963 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2556, allocations: 5.406 kB / 0.4963 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2556, allocations: 0 / 0.4963 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005938/0.2562, allocations: 497.6 kB / 0.4967 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.879e-05/0.2562, allocations: 127.3 kB / 0.4969 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.001e-05/0.2563, allocations: 6.219 kB / 0.4969 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.2564, allocations: 15.41 kB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.2565, allocations: 15.61 kB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.2565, allocations: 5.094 kB / 0.4969 GB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003503/0.2568, allocations: 341 kB / 0.4972 GB, free: 12.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2568, allocations: 0 / 0.4972 GB, free: 12.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.2573, allocations: 74.62 kB / 0.4973 GB, free: 12.79 MB / 366.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.0001293/0.2574, allocations: 111.4 kB / 0.4974 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005488/0.258, allocations: 283.1 kB / 0.4977 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.258, allocations: 1.625 kB / 0.4977 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.2582, allocations: 113.2 kB / 0.4978 GB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2585, allocations: 56.48 kB / 0.4978 GB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.2597, allocations: 0.8682 MB / 0.4987 GB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.26, allocations: 0.8755 MB / 0.4995 GB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.2601, allocations: 38.55 kB / 0.4996 GB, free: 11.08 MB / 366.1 MB Notification: Performance of SimCode: time 6.62e-07/0.2601, allocations: 0 / 0.4996 GB, free: 11.08 MB / 366.1 MB Notification: Performance of Templates: time 0.007486/0.2676, allocations: 5.142 MB / 0.5046 GB, free: 8.398 MB / 366.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: 7.187927369959652] Failed to read output from testmodel.py, exit status != 0: 0.2748531580436975 0.28391578300000003 0.037242731 Calling exit ...