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.001338/0.001338, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001527/0.001527, allocations: 215.4 kB / 23.01 MB, free: 4.609 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.06488/0.06488, allocations: 11.35 MB / 324.5 MB, free: 8.355 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.001983/0.001983, allocations: 68.19 kB / 452.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1144, allocations: 56.07 MB / 0.4965 GB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ControlProblems.DecoupledControl.NoDecoupledControl): time 0.004166/0.1186, allocations: 2.453 MB / 0.4988 GB, free: 15.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1201, allocations: 0.6986 MB / 0.4995 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002181/0.1204, allocations: 19.81 kB / 0.4995 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.1206, allocations: 87.17 kB / 0.4996 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1208, allocations: 47.48 kB / 0.4997 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.1218, allocations: 391.2 kB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009562/0.1228, allocations: 0.7778 MB / 0.5008 GB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00022/0.123, allocations: 87.33 kB / 0.5009 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.1233, allocations: 227.2 kB / 0.5011 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.1236, allocations: 230.8 kB / 0.5013 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.1236, allocations: 40 kB / 0.5014 GB, free: 12.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.1237, allocations: 40 kB / 0.5014 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002026/0.1239, allocations: 159.5 kB / 0.5016 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002165/0.1241, allocations: 222.6 kB / 0.5018 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.1247, allocations: 0.5094 MB / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.1247, allocations: 0 / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1247, allocations: 0 / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.1247, allocations: 0 / 0.5023 GB, free: 11.95 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.00143/0.1262, allocations: 0.723 MB / 0.503 GB, free: 11.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1262, allocations: 12.03 kB / 0.503 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.1263, allocations: 68.45 kB / 0.5031 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006617/0.127, allocations: 383 kB / 0.5034 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.127, allocations: 29.38 kB / 0.5034 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/0.1271, allocations: 40.38 kB / 0.5035 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007681/0.1278, allocations: 480.6 kB / 0.5039 GB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.1279, allocations: 4.188 kB / 0.5039 GB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.1279, allocations: 19.94 kB / 0.504 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.1279, allocations: 8 kB / 0.504 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006179/0.1285, allocations: 343.7 kB / 0.5043 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002686/0.1312, allocations: 1.969 MB / 0.5062 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1316, allocations: 194.4 kB / 0.5064 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.1318, allocations: 96.73 kB / 0.5065 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1318, allocations: 7.984 kB / 0.5065 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.1318, allocations: 34.56 kB / 0.5065 GB, free: 7.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.1318, allocations: 0 / 0.5065 GB, free: 7.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0006837/0.1325, allocations: 339 kB / 0.5069 GB, free: 7.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1325, allocations: 55.41 kB / 0.5069 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005957/0.1331, allocations: 0.4979 MB / 0.5074 GB, free: 6.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.1332, allocations: 25.7 kB / 0.5074 GB, free: 6.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.1334, allocations: 300 kB / 0.5077 GB, free: 6.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.1335, allocations: 79.33 kB / 0.5078 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1336, allocations: 86.08 kB / 0.5079 GB, free: 5.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1338, allocations: 366.7 kB / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.134, allocations: 100.8 kB / 0.5083 GB, free: 5.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.1343, allocations: 276.2 kB / 0.5086 GB, free: 5.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.1359, allocations: 0.6469 MB / 0.5092 GB, free: 4.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.1359, allocations: 3.938 kB / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000738/0.1367, allocations: 464.7 kB / 0.5097 GB, free: 3.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1367, allocations: 8 kB / 0.5097 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.1367, allocations: 4 kB / 0.5097 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1367, allocations: 8 kB / 0.5097 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.1371, allocations: 100.5 kB / 0.5098 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.822e-05/0.1372, allocations: 19.92 kB / 0.5098 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1374, allocations: 51.56 kB / 0.5098 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.1374, allocations: 24 kB / 0.5099 GB, free: 3.719 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.0002726/0.1377, allocations: 220.6 kB / 0.5101 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.1377, allocations: 43.72 kB / 0.5101 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/0.1383, allocations: 311.3 kB / 0.5104 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1383, allocations: 4 kB / 0.5104 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.1383, allocations: 0 / 0.5104 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1383, allocations: 0 / 0.5104 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1388, allocations: 416.2 kB / 0.5108 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1388, allocations: 0 / 0.5108 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.1392, allocations: 67.95 kB / 0.5109 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1392, allocations: 0 / 0.5109 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.1392, allocations: 11.94 kB / 0.5109 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1392, allocations: 0 / 0.5109 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1392, allocations: 0 / 0.5109 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/0.1399, allocations: 0.4989 MB / 0.5114 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.903e-05/0.14, allocations: 47.72 kB / 0.5114 GB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.14, allocations: 7.938 kB / 0.5114 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1402, allocations: 12.11 kB / 0.5114 GB, free: 2.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.1402, allocations: 19.97 kB / 0.5115 GB, free: 2.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.1402, allocations: 4 kB / 0.5115 GB, free: 2.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.1406, allocations: 342.8 kB / 0.5118 GB, free: 1.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1406, allocations: 0 / 0.5118 GB, free: 1.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004025/0.141, allocations: 79.84 kB / 0.5119 GB, free: 1.605 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.0001222/0.1411, allocations: 103.2 kB / 0.512 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005341/0.1417, allocations: 277 kB / 0.5122 GB, free: 1.223 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1417, allocations: 4 kB / 0.5122 GB, free: 1.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.1419, allocations: 115.8 kB / 0.5123 GB, free: 1.105 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.1422, allocations: 44.23 kB / 0.5124 GB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.1436, allocations: 0.8814 MB / 0.5132 GB, free: 152 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2199/0.3635, allocations: 0.8635 MB / 0.5141 GB, free: 22.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.3637, allocations: 37.12 kB / 0.5141 GB, free: 22.53 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3637, allocations: 0.7188 kB / 0.5141 GB, free: 22.53 MB / 382.1 MB Notification: Performance of Templates: time 0.009291/0.373, allocations: 5.128 MB / 0.5191 GB, free: 22.21 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.621350935893133] Failed to read output from testmodel.py, exit status != 0: 0.38133147987537086 0.39412301399999994 0.26648367799999995 Calling exit ...