Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_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.0006611/0.0006611, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008885/0.00155, allocations: 440 kB / 10.41 MB, free: 284 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.0006765/0.0006765, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008802/0.001557, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.026/1.026, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09463/1.121, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.03665/0.03665, allocations: 8.617 MB / 252.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01016/0.0468, allocations: 3.133 MB / 255.9 MB, free: 3.48 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.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 257.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.051e-05, allocations: 5.969 kB / 257.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003487/0.003508, allocations: 2.256 MB / 259.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.005061, allocations: 0.7179 MB / 260.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.005274, allocations: 27.69 kB / 260.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.005462, allocations: 79.25 kB / 260.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.00563, allocations: 43.55 kB / 260.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.006466, allocations: 399.1 kB / 260.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000615/0.007081, allocations: 0.5281 MB / 261.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.00726, allocations: 73.2 kB / 261.3 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.007647, allocations: 287.3 kB / 261.6 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.007914, allocations: 171.4 kB / 261.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.733e-05/0.007981, allocations: 32 kB / 261.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.00804, allocations: 36 kB / 261.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.008168, allocations: 115.6 kB / 261.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.008291, allocations: 91.69 kB / 262 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.008647, allocations: 294.7 kB / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.008659, allocations: 0 / 262.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.00866, allocations: 4 kB / 262.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.008674, allocations: 0 / 262.3 MB, free: 13.03 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001117/0.009791, allocations: 0.7839 MB / 263.1 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.009825, allocations: 11.98 kB / 263.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.009941, allocations: 68.89 kB / 263.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.0105, allocations: 367.5 kB / 263.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.355e-05/0.01058, allocations: 84.97 kB / 263.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.01065, allocations: 52.31 kB / 263.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000544/0.0112, allocations: 380.1 kB / 264 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.01122, allocations: 192 / 264 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.01126, allocations: 16.38 kB / 264 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.01127, allocations: 20.06 kB / 264.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.01156, allocations: 145.7 kB / 264.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.01351, allocations: 1.546 MB / 265.8 MB, free: 9.414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003257/0.01384, allocations: 214 kB / 266 MB, free: 9.195 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.0139, allocations: 69.39 kB / 266 MB, free: 9.125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.01392, allocations: 8.281 kB / 266 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.01394, allocations: 38.84 kB / 266.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.01394, allocations: 3.938 kB / 266.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=33): time 0.0002542/0.0142, allocations: 206.8 kB / 266.3 MB, free: 8.859 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.01422, allocations: 55.41 kB / 266.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.01441, allocations: 363.1 kB / 266.7 MB, free: 8.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.01442, allocations: 29.7 kB / 266.7 MB, free: 8.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.01451, allocations: 237.3 kB / 267 MB, free: 8.148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.01469, allocations: 134.9 kB / 267.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.01477, allocations: 98.08 kB / 267.2 MB, free: 7.914 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.01485, allocations: 362.7 kB / 267.5 MB, free: 7.551 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.01491, allocations: 51.95 kB / 267.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.01501, allocations: 187 kB / 267.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002902/0.0153, allocations: 372.8 kB / 268.1 MB, free: 6.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.0153, allocations: 0 / 268.1 MB, free: 6.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000258/0.01556, allocations: 290 kB / 268.4 MB, free: 6.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.01558, allocations: 15.88 kB / 268.4 MB, free: 6.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.01558, allocations: 4.594 kB / 268.4 MB, free: 6.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.0156, allocations: 8 kB / 268.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.01594, allocations: 158.8 kB / 268.6 MB, free: 6.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01595, allocations: 8 kB / 268.6 MB, free: 6.352 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.572e-05/0.01604, allocations: 47.66 kB / 268.7 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.01606, allocations: 16 kB / 268.7 MB, free: 6.289 MB / 266.7 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: 20 * Number of states: 0 () * Number of discrete variables: 8 (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 (65): * Single equations (assignments): 65 * 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.0001493/0.01621, allocations: 181.7 kB / 268.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.01625, allocations: 39.91 kB / 268.9 MB, free: 6.066 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.01649, allocations: 226.1 kB / 269.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01649, allocations: 8 kB / 269.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.01649, allocations: 0 / 269.1 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.0165, allocations: 3.984 kB / 269.1 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.0167, allocations: 229.5 kB / 269.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.0167, allocations: 0 / 269.3 MB, free: 5.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.01701, allocations: 128.6 kB / 269.5 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.911e-05/0.01704, allocations: 47.53 kB / 269.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01704, allocations: 4 kB / 269.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.01707, allocations: 11.98 kB / 269.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01707, allocations: 4 kB / 269.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01708, allocations: 0 / 269.5 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.01736, allocations: 411.7 kB / 269.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.01739, allocations: 11.98 kB / 269.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.693e-05/0.01745, allocations: 8 kB / 270 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.01749, allocations: 19.95 kB / 270 MB, free: 4.934 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.0175, allocations: 8 kB / 270 MB, free: 4.926 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.01759, allocations: 144.6 kB / 270.1 MB, free: 4.781 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01759, allocations: 3.938 kB / 270.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.01778, allocations: 87.84 kB / 270.2 MB, free: 4.691 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (R.Iaction,R.Fder,R_Bias.Iaction,R_Bias.Fder,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 (37): * Single equations (assignments): 37 * 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 7.127e-05/0.01785, allocations: 89.02 kB / 270.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.01807, allocations: 215.5 kB / 270.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002871/0.01835, allocations: 12.5 kB / 270.5 MB, free: 4.375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.01846, allocations: 120.2 kB / 270.6 MB, free: 4.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.01873, allocations: 245 kB / 270.9 MB, free: 3.984 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.01963, allocations: 0.8504 MB / 271.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.222e-05/0.01971, allocations: 141.7 kB / 271.9 MB, free: 2.945 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.01981, allocations: 47.45 kB / 271.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.01993, allocations: 107.4 kB / 272 MB, free: 2.789 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.01993, allocations: 0 / 272 MB, free: 2.789 MB / 266.7 MB Notification: Performance of Templates: time 0.004707/0.02464, allocations: 2.592 MB / 274.6 MB, free: 240 kB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4912891713902354]