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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 191.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.6 MB / 251 MB, free: 13 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 / 317.6 MB, free: 13.76 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 71.88 kB / 443 MB, free: 6.414 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.137, allocations: 54.89 MB / 497.9 MB, free: 15.42 MB / 366.1 MB
Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003735/0.1407, allocations: 2.217 MB / 0.4884 GB, free: 13.18 MB / 366.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001297/0.142, allocations: 0.5427 MB / 0.4889 GB, free: 12.64 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.1422, allocations: 19.81 kB / 0.489 GB, free: 12.62 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.1424, allocations: 67.25 kB / 0.489 GB, free: 12.55 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.1425, allocations: 31.62 kB / 0.4891 GB, free: 12.52 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.1434, allocations: 291.5 kB / 0.4893 GB, free: 12.23 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008185/0.1442, allocations: 0.586 MB / 0.4899 GB, free: 11.64 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.1444, allocations: 72.98 kB / 0.49 GB, free: 11.57 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.1447, allocations: 187.3 kB / 0.4902 GB, free: 11.39 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.145, allocations: 199 kB / 0.4903 GB, free: 11.19 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.145, allocations: 32 kB / 0.4904 GB, free: 11.16 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.808e-05/0.1451, allocations: 28 kB / 0.4904 GB, free: 11.13 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1453, allocations: 139.6 kB / 0.4905 GB, free: 11 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002124/0.1455, allocations: 198.7 kB / 0.4907 GB, free: 10.8 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005033/0.146, allocations: 402.1 kB / 0.4911 GB, free: 10.41 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.146, allocations: 3.938 kB / 0.4911 GB, free: 10.4 MB / 366.1 MB
Notification: Performance of FrontEnd: time 2.064e-06/0.146, allocations: 0 / 0.4911 GB, free: 10.4 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.287e-06/0.146, allocations: 0 / 0.4911 GB, free: 10.4 MB / 366.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.001455/0.1475, allocations: 0.6883 MB / 0.4918 GB, free: 9.68 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1475, allocations: 12.03 kB / 0.4918 GB, free: 9.668 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1476, allocations: 60.56 kB / 0.4919 GB, free: 9.609 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006556/0.1483, allocations: 332.7 kB / 0.4922 GB, free: 9.258 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.109e-05/0.1484, allocations: 84.97 kB / 0.4923 GB, free: 9.164 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.594e-05/0.1485, allocations: 44.33 kB / 0.4923 GB, free: 9.121 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.1493, allocations: 479.9 kB / 0.4928 GB, free: 8.617 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.1493, allocations: 11.92 kB / 0.4928 GB, free: 8.605 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.1493, allocations: 16 kB / 0.4928 GB, free: 8.59 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.1494, allocations: 8 kB / 0.4928 GB, free: 8.582 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006277/0.15, allocations: 326.3 kB / 0.4931 GB, free: 8.266 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002973/0.153, allocations: 1.919 MB / 0.495 GB, free: 6.254 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.1534, allocations: 174.5 kB / 0.4951 GB, free: 6.074 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.1536, allocations: 118.3 kB / 0.4953 GB, free: 5.957 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1537, allocations: 0 / 0.4953 GB, free: 5.957 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.1537, allocations: 38.94 kB / 0.4953 GB, free: 5.91 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=22): time 1.072e-06/0.1537, allocations: 0 / 0.4953 GB, free: 5.91 MB / 366.1 MB
Notification: Performance of matching and sorting (n=22): time 0.0007403/0.1544, allocations: 348.1 kB / 0.4956 GB, free: 5.566 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1545, allocations: 55.41 kB / 0.4957 GB, free: 5.5 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005281/0.155, allocations: 429.8 kB / 0.4961 GB, free: 5.066 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.155, allocations: 33.7 kB / 0.4961 GB, free: 5.027 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.1553, allocations: 260.2 kB / 0.4964 GB, free: 4.77 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.1553, allocations: 95.22 kB / 0.4965 GB, free: 4.676 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.1555, allocations: 86.02 kB / 0.4965 GB, free: 4.586 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001764/0.1556, allocations: 354.7 kB / 0.4969 GB, free: 4.23 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000237/0.1559, allocations: 112.7 kB / 0.497 GB, free: 4.121 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.1562, allocations: 261.9 kB / 0.4972 GB, free: 3.801 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001842/0.1581, allocations: 0.6767 MB / 0.4979 GB, free: 3.062 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.1581, allocations: 4 kB / 0.4979 GB, free: 3.059 MB / 366.1 MB
Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008414/0.1589, allocations: 481.3 kB / 0.4984 GB, free: 2.582 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.1589, allocations: 10.34 kB / 0.4984 GB, free: 2.574 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1589, allocations: 4 kB / 0.4984 GB, free: 2.57 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.159, allocations: 8 kB / 0.4984 GB, free: 2.562 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.1594, allocations: 107.8 kB / 0.4985 GB, free: 2.457 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.617e-05/0.1594, allocations: 11.92 kB / 0.4985 GB, free: 2.445 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1596, allocations: 63.55 kB / 0.4986 GB, free: 2.383 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.1597, allocations: 16 kB / 0.4986 GB, free: 2.367 MB / 366.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.000292/0.16, allocations: 203.8 kB / 0.4988 GB, free: 2.16 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.784e-05/0.1601, allocations: 39.72 kB / 0.4988 GB, free: 2.121 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/0.1607, allocations: 305.2 kB / 0.4991 GB, free: 1.816 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1607, allocations: 0 / 0.4991 GB, free: 1.816 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1607, allocations: 0 / 0.4991 GB, free: 1.816 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1607, allocations: 7.984 kB / 0.4991 GB, free: 1.809 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.1613, allocations: 384.3 kB / 0.4995 GB, free: 1.391 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1613, allocations: 0 / 0.4995 GB, free: 1.391 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.1617, allocations: 71.88 kB / 0.4995 GB, free: 1.32 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1617, allocations: 4 kB / 0.4995 GB, free: 1.316 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1617, allocations: 8 kB / 0.4995 GB, free: 1.309 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1617, allocations: 0 / 0.4995 GB, free: 1.309 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1617, allocations: 4 kB / 0.4995 GB, free: 1.305 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008381/0.1626, allocations: 0.4994 MB / 0.5 GB, free: 0.7891 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.1626, allocations: 43.72 kB / 0.5001 GB, free: 0.7461 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.1627, allocations: 12 kB / 0.5001 GB, free: 0.7344 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1629, allocations: 11.98 kB / 0.5001 GB, free: 0.7227 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.1629, allocations: 15.97 kB / 0.5001 GB, free: 0.707 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1629, allocations: 7.984 kB / 0.5001 GB, free: 0.6992 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0003407/0.1633, allocations: 287.1 kB / 0.5004 GB, free: 428 kB / 366.1 MB
Notification: Performance of sort global known variables: time 1.31e-07/0.1633, allocations: 7.875 kB / 0.5004 GB, free: 420 kB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000391/0.1637, allocations: 71.83 kB / 0.5005 GB, free: 348 kB / 366.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.0001404/0.1638, allocations: 103.2 kB / 0.5006 GB, free: 236 kB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006277/0.1644, allocations: 290.4 kB / 0.5008 GB, free: 15.95 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1644, allocations: 1.312 kB / 0.5008 GB, free: 15.95 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.1647, allocations: 119.8 kB / 0.501 GB, free: 15.83 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.165, allocations: 40 kB / 0.501 GB, free: 15.8 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1666, allocations: 0.855 MB / 0.5018 GB, free: 14.91 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.1673, allocations: 0.8458 MB / 0.5027 GB, free: 14.04 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0002166/0.1675, allocations: 75.22 kB / 0.5027 GB, free: 13.97 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.1676, allocations: 35.44 kB / 0.5028 GB, free: 13.93 MB / 382.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.1676, allocations: 0 / 0.5028 GB, free: 13.93 MB / 382.1 MB
Notification: Performance of Templates: time 0.007952/0.1756, allocations: 2.71 MB / 0.5054 GB, free: 11.23 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: 5.119865615852177]
Failed to read output from testmodel.py, exit status != 0:
0.18381527811288834 0.43982138 0.290540924
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5503e417b0>