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.000676/0.000676, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008818/0.001558, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007004/0.0007004, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008547/0.001555, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1149/1.151, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.03514/0.03514, allocations: 8.615 MB / 252.6 MB, free: 6.73 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005655/0.0408, allocations: 3.125 MB / 255.7 MB, free: 3.598 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.583e-06/1.583e-06, allocations: 0 / 257 MB, free: 2.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.983e-05, allocations: 10.25 kB / 257 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.002219/0.002239, allocations: 2.232 MB / 259.2 MB, free: 64 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001236/0.003476, allocations: 1.048 MB / 260.3 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.003603, allocations: 19.75 kB / 260.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.003772, allocations: 95.27 kB / 260.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.217e-05/0.003864, allocations: 87.42 kB / 260.5 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.004458, allocations: 371 kB / 260.8 MB, free: 14.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.004913, allocations: 0.5288 MB / 261.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.00505, allocations: 77.14 kB / 261.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.005281, allocations: 275.4 kB / 261.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.005487, allocations: 203.4 kB / 261.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.005529, allocations: 40 kB / 261.9 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.005678, allocations: 115.9 kB / 262 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.005773, allocations: 131.6 kB / 262.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.938e-05/0.005862, allocations: 103.6 kB / 262.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.006197, allocations: 374.6 kB / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.006209, allocations: 0 / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00621, allocations: 0 / 262.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.006224, allocations: 4 kB / 262.6 MB, free: 12.61 MB / 266.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.001163/0.007388, allocations: 0.8632 MB / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.007421, allocations: 8.031 kB / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.524e-05/0.007517, allocations: 76.81 kB / 263.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004336/0.00795, allocations: 359.5 kB / 263.9 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.007981, allocations: 33.38 kB / 264 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.008031, allocations: 52.31 kB / 264 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.008408, allocations: 429.8 kB / 264.4 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.008428, allocations: 8.109 kB / 264.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.008454, allocations: 20.36 kB / 264.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.008464, allocations: 15.94 kB / 264.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.008663, allocations: 183.3 kB / 264.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.01013, allocations: 1.589 MB / 266.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.01037, allocations: 206.9 kB / 266.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.01044, allocations: 98.53 kB / 266.6 MB, free: 8.508 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.01e-05/0.01047, allocations: 8 kB / 266.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.01065, allocations: 207.5 kB / 266.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=36): time 1.452e-06/0.01066, allocations: 0 / 266.8 MB, free: 8.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=36): time 0.0003081/0.01096, allocations: 319.6 kB / 267.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.011, allocations: 85.11 kB / 267.2 MB, free: 7.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.01121, allocations: 399 kB / 267.6 MB, free: 7.43 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.01123, allocations: 29.7 kB / 267.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.01133, allocations: 261.1 kB / 267.8 MB, free: 7.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.453e-05/0.0114, allocations: 142.8 kB / 268 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.01149, allocations: 114 kB / 268.1 MB, free: 6.871 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.01159, allocations: 374.6 kB / 268.5 MB, free: 6.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.01167, allocations: 89.66 kB / 268.5 MB, free: 6.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01182, allocations: 267.4 kB / 268.8 MB, free: 6.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.01245, allocations: 0.5229 MB / 269.3 MB, free: 5.414 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.371e-06/0.01246, allocations: 4 kB / 269.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000339/0.01279, allocations: 417.2 kB / 269.7 MB, free: 4.984 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.01283, allocations: 41.69 kB / 269.8 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.01284, allocations: 8 kB / 269.8 MB, free: 4.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.01285, allocations: 8 kB / 269.8 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.01319, allocations: 164.5 kB / 270 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.0132, allocations: 15.94 kB / 270 MB, free: 4.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.01332, allocations: 67.5 kB / 270 MB, free: 4.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.01334, allocations: 24 kB / 270.1 MB, free: 4.656 MB / 266.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.ATreq_in,R.satHIGH_in,R.satLOW_in,R_Bias.ATreq_in,R_Bias.satHIGH_in,R_Bias.satLOW_in,R.TS_in,R_Bias.TS_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.0001865/0.01353, allocations: 221.9 kB / 270.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.01357, allocations: 39.97 kB / 270.3 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.01385, allocations: 307.5 kB / 270.6 MB, free: 4.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.01385, allocations: 4 kB / 270.6 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01386, allocations: 7.938 kB / 270.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.01386, allocations: 0 / 270.6 MB, free: 4.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.01406, allocations: 237.4 kB / 270.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01406, allocations: 0 / 270.9 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.01436, allocations: 118.8 kB / 271 MB, free: 3.695 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.01439, allocations: 43.61 kB / 271 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.0144, allocations: 0 / 271 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.01442, allocations: 19.98 kB / 271 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01442, allocations: 0 / 271 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01443, allocations: 0 / 271 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.01478, allocations: 455.2 kB / 271.5 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.01483, allocations: 20 kB / 271.5 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.271e-05/0.01489, allocations: 8 kB / 271.5 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.01493, allocations: 19.95 kB / 271.5 MB, free: 3.105 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.01495, allocations: 11.98 kB / 271.5 MB, free: 3.094 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.638e-05/0.01505, allocations: 164.6 kB / 271.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01505, allocations: 0 / 271.7 MB, free: 2.934 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000226/0.01528, allocations: 115.8 kB / 271.8 MB, free: 2.82 MB / 266.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.0001535/0.01543, allocations: 128.3 kB / 271.9 MB, free: 2.688 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003041/0.01573, allocations: 387.1 kB / 272.3 MB, free: 2.285 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.01575, allocations: 4 kB / 272.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.01587, allocations: 193.8 kB / 272.5 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.01606, allocations: 86.78 kB / 272.6 MB, free: 1.992 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.01705, allocations: 0.9527 MB / 273.5 MB, free: 1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.95e-05/0.01714, allocations: 149.7 kB / 273.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.01725, allocations: 56.25 kB / 273.7 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.01739, allocations: 119.4 kB / 273.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01739, allocations: 0 / 273.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of Templates: time 0.1199/0.1373, allocations: 4.126 MB / 278 MB, free: 13.77 MB / 266.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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9542350079864264]