Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_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.0007984/0.0007984, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007923/0.0007923, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8803/0.8803, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.03386/0.03386, allocations: 8.605 MB / 268.6 MB, free: 5.141 MB / 250.7 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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 396.3 MB, free: 1 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.911e-05/2.06e-05, allocations: 5.234 kB / 396.3 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.00251/0.002531, allocations: 2.151 MB / 398.5 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003834, allocations: 0.9982 MB / 399.5 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.00397, allocations: 19.81 kB / 399.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.004218, allocations: 91.28 kB / 399.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.379e-05/0.004312, allocations: 75.39 kB / 399.7 MB, free: 13.64 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.004993, allocations: 398.9 kB / 400.1 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004147/0.005408, allocations: 0.5558 MB / 400.6 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.00555, allocations: 61.19 kB / 400.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002003/0.00575, allocations: 267.4 kB / 400.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.00597, allocations: 219.4 kB / 401.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.944e-05/0.00602, allocations: 36 kB / 401.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.006137, allocations: 103.9 kB / 401.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.006243, allocations: 159.5 kB / 401.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.779e-05/0.006341, allocations: 135.5 kB / 401.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.006755, allocations: 0.5412 MB / 402.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006757, allocations: 0 / 402.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006758, allocations: 0 / 402.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.006764, allocations: 4 kB / 402.1 MB, free: 11.18 MB / 330.7 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.0008981/0.007663, allocations: 0.8219 MB / 402.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.007696, allocations: 8.031 kB / 402.9 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/0.007774, allocations: 72.52 kB / 403 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.008193, allocations: 386.1 kB / 403.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.008221, allocations: 33.38 kB / 403.4 MB, free: 9.805 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.008284, allocations: 52.31 kB / 403.5 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005459/0.00883, allocations: 0.5764 MB / 404.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.008852, allocations: 8.172 kB / 404.1 MB, free: 9.129 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.008881, allocations: 16.38 kB / 404.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.008891, allocations: 15.88 kB / 404.1 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.009338, allocations: 429.4 kB / 404.5 MB, free: 8.672 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.01106, allocations: 1.983 MB / 406.5 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003779/0.01144, allocations: 288.1 kB / 406.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.01161, allocations: 190.5 kB / 407 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.82e-05/0.01166, allocations: 4 kB / 407 MB, free: 6.117 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004861/0.01214, allocations: 295.3 kB / 407.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 4.087e-06/0.01215, allocations: 4 kB / 407.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009784/0.01313, allocations: 0.6446 MB / 407.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.01317, allocations: 81.11 kB / 408 MB, free: 5.027 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.01347, allocations: 473.7 kB / 408.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.01349, allocations: 33.7 kB / 408.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.01363, allocations: 312.2 kB / 408.8 MB, free: 4.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.0137, allocations: 138.9 kB / 408.9 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.032e-05/0.01379, allocations: 110.1 kB / 409 MB, free: 3.957 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.01389, allocations: 370.7 kB / 409.4 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.01408, allocations: 202.7 kB / 409.6 MB, free: 3.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.01433, allocations: 399.4 kB / 410 MB, free: 2.898 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.01554, allocations: 1.117 MB / 411.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.01554, allocations: 3.938 kB / 411.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006693/0.01621, allocations: 0.7865 MB / 411.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.505e-05/0.01625, allocations: 46.47 kB / 411.9 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.01625, allocations: 4 kB / 411.9 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.01627, allocations: 16 kB / 412 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.01652, allocations: 127.8 kB / 412.1 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.01653, allocations: 19.92 kB / 412.1 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.01666, allocations: 67.56 kB / 412.2 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.01669, allocations: 28 kB / 412.2 MB, free: 0.5586 MB / 330.7 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.0002224/0.01691, allocations: 294.5 kB / 412.5 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.01694, allocations: 55.67 kB / 412.5 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1572/0.1741, allocations: 0.5504 MB / 413.1 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1741, allocations: 2.938 kB / 413.1 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.1741, allocations: 2.156 kB / 413.1 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.1741, allocations: 1.219 kB / 413.1 MB, free: 29.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.1745, allocations: 363.4 kB / 413.4 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1745, allocations: 0 / 413.4 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.1748, allocations: 82.91 kB / 413.5 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1748, allocations: 3.406 kB / 413.5 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.1749, allocations: 22.48 kB / 413.5 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1749, allocations: 8 kB / 413.6 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1749, allocations: 0 / 413.6 MB, free: 28.97 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.1756, allocations: 0.7693 MB / 414.3 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.1756, allocations: 51.98 kB / 414.4 MB, free: 28.72 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.205e-05/0.1757, allocations: 20.61 kB / 414.4 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.1757, allocations: 16.91 kB / 414.4 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.1758, allocations: 24.61 kB / 414.4 MB, free: 28.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.46e-05/0.1758, allocations: 17.28 kB / 414.5 MB, free: 28.71 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002252/0.176, allocations: 312.2 kB / 414.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.176, allocations: 0 / 414.8 MB, free: 28.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000331/0.1764, allocations: 116.3 kB / 414.9 MB, free: 28.55 MB / 330.7 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.0001607/0.1765, allocations: 151.9 kB / 415 MB, free: 28.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005635/0.1771, allocations: 0.579 MB / 415.6 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1771, allocations: 1.094 kB / 415.6 MB, free: 28.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001948/0.1773, allocations: 275.5 kB / 415.9 MB, free: 28.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.1775, allocations: 44.92 kB / 415.9 MB, free: 28.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1786, allocations: 1.129 MB / 417 MB, free: 27.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1788, allocations: 295.5 kB / 417.3 MB, free: 27.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.1789, allocations: 42.25 kB / 417.4 MB, free: 27.3 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.1789, allocations: 1.156 kB / 417.4 MB, free: 27.3 MB / 330.7 MB Notification: Performance of Templates: time 0.007667/0.1866, allocations: 6.374 MB / 423.7 MB, free: 26.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.021098285913467] Failed to read output from testmodel.py, exit status != 0: 0.19147132337093353 0.198969778 0.19092466300000002 Calling exit ...