Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.001264/0.001264, allocations: 110.2 kB / 19.7 MB, free: 2.25 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.001436/0.001436, allocations: 221.5 kB / 23.01 MB, free: 5.086 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.06383/0.06383, allocations: 11.34 MB / 324.5 MB, free: 8.223 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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.002087/0.002087, allocations: 72.17 kB / 452.3 MB, free: 9.988 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1101, allocations: 56.08 MB / 0.4965 GB, free: 1.816 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.004035/0.1142, allocations: 2.301 MB / 0.4987 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.1155, allocations: 0.5856 MB / 0.4993 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002433/0.1157, allocations: 23.75 kB / 0.4993 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.116, allocations: 67.27 kB / 0.4994 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001427/0.1161, allocations: 39.55 kB / 0.4994 GB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000835/0.117, allocations: 311.4 kB / 0.4997 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008825/0.1178, allocations: 0.6219 MB / 0.5003 GB, free: 13.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1181, allocations: 77.17 kB / 0.5004 GB, free: 13.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.1184, allocations: 187.3 kB / 0.5006 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1187, allocations: 203 kB / 0.5007 GB, free: 13.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.51e-05/0.1188, allocations: 32 kB / 0.5008 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.968e-05/0.1189, allocations: 32 kB / 0.5008 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.1191, allocations: 143.5 kB / 0.5009 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.1193, allocations: 198.7 kB / 0.5011 GB, free: 13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.1198, allocations: 409.9 kB / 0.5015 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1198, allocations: 8 kB / 0.5015 GB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1198, allocations: 0 / 0.5015 GB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.1199, allocations: 0 / 0.5015 GB, free: 12.59 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.00142/0.1213, allocations: 0.6921 MB / 0.5022 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.1213, allocations: 12.03 kB / 0.5022 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.1214, allocations: 60.56 kB / 0.5023 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006405/0.1221, allocations: 340.6 kB / 0.5026 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1221, allocations: 33.38 kB / 0.5026 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/0.1222, allocations: 40.38 kB / 0.5027 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/0.123, allocations: 492.6 kB / 0.5031 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.123, allocations: 4.141 kB / 0.5031 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.1231, allocations: 23.88 kB / 0.5032 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/0.1231, allocations: 12 kB / 0.5032 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.1238, allocations: 343.6 kB / 0.5035 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002864/0.1266, allocations: 1.909 MB / 0.5054 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007344/0.1273, allocations: 218.5 kB / 0.5056 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.1276, allocations: 112.8 kB / 0.5057 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.1276, allocations: 11.98 kB / 0.5057 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.1276, allocations: 30.56 kB / 0.5057 GB, free: 8.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.1276, allocations: 3.938 kB / 0.5057 GB, free: 8.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0007636/0.1284, allocations: 369.5 kB / 0.5061 GB, free: 7.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1284, allocations: 55.34 kB / 0.5061 GB, free: 7.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.1289, allocations: 437.8 kB / 0.5066 GB, free: 7.211 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.129, allocations: 33.7 kB / 0.5066 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.1292, allocations: 280 kB / 0.5069 GB, free: 6.895 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.1293, allocations: 107.1 kB / 0.507 GB, free: 6.789 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.1294, allocations: 90.08 kB / 0.507 GB, free: 6.695 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.1296, allocations: 358.8 kB / 0.5074 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1299, allocations: 108.9 kB / 0.5075 GB, free: 6.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.1302, allocations: 277.5 kB / 0.5078 GB, free: 5.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.1322, allocations: 0.7448 MB / 0.5085 GB, free: 5.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1322, allocations: 0 / 0.5085 GB, free: 5.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001213/0.1334, allocations: 0.5007 MB / 0.509 GB, free: 4.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.1335, allocations: 8 kB / 0.509 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.1335, allocations: 4 kB / 0.509 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.1335, allocations: 8 kB / 0.509 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005974/0.1341, allocations: 119.8 kB / 0.5091 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.786e-05/0.1341, allocations: 11.94 kB / 0.5091 GB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.1343, allocations: 63.98 kB / 0.5092 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.1344, allocations: 27.98 kB / 0.5092 GB, free: 4.316 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0002779/0.1347, allocations: 199.5 kB / 0.5094 GB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.185e-05/0.1347, allocations: 43.72 kB / 0.5094 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.1354, allocations: 341.7 kB / 0.5098 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/0.1354, allocations: 11.88 kB / 0.5098 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1354, allocations: 4 kB / 0.5098 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1354, allocations: 0 / 0.5098 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.136, allocations: 388.3 kB / 0.5101 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.136, allocations: 0 / 0.5101 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004347/0.1364, allocations: 79.94 kB / 0.5102 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.1364, allocations: 4 kB / 0.5102 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/0.1364, allocations: 8 kB / 0.5102 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1364, allocations: 3.938 kB / 0.5102 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.1364, allocations: 3.984 kB / 0.5102 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.1373, allocations: 0.5313 MB / 0.5108 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.187e-05/0.1374, allocations: 43.66 kB / 0.5108 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.1374, allocations: 11.98 kB / 0.5108 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.1376, allocations: 15.92 kB / 0.5108 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.1377, allocations: 15.97 kB / 0.5108 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.1377, allocations: 12 kB / 0.5109 GB, free: 2.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003713/0.1381, allocations: 299.1 kB / 0.5111 GB, free: 2.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1381, allocations: 0 / 0.5111 GB, free: 2.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003982/0.1385, allocations: 79.78 kB / 0.5112 GB, free: 2.176 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0001276/0.1386, allocations: 103.2 kB / 0.5113 GB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006357/0.1392, allocations: 316.5 kB / 0.5116 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1392, allocations: 0 / 0.5116 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.1394, allocations: 132.3 kB / 0.5117 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1398, allocations: 35.91 kB / 0.5118 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.1414, allocations: 0.9395 MB / 0.5127 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1824/0.3237, allocations: 0.8605 MB / 0.5135 GB, free: 23.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.3239, allocations: 34.45 kB / 0.5136 GB, free: 23.04 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3239, allocations: 0.5312 kB / 0.5136 GB, free: 23.04 MB / 382.1 MB Notification: Performance of Templates: time 0.007065/0.3309, allocations: 4.867 MB / 0.5183 GB, free: 22.78 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.527946063084528] Failed to read output from testmodel.py, exit status != 0: 0.33942152303643525 0.35144581699999994 0.228630399 Calling exit ...