Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.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.001267/0.001267, allocations: 106.5 kB / 19.69 MB, free: 2.277 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.001435/0.001435, allocations: 218.1 kB / 23.01 MB, free: 4.605 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.06503/0.06503, allocations: 11.35 MB / 324.5 MB, free: 8.254 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.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") [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.00218/0.00218, allocations: 67.89 kB / 452.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1245, allocations: 56.06 MB / 0.4965 GB, free: 1.867 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.004285/0.1288, allocations: 2.24 MB / 0.4986 GB, free: 15.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001425/0.1302, allocations: 0.5426 MB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.1305, allocations: 19.81 kB / 0.4992 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.1308, allocations: 59.33 kB / 0.4992 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001806/0.131, allocations: 43.61 kB / 0.4993 GB, free: 14.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009631/0.132, allocations: 287.4 kB / 0.4996 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000933/0.1329, allocations: 0.59 MB / 0.5001 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.1331, allocations: 77.12 kB / 0.5002 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.1334, allocations: 187.4 kB / 0.5004 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.1338, allocations: 195 kB / 0.5006 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.483e-05/0.1339, allocations: 36 kB / 0.5006 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.029e-05/0.134, allocations: 28 kB / 0.5006 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.1342, allocations: 139.5 kB / 0.5008 GB, free: 13.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.1344, allocations: 186.8 kB / 0.5009 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.1349, allocations: 406 kB / 0.5013 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1349, allocations: 0 / 0.5013 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1349, allocations: 0 / 0.5013 GB, free: 12.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.212e-05/0.135, allocations: 0 / 0.5013 GB, free: 12.84 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001494/0.1365, allocations: 0.6961 MB / 0.502 GB, free: 12.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1365, allocations: 11.97 kB / 0.502 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1366, allocations: 56.61 kB / 0.5021 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.1372, allocations: 332.7 kB / 0.5024 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.1373, allocations: 80.97 kB / 0.5025 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.1374, allocations: 40.38 kB / 0.5025 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008009/0.1382, allocations: 475.9 kB / 0.503 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.1382, allocations: 15.89 kB / 0.503 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.1383, allocations: 12 kB / 0.503 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/0.1383, allocations: 8 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.1389, allocations: 330.3 kB / 0.5033 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003132/0.142, allocations: 1.922 MB / 0.5052 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.1425, allocations: 174.5 kB / 0.5054 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.1428, allocations: 120.8 kB / 0.5055 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.1428, allocations: 0 / 0.5055 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1428, allocations: 38.88 kB / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.283e-06/0.1428, allocations: 0 / 0.5055 GB, free: 8.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007732/0.1436, allocations: 355.1 kB / 0.5058 GB, free: 7.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1437, allocations: 51.41 kB / 0.5059 GB, free: 7.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.1443, allocations: 425.8 kB / 0.5063 GB, free: 7.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.1443, allocations: 29.7 kB / 0.5063 GB, free: 7.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002671/0.1446, allocations: 268.1 kB / 0.5066 GB, free: 7.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1447, allocations: 91.27 kB / 0.5067 GB, free: 7.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.1448, allocations: 94 kB / 0.5068 GB, free: 7.008 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.145, allocations: 350.8 kB / 0.5071 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.1453, allocations: 112.7 kB / 0.5072 GB, free: 6.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1456, allocations: 258.1 kB / 0.5075 GB, free: 6.23 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.1473, allocations: 0.6826 MB / 0.5081 GB, free: 5.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.1473, allocations: 4 kB / 0.5081 GB, free: 5.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008428/0.1481, allocations: 477 kB / 0.5086 GB, free: 5.008 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1482, allocations: 8 kB / 0.5086 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1482, allocations: 4 kB / 0.5086 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.1482, allocations: 8 kB / 0.5086 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.1486, allocations: 103.8 kB / 0.5087 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/0.1486, allocations: 8.5 kB / 0.5087 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1489, allocations: 63.59 kB / 0.5088 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1489, allocations: 23.98 kB / 0.5088 GB, free: 4.793 MB / 382.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0002949/0.1492, allocations: 203.4 kB / 0.509 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.318e-05/0.1493, allocations: 47.66 kB / 0.509 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006019/0.1499, allocations: 308.8 kB / 0.5093 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1499, allocations: 0 / 0.5093 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1499, allocations: 0 / 0.5093 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.1499, allocations: 7.984 kB / 0.5093 GB, free: 4.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1504, allocations: 376.3 kB / 0.5097 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.1504, allocations: 4 kB / 0.5097 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.1508, allocations: 67.89 kB / 0.5098 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1508, allocations: 0 / 0.5098 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.1508, allocations: 11.98 kB / 0.5098 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1509, allocations: 0 / 0.5098 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1509, allocations: 0 / 0.5098 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007776/0.1516, allocations: 498.9 kB / 0.5102 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.1517, allocations: 47.64 kB / 0.5103 GB, free: 3.184 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.1518, allocations: 8 kB / 0.5103 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.1519, allocations: 11.98 kB / 0.5103 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.152, allocations: 15.97 kB / 0.5103 GB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.152, allocations: 8 kB / 0.5103 GB, free: 3.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003329/0.1523, allocations: 287.1 kB / 0.5106 GB, free: 2.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1523, allocations: 0 / 0.5106 GB, free: 2.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1527, allocations: 75.84 kB / 0.5107 GB, free: 2.785 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * 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.0001378/0.1529, allocations: 111.2 kB / 0.5108 GB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005847/0.1534, allocations: 288.8 kB / 0.5111 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1534, allocations: 4.25 kB / 0.5111 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.1537, allocations: 123.8 kB / 0.5112 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.154, allocations: 48.52 kB / 0.5112 GB, free: 2.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.1556, allocations: 0.891 MB / 0.5121 GB, free: 1.293 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.1561, allocations: 0.8458 MB / 0.5129 GB, free: 428 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.1562, allocations: 31.44 kB / 0.513 GB, free: 396 kB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1562, allocations: 4 kB / 0.513 GB, free: 392 kB / 382.1 MB Notification: Performance of Templates: time 0.2146/0.3708, allocations: 4.619 MB / 0.5175 GB, free: 22.02 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.548350048949942] Failed to read output from testmodel.py, exit status != 0: 0.37901885993778706 0.39092494499999997 0.25301300199999993 Calling exit ...