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.000821/0.000821, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008364/0.0008364, allocations: 177.9 kB / 23.21 MB, free: 1.352 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.8864/0.8864, allocations: 177.1 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.03342/0.03342, allocations: 8.609 MB / 268.6 MB, free: 5.129 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.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: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 396.3 MB, free: 2.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.241e-05, allocations: 2.281 kB / 396.3 MB, free: 2.156 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.00199/0.002002, allocations: 2.142 MB / 398.5 MB, free: 4 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.00312, allocations: 0.9936 MB / 399.5 MB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003233, allocations: 19.81 kB / 399.5 MB, free: 14.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.003412, allocations: 99.2 kB / 399.6 MB, free: 14.89 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.572e-05/0.003498, allocations: 75.38 kB / 399.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006134/0.004112, allocations: 394.4 kB / 400 MB, free: 14.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.004475, allocations: 0.5443 MB / 400.6 MB, free: 13.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.004588, allocations: 61.19 kB / 400.6 MB, free: 13.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.004786, allocations: 271.3 kB / 400.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.004994, allocations: 211.4 kB / 401.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.005036, allocations: 36 kB / 401.2 MB, free: 13.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.005147, allocations: 103.9 kB / 401.3 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.622e-05/0.005244, allocations: 163.5 kB / 401.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.242e-05/0.005336, allocations: 139.5 kB / 401.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.005729, allocations: 0.5412 MB / 402.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005731, allocations: 0 / 402.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005732, allocations: 0 / 402.1 MB, free: 12.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.005738, allocations: 0 / 402.1 MB, free: 12.37 MB / 378.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.0008097/0.006547, allocations: 0.8142 MB / 402.9 MB, free: 11.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.006575, allocations: 8.031 kB / 402.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.81e-05/0.006663, allocations: 68.52 kB / 403 MB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.007018, allocations: 378.2 kB / 403.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.007039, allocations: 29.38 kB / 403.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.041e-05/0.00709, allocations: 60.3 kB / 403.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.007589, allocations: 0.5764 MB / 404 MB, free: 10.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.007606, allocations: 12.14 kB / 404 MB, free: 10.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.007631, allocations: 16.38 kB / 404 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.00764, allocations: 15.94 kB / 404.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004261/0.008066, allocations: 441.3 kB / 404.5 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.009612, allocations: 1.971 MB / 406.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.009924, allocations: 280.1 kB / 406.7 MB, free: 7.523 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.01008, allocations: 194.5 kB / 406.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.0101, allocations: 4 kB / 406.9 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.01034, allocations: 299.4 kB / 407.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=36): time 1.263e-06/0.01034, allocations: 0 / 407.2 MB, free: 7.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.0005968/0.01094, allocations: 0.641 MB / 407.9 MB, free: 6.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.01098, allocations: 85.11 kB / 407.9 MB, free: 6.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.01126, allocations: 469.6 kB / 408.4 MB, free: 5.762 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.01128, allocations: 37.7 kB / 408.4 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.01141, allocations: 304.2 kB / 408.7 MB, free: 5.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.736e-05/0.01148, allocations: 138.9 kB / 408.9 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.01157, allocations: 114.1 kB / 409 MB, free: 5.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.01167, allocations: 370.7 kB / 409.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.01185, allocations: 206.7 kB / 409.5 MB, free: 4.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.01209, allocations: 399.3 kB / 409.9 MB, free: 4.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.01324, allocations: 1.109 MB / 411 MB, free: 2.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.01325, allocations: 8 kB / 411.1 MB, free: 2.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006369/0.01389, allocations: 0.787 MB / 411.8 MB, free: 2.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.01391, allocations: 45.69 kB / 411.9 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01392, allocations: 4 kB / 411.9 MB, free: 2.016 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01393, allocations: 12 kB / 411.9 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.01417, allocations: 127.8 kB / 412 MB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.01418, allocations: 19.92 kB / 412 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01431, allocations: 63.55 kB / 412.1 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/0.01433, allocations: 28.28 kB / 412.1 MB, free: 1.77 MB / 378.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.0001967/0.01453, allocations: 283.6 kB / 412.4 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.01456, allocations: 55.66 kB / 412.5 MB, free: 1.418 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004935/0.01506, allocations: 0.5511 MB / 413 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01506, allocations: 4 kB / 413 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01506, allocations: 4 kB / 413 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01507, allocations: 3.984 kB / 413 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.01531, allocations: 372.6 kB / 413.4 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01531, allocations: 0 / 413.4 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.01555, allocations: 83.88 kB / 413.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01555, allocations: 0 / 413.5 MB, free: 372 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/0.01558, allocations: 19.98 kB / 413.5 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01558, allocations: 0 / 413.5 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01558, allocations: 4 kB / 413.5 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.01622, allocations: 0.793 MB / 414.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.01626, allocations: 51.61 kB / 414.3 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/0.01629, allocations: 19.98 kB / 414.4 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.01636, allocations: 15.98 kB / 414.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.01641, allocations: 23.95 kB / 414.4 MB, free: 15.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.01643, allocations: 15.94 kB / 414.4 MB, free: 15.39 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001915/0.01662, allocations: 311 kB / 414.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01662, allocations: 0 / 414.7 MB, free: 15.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01686, allocations: 115.8 kB / 414.8 MB, free: 14.97 MB / 394.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.0001279/0.01698, allocations: 147.1 kB / 415 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004933/0.01748, allocations: 0.5847 MB / 415.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.01748, allocations: 1.562 kB / 415.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.01767, allocations: 272.9 kB / 415.8 MB, free: 13.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.01785, allocations: 42.97 kB / 415.9 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.01876, allocations: 1.129 MB / 417 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001698/0.01893, allocations: 292.5 kB / 417.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.706e-05/0.019, allocations: 40.5 kB / 417.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of SimCode: time 3.9e-07/0.019, allocations: 0 / 417.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of Templates: time 0.007018/0.02602, allocations: 6.32 MB / 423.6 MB, free: 6.043 MB / 394.7 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 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5673693818971515] Failed to read output from testmodel.py, exit status != 0: 0.03112616203725338 0.038932111000000005 0.031600548 Calling exit ...