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.001571/0.001571, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001477/0.001477, allocations: 221.5 kB / 22.99 MB, free: 4.914 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.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.06621/0.06621, allocations: 11.36 MB / 324.5 MB, free: 8.047 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: IndustrialControlSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.89 kB / 452.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1129, allocations: 56.07 MB / 0.4964 GB, free: 1.668 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.003842/0.1168, allocations: 2.285 MB / 0.4986 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.1181, allocations: 0.6753 MB / 0.4993 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.1182, allocations: 19.81 kB / 0.4993 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1185, allocations: 87.17 kB / 0.4994 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1186, allocations: 51.48 kB / 0.4994 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008526/0.1195, allocations: 379.3 kB / 0.4998 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009065/0.1204, allocations: 0.77 MB / 0.5005 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.1206, allocations: 83.33 kB / 0.5006 GB, free: 13.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.1208, allocations: 227.2 kB / 0.5008 GB, free: 13.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.1211, allocations: 210.8 kB / 0.501 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.651e-05/0.1212, allocations: 40 kB / 0.5011 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.1212, allocations: 40 kB / 0.5011 GB, free: 12.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.1214, allocations: 171.5 kB / 0.5013 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.1216, allocations: 166.9 kB / 0.5014 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.1222, allocations: 0.5172 MB / 0.5019 GB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1222, allocations: 0 / 0.5019 GB, free: 11.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1222, allocations: 0 / 0.5019 GB, free: 11.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.1222, allocations: 0 / 0.5019 GB, free: 11.94 MB / 382.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.001671/0.1239, allocations: 0.723 MB / 0.5026 GB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1239, allocations: 15.97 kB / 0.5027 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.1241, allocations: 64.52 kB / 0.5027 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.125, allocations: 387 kB / 0.5031 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.125, allocations: 29.38 kB / 0.5031 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.1251, allocations: 40.38 kB / 0.5032 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.1262, allocations: 480.6 kB / 0.5036 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/0.1262, allocations: 4.125 kB / 0.5036 GB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-05/0.1263, allocations: 19.94 kB / 0.5036 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1263, allocations: 12 kB / 0.5036 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.1272, allocations: 343.7 kB / 0.504 GB, free: 9.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.1305, allocations: 1.814 MB / 0.5057 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.1309, allocations: 194.4 kB / 0.5059 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/0.1312, allocations: 88.75 kB / 0.506 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.1312, allocations: 4 kB / 0.506 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.1312, allocations: 30.56 kB / 0.506 GB, free: 7.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.835e-06/0.1312, allocations: 4 kB / 0.506 GB, free: 7.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0009622/0.1322, allocations: 331.3 kB / 0.5064 GB, free: 7.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.1323, allocations: 59.34 kB / 0.5064 GB, free: 7.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/0.133, allocations: 469.7 kB / 0.5069 GB, free: 6.656 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.133, allocations: 33.64 kB / 0.5069 GB, free: 6.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.1333, allocations: 303.9 kB / 0.5072 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1334, allocations: 91.25 kB / 0.5073 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.1336, allocations: 86.08 kB / 0.5074 GB, free: 6.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002336/0.1338, allocations: 358.8 kB / 0.5077 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1341, allocations: 100.8 kB / 0.5078 GB, free: 5.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004839/0.1346, allocations: 280.2 kB / 0.5081 GB, free: 5.316 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.1363, allocations: 0.6391 MB / 0.5087 GB, free: 4.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1363, allocations: 0 / 0.5087 GB, free: 4.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007469/0.1371, allocations: 472.5 kB / 0.5091 GB, free: 4.125 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1371, allocations: 4.812 kB / 0.5091 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1371, allocations: 8 kB / 0.5092 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.1371, allocations: 12 kB / 0.5092 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003735/0.1375, allocations: 103.8 kB / 0.5093 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.1375, allocations: 15.92 kB / 0.5093 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1377, allocations: 43.73 kB / 0.5093 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/0.1377, allocations: 20 kB / 0.5093 GB, free: 3.922 MB / 382.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.0003543/0.1381, allocations: 218.4 kB / 0.5095 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1382, allocations: 51.66 kB / 0.5096 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/0.139, allocations: 311.8 kB / 0.5099 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.139, allocations: 0 / 0.5099 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.139, allocations: 0 / 0.5099 GB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.139, allocations: 7.984 kB / 0.5099 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006059/0.1396, allocations: 317 kB / 0.5102 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.1397, allocations: 4 kB / 0.5102 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.1402, allocations: 59.91 kB / 0.5103 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.1402, allocations: 4 kB / 0.5103 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.1402, allocations: 4 kB / 0.5103 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/0.1402, allocations: 7.984 kB / 0.5103 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1402, allocations: 7.922 kB / 0.5103 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1413, allocations: 499 kB / 0.5108 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.1414, allocations: 51.61 kB / 0.5108 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.1415, allocations: 8 kB / 0.5108 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.1417, allocations: 7.984 kB / 0.5108 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.1417, allocations: 15.97 kB / 0.5108 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.1418, allocations: 8 kB / 0.5109 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.1423, allocations: 311.1 kB / 0.5111 GB, free: 2.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1423, allocations: 0 / 0.5111 GB, free: 2.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006227/0.1429, allocations: 71.78 kB / 0.5112 GB, free: 1.945 MB / 382.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.0001682/0.1431, allocations: 111.2 kB / 0.5113 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007648/0.1438, allocations: 276.8 kB / 0.5116 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1438, allocations: 0 / 0.5116 GB, free: 1.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.1441, allocations: 112 kB / 0.5117 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.1447, allocations: 48.61 kB / 0.5117 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.1465, allocations: 0.8735 MB / 0.5126 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1469, allocations: 261.8 kB / 0.5128 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.147, allocations: 39.42 kB / 0.5129 GB, free: 180 kB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.147, allocations: 0 / 0.5129 GB, free: 180 kB / 382.1 MB Notification: Performance of Templates: time 0.2021/0.3491, allocations: 5.156 MB / 0.5179 GB, free: 22.57 MB / 382.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.544958057347685] Failed to read output from testmodel.py, exit status != 0: 0.3570690550841391 0.368515124 0.24353126000000003 Calling exit ...