Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.001386/0.001386, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001576/0.001576, allocations: 156.9 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.466/1.466, allocations: 177.2 MB / 203.4 MB, free: 9.02 MB / 190.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.06128/0.06128, allocations: 8.624 MB / 268.4 MB, free: 8.555 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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.002072/0.002072, allocations: 63.91 kB / 396.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1204, allocations: 56.05 MB / 452.1 MB, free: 15.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00539/0.1258, allocations: 2.153 MB / 454.3 MB, free: 13.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.1286, allocations: 0.99 MB / 455.3 MB, free: 12.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.1288, allocations: 23.75 kB / 455.3 MB, free: 12.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000398/0.1292, allocations: 95.27 kB / 455.4 MB, free: 12.53 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.1294, allocations: 67.5 kB / 455.4 MB, free: 12.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1308, allocations: 355.3 kB / 455.8 MB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.1322, allocations: 0.6575 MB / 456.5 MB, free: 11.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002258/0.1324, allocations: 65 kB / 456.5 MB, free: 11.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.1328, allocations: 223.3 kB / 456.7 MB, free: 11.17 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.1334, allocations: 239 kB / 457 MB, free: 10.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1335, allocations: 36 kB / 457 MB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002884/0.1338, allocations: 111.8 kB / 457.1 MB, free: 10.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.134, allocations: 163.4 kB / 457.3 MB, free: 10.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.1343, allocations: 182.8 kB / 457.5 MB, free: 10.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008941/0.1352, allocations: 0.5289 MB / 458 MB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1352, allocations: 0 / 458 MB, free: 9.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1352, allocations: 0 / 458 MB, free: 9.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.1352, allocations: 0 / 458 MB, free: 9.918 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002119/0.1373, allocations: 0.8142 MB / 458.8 MB, free: 9.066 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1374, allocations: 12.03 kB / 458.8 MB, free: 9.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.1376, allocations: 64.52 kB / 458.9 MB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.1386, allocations: 394.8 kB / 459.3 MB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.897e-05/0.1386, allocations: 33.38 kB / 459.3 MB, free: 8.547 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.1388, allocations: 48.33 kB / 459.3 MB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.1401, allocations: 0.584 MB / 459.9 MB, free: 7.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.822e-05/0.1402, allocations: 4 kB / 459.9 MB, free: 7.875 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.548e-05/0.1402, allocations: 20 kB / 459.9 MB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.1402, allocations: 8 kB / 459.9 MB, free: 7.848 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1415, allocations: 445.3 kB / 460.4 MB, free: 7.402 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004697/0.1462, allocations: 1.972 MB / 462.4 MB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/0.1471, allocations: 284 kB / 462.6 MB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.1475, allocations: 190.5 kB / 462.8 MB, free: 4.867 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.1475, allocations: 7.938 kB / 462.8 MB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.1482, allocations: 295.2 kB / 463.1 MB, free: 4.547 MB / 430.1 MB Notification: Performance of pre-optimization done (n=36): time 3.377e-06/0.1482, allocations: 4 kB / 463.1 MB, free: 4.543 MB / 430.1 MB Notification: Performance of matching and sorting (n=36): time 0.001704/0.1499, allocations: 0.6489 MB / 463.8 MB, free: 3.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.15, allocations: 89.09 kB / 463.9 MB, free: 3.758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008295/0.1508, allocations: 477.6 kB / 464.3 MB, free: 3.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.28e-05/0.1509, allocations: 33.7 kB / 464.4 MB, free: 3.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.1512, allocations: 304.2 kB / 464.7 MB, free: 2.945 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.1514, allocations: 138.8 kB / 464.8 MB, free: 2.809 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002217/0.1516, allocations: 118.1 kB / 464.9 MB, free: 2.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.1519, allocations: 358.8 kB / 465.3 MB, free: 2.328 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.1523, allocations: 202.8 kB / 465.4 MB, free: 2.125 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007513/0.153, allocations: 399.3 kB / 465.8 MB, free: 1.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.1565, allocations: 1.101 MB / 466.9 MB, free: 444 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.1565, allocations: 0 / 466.9 MB, free: 444 kB / 430.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001995/0.1585, allocations: 0.7912 MB / 467.7 MB, free: 15.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.044e-05/0.1586, allocations: 45.69 kB / 467.8 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.1586, allocations: 4 kB / 467.8 MB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.802e-05/0.1587, allocations: 12 kB / 467.8 MB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.1595, allocations: 131.8 kB / 467.9 MB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.664e-05/0.1595, allocations: 23.67 kB / 467.9 MB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.16, allocations: 67.5 kB / 468 MB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.1601, allocations: 32 kB / 468 MB, free: 15.31 MB / 446.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.0006765/0.1607, allocations: 279.8 kB / 468.3 MB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.1609, allocations: 51.67 kB / 468.4 MB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/0.1623, allocations: 0.5587 MB / 468.9 MB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1623, allocations: 0 / 468.9 MB, free: 14.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.1623, allocations: 7.938 kB / 468.9 MB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1623, allocations: 0 / 468.9 MB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007307/0.163, allocations: 364.9 kB / 469.3 MB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.163, allocations: 4 kB / 469.3 MB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.1638, allocations: 95.81 kB / 469.4 MB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.1638, allocations: 0 / 469.4 MB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.1639, allocations: 15.98 kB / 469.4 MB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1639, allocations: 0 / 469.4 MB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1639, allocations: 0 / 469.4 MB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.1656, allocations: 0.7777 MB / 470.2 MB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.1657, allocations: 47.61 kB / 470.2 MB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.1659, allocations: 16 kB / 470.2 MB, free: 13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002342/0.1661, allocations: 19.98 kB / 470.3 MB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1662, allocations: 27.83 kB / 470.3 MB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-05/0.1662, allocations: 19.92 kB / 470.3 MB, free: 12.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005321/0.1668, allocations: 307.1 kB / 470.6 MB, free: 12.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1668, allocations: 0 / 470.6 MB, free: 12.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007862/0.1676, allocations: 123.7 kB / 470.7 MB, free: 12.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0003382/0.1679, allocations: 143.1 kB / 470.9 MB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.1693, allocations: 0.5847 MB / 471.5 MB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1693, allocations: 0 / 471.5 MB, free: 11.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005244/0.1698, allocations: 276.7 kB / 471.7 MB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1703, allocations: 47.44 kB / 471.8 MB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002581/0.1729, allocations: 1.181 MB / 473 MB, free: 10.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004751/0.1734, allocations: 288.5 kB / 473.2 MB, free: 9.902 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004051/0.1738, allocations: 100.1 kB / 473.3 MB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.1739, allocations: 44.48 kB / 473.4 MB, free: 9.762 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1739, allocations: 0 / 473.4 MB, free: 9.762 MB / 446.1 MB Notification: Performance of Templates: time 0.01417/0.1881, allocations: 3.649 MB / 477 MB, free: 6.133 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0519540859386325] Failed to read output from testmodel.py, exit status != 0: 0.19834500597789884 0.47838087900000004 0.338555001 Calling exit ...