Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.001505/0.001505, allocations: 110.5 kB / 19.69 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.001684/0.001684, allocations: 214.8 kB / 23.01 MB, free: 4.566 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.06442/0.06442, allocations: 11.34 MB / 324.5 MB, free: 8.238 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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.002162/0.002162, allocations: 71.89 kB / 452.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1158, allocations: 56.06 MB / 0.4964 GB, free: 1.859 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.004102/0.1199, allocations: 2.24 MB / 0.4986 GB, free: 15.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1211, allocations: 463.9 kB / 0.4991 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002766/0.1214, allocations: 15.81 kB / 0.4991 GB, free: 15.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1217, allocations: 67.31 kB / 0.4992 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.1218, allocations: 31.56 kB / 0.4992 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.1226, allocations: 243.5 kB / 0.4994 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008228/0.1234, allocations: 0.5509 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.1236, allocations: 81.17 kB / 0.5 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.1239, allocations: 167.4 kB / 0.5002 GB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.1242, allocations: 191 kB / 0.5004 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-05/0.1243, allocations: 28 kB / 0.5004 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-05/0.1243, allocations: 28 kB / 0.5004 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1245, allocations: 131.6 kB / 0.5006 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.1247, allocations: 182.8 kB / 0.5007 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004704/0.1252, allocations: 394 kB / 0.5011 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1252, allocations: 0 / 0.5011 GB, free: 13.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1252, allocations: 3.938 kB / 0.5011 GB, free: 13.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.1252, allocations: 0 / 0.5011 GB, free: 13.05 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.001283/0.1265, allocations: 0.6688 MB / 0.5018 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1265, allocations: 8.031 kB / 0.5018 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/0.1266, allocations: 60.59 kB / 0.5018 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006094/0.1272, allocations: 340.6 kB / 0.5022 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.1273, allocations: 33.38 kB / 0.5022 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.19e-05/0.1273, allocations: 40.38 kB / 0.5022 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007451/0.1281, allocations: 455.9 kB / 0.5027 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.1281, allocations: 8.141 kB / 0.5027 GB, free: 11.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.706e-05/0.1282, allocations: 23.94 kB / 0.5027 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1282, allocations: 8 kB / 0.5027 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000639/0.1288, allocations: 318.3 kB / 0.503 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00268/0.1315, allocations: 1.844 MB / 0.5048 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.132, allocations: 169.1 kB / 0.505 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.1322, allocations: 104.8 kB / 0.5051 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.1322, allocations: 4 kB / 0.5051 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1322, allocations: 34.94 kB / 0.5051 GB, free: 8.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.663e-06/0.1322, allocations: 3.938 kB / 0.5051 GB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007207/0.1329, allocations: 331.2 kB / 0.5054 GB, free: 8.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.133, allocations: 55.41 kB / 0.5055 GB, free: 8.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/0.1335, allocations: 425.8 kB / 0.5059 GB, free: 7.938 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.1335, allocations: 29.7 kB / 0.5059 GB, free: 7.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.1337, allocations: 268.1 kB / 0.5062 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.1338, allocations: 79.33 kB / 0.5062 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.1339, allocations: 89.36 kB / 0.5063 GB, free: 7.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.1341, allocations: 358.8 kB / 0.5067 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1343, allocations: 96.36 kB / 0.5068 GB, free: 7.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.1346, allocations: 249.4 kB / 0.507 GB, free: 6.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001579/0.1361, allocations: 0.638 MB / 0.5076 GB, free: 6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1361, allocations: 4 kB / 0.5076 GB, free: 5.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00077/0.1369, allocations: 457.4 kB / 0.5081 GB, free: 5.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1369, allocations: 8 kB / 0.5081 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.1369, allocations: 4 kB / 0.5081 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.137, allocations: 8 kB / 0.5081 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.1373, allocations: 99.81 kB / 0.5082 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.1373, allocations: 15.88 kB / 0.5082 GB, free: 5.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.1375, allocations: 47.66 kB / 0.5082 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.1376, allocations: 20 kB / 0.5082 GB, free: 5.344 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 (51): * Single equations (assignments): 51 * 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.0002814/0.1378, allocations: 213.3 kB / 0.5085 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.1379, allocations: 39.77 kB / 0.5085 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.1385, allocations: 286.8 kB / 0.5088 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.1385, allocations: 4 kB / 0.5088 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1385, allocations: 3.938 kB / 0.5088 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1385, allocations: 3.984 kB / 0.5088 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.139, allocations: 368.4 kB / 0.5091 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.139, allocations: 0 / 0.5091 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.1393, allocations: 59.89 kB / 0.5092 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1393, allocations: 0 / 0.5092 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.1393, allocations: 12 kB / 0.5092 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.1394, allocations: 4 kB / 0.5092 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.1394, allocations: 3.938 kB / 0.5092 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.1401, allocations: 474.6 kB / 0.5097 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.1402, allocations: 47.64 kB / 0.5097 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.1402, allocations: 12 kB / 0.5097 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.1403, allocations: 15.98 kB / 0.5097 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.1404, allocations: 19.91 kB / 0.5097 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1404, allocations: 4 kB / 0.5098 GB, free: 3.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.1407, allocations: 295.1 kB / 0.51 GB, free: 3.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1407, allocations: 96 / 0.51 GB, free: 3.449 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.1411, allocations: 71.77 kB / 0.5101 GB, free: 3.379 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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.0001122/0.1412, allocations: 103.2 kB / 0.5102 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.1417, allocations: 279.6 kB / 0.5105 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1417, allocations: 0 / 0.5105 GB, free: 2.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001988/0.1419, allocations: 113.1 kB / 0.5106 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1423, allocations: 33.66 kB / 0.5106 GB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.1437, allocations: 0.8633 MB / 0.5114 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.1442, allocations: 0.8421 MB / 0.5123 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1443, allocations: 35.42 kB / 0.5123 GB, free: 1.047 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1443, allocations: 0 / 0.5123 GB, free: 1.047 MB / 382.1 MB Notification: Performance of Templates: time 0.2234/0.3678, allocations: 4.491 MB / 0.5167 GB, free: 21.62 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.575498247984797] Failed to read output from testmodel.py, exit status != 0: 0.37626010412350297 0.38889533899999995 0.26073764099999996 Calling exit ...