Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.001837/0.001837, 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.002388/0.002388, allocations: 220.7 kB / 23 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.06532/0.06532, allocations: 11.34 MB / 324.5 MB, free: 8.035 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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.002109/0.002109, allocations: 63.89 kB / 452.2 MB, free: 9.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.113, allocations: 56.07 MB / 0.4964 GB, free: 1.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003753/0.1167, allocations: 2.161 MB / 0.4985 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.1182, allocations: 0.687 MB / 0.4992 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1184, allocations: 31.69 kB / 0.4992 GB, free: 14.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1187, allocations: 71.31 kB / 0.4993 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.1189, allocations: 43.48 kB / 0.4993 GB, free: 14.64 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008371/0.1197, allocations: 371.3 kB / 0.4996 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007978/0.1205, allocations: 0.6491 MB / 0.5003 GB, free: 13.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001984/0.1207, allocations: 73.12 kB / 0.5004 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003227/0.121, allocations: 231.2 kB / 0.5006 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1214, allocations: 203 kB / 0.5008 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.071e-05/0.1214, allocations: 39.94 kB / 0.5008 GB, free: 13.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.826e-05/0.1215, allocations: 36 kB / 0.5008 GB, free: 13.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.1217, allocations: 139.5 kB / 0.501 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.1218, allocations: 170.9 kB / 0.5011 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.1224, allocations: 449.9 kB / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1224, allocations: 0 / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1224, allocations: 0 / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1224, allocations: 0 / 0.5016 GB, free: 12.3 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001471/0.1239, allocations: 0.7408 MB / 0.5023 GB, free: 11.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1239, allocations: 15.97 kB / 0.5023 GB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/0.124, allocations: 60.56 kB / 0.5024 GB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/0.1247, allocations: 382.9 kB / 0.5027 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.1248, allocations: 88.91 kB / 0.5028 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.1249, allocations: 56.33 kB / 0.5029 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008556/0.1257, allocations: 0.4928 MB / 0.5033 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.1258, allocations: 7.922 kB / 0.5034 GB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.1258, allocations: 16 kB / 0.5034 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/0.1258, allocations: 12 kB / 0.5034 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/0.1265, allocations: 367.6 kB / 0.5037 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.1294, allocations: 1.87 MB / 0.5056 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.1303, allocations: 283.3 kB / 0.5058 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002813/0.1305, allocations: 165.3 kB / 0.506 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.1306, allocations: 4.281 kB / 0.506 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.1306, allocations: 34.83 kB / 0.506 GB, free: 7.539 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.1306, allocations: 0 / 0.506 GB, free: 7.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.000875/0.1315, allocations: 454.7 kB / 0.5065 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.1315, allocations: 55.39 kB / 0.5065 GB, free: 7.023 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.132, allocations: 405.7 kB / 0.5069 GB, free: 6.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.132, allocations: 37.7 kB / 0.5069 GB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1323, allocations: 272.5 kB / 0.5072 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.1324, allocations: 134.8 kB / 0.5073 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1325, allocations: 98.14 kB / 0.5074 GB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1327, allocations: 358.8 kB / 0.5078 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.133, allocations: 133.1 kB / 0.5079 GB, free: 5.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1334, allocations: 282.9 kB / 0.5082 GB, free: 5.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002262/0.1356, allocations: 0.828 MB / 0.509 GB, free: 4.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.1356, allocations: 4 kB / 0.509 GB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009095/0.1366, allocations: 0.5359 MB / 0.5095 GB, free: 3.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1366, allocations: 8.594 kB / 0.5095 GB, free: 3.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1366, allocations: 8 kB / 0.5095 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1366, allocations: 8 kB / 0.5095 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.1372, allocations: 123.8 kB / 0.5096 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.1372, allocations: 8 kB / 0.5096 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1374, allocations: 55.61 kB / 0.5097 GB, free: 3.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.1375, allocations: 20 kB / 0.5097 GB, free: 3.582 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: 20 * 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 (65): * Single equations (assignments): 65 * 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.0003253/0.1378, allocations: 219.5 kB / 0.5099 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.1378, allocations: 39.72 kB / 0.51 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/0.1386, allocations: 401.6 kB / 0.5103 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1386, allocations: 4 kB / 0.5103 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1386, allocations: 0 / 0.5103 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.1386, allocations: 3.984 kB / 0.5103 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.1391, allocations: 352.8 kB / 0.5107 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1391, allocations: 0 / 0.5107 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005403/0.1397, allocations: 95.88 kB / 0.5108 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1397, allocations: 7.969 kB / 0.5108 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.1397, allocations: 20 kB / 0.5108 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1397, allocations: 0 / 0.5108 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1397, allocations: 0 / 0.5108 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009522/0.1407, allocations: 0.629 MB / 0.5114 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.1407, allocations: 47.61 kB / 0.5115 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.1408, allocations: 11.98 kB / 0.5115 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.141, allocations: 15.98 kB / 0.5115 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.1411, allocations: 23.95 kB / 0.5115 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.1411, allocations: 19.94 kB / 0.5115 GB, free: 1.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.1414, allocations: 259.1 kB / 0.5118 GB, free: 1.398 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1414, allocations: 0 / 0.5118 GB, free: 1.398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004045/0.1418, allocations: 87.78 kB / 0.5119 GB, free: 1.312 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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.0001428/0.1419, allocations: 115.1 kB / 0.512 GB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.1426, allocations: 360 kB / 0.5123 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1426, allocations: 0 / 0.5123 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.1429, allocations: 163.5 kB / 0.5125 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.1433, allocations: 49.53 kB / 0.5125 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1889/0.3322, allocations: 1.004 MB / 0.5135 GB, free: 23.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.3324, allocations: 268.7 kB / 0.5138 GB, free: 22.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3325, allocations: 41.81 kB / 0.5138 GB, free: 22.93 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3325, allocations: 2 kB / 0.5138 GB, free: 22.93 MB / 382.1 MB Notification: Performance of Templates: time 0.008272/0.3408, allocations: 5.322 MB / 0.519 GB, free: 22.6 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.652783102821559] Failed to read output from testmodel.py, exit status != 0: 0.3495461558923125 0.36135013800000004 0.236234366 Calling exit ...