Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.001795/0.001795, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.00208/0.00208, allocations: 177.2 kB / 22.77 MB, free: 1.66 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.09044/0.09044, allocations: 8.618 MB / 268.2 MB, free: 4.941 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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 340.1 MB, free: 8.754 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.325e-05, allocations: 6.25 kB / 340.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002588/0.002611, allocations: 2.182 MB / 342.3 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.003577, allocations: 0.5816 MB / 342.9 MB, free: 5.961 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.003714, allocations: 19.75 kB / 342.9 MB, free: 5.941 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001957/0.003909, allocations: 71.33 kB / 343 MB, free: 5.871 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.93e-05/0.004009, allocations: 43.48 kB / 343 MB, free: 5.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/0.004646, allocations: 339.3 kB / 343.4 MB, free: 5.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003581/0.005004, allocations: 0.4891 MB / 343.9 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.005136, allocations: 73.16 kB / 343.9 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.005314, allocations: 239.4 kB / 344.2 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.005493, allocations: 151.5 kB / 344.3 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.243e-05/0.005546, allocations: 32 kB / 344.4 MB, free: 4.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.257e-05/0.005588, allocations: 32 kB / 344.4 MB, free: 4.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.00569, allocations: 139.5 kB / 344.5 MB, free: 4.352 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.781e-05/0.005778, allocations: 115.6 kB / 344.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.006061, allocations: 406.6 kB / 345 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006063, allocations: 0 / 345 MB, free: 3.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.006064, allocations: 3.938 kB / 345 MB, free: 3.836 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.00607, allocations: 0 / 345 MB, free: 3.836 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.0009039/0.006974, allocations: 0.815 MB / 345.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.007006, allocations: 12.03 kB / 345.9 MB, free: 2.965 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.007108, allocations: 84.61 kB / 345.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.007546, allocations: 350.8 kB / 346.3 MB, free: 2.512 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.007577, allocations: 29.38 kB / 346.3 MB, free: 2.484 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.007633, allocations: 48.33 kB / 346.4 MB, free: 2.438 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.008129, allocations: 442.1 kB / 346.8 MB, free: 1.961 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.008154, allocations: 12.11 kB / 346.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.008186, allocations: 16.38 kB / 346.8 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.008195, allocations: 12.38 kB / 346.8 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.008596, allocations: 243.6 kB / 347.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/0.01082, allocations: 2.161 MB / 349.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006624/0.01148, allocations: 187 kB / 349.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.01166, allocations: 79.66 kB / 349.5 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.01169, allocations: 4 kB / 349.5 MB, free: 15.15 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/0.01173, allocations: 37.39 kB / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.01173, allocations: 0 / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006833/0.01241, allocations: 287.6 kB / 349.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.01247, allocations: 63.28 kB / 349.9 MB, free: 14.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.01301, allocations: 474.6 kB / 350.3 MB, free: 14.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.01304, allocations: 33.7 kB / 350.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003024/0.01335, allocations: 351 kB / 350.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.01346, allocations: 107.2 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.01363, allocations: 111.8 kB / 350.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003312/0.01396, allocations: 0.5469 MB / 351.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.01413, allocations: 68.97 kB / 351.5 MB, free: 13.03 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.01454, allocations: 319.8 kB / 351.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.01536, allocations: 0.5047 MB / 352.4 MB, free: 12.01 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.01536, allocations: 0 / 352.4 MB, free: 12.01 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007605/0.01612, allocations: 424.6 kB / 352.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.01615, allocations: 8.719 kB / 352.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.01616, allocations: 4 kB / 352.8 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.01619, allocations: 12 kB / 352.8 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.01663, allocations: 115.8 kB / 352.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.94e-05/0.01665, allocations: 11.94 kB / 352.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.01686, allocations: 59.61 kB / 353 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.01689, allocations: 20 kB / 353 MB, free: 11.36 MB / 282.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: 24 * Number of states: 0 () * Number of discrete variables: 8 (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 (59): * Single equations (assignments): 59 * 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.0003084/0.0172, allocations: 226.3 kB / 353.2 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.01729, allocations: 47.72 kB / 353.3 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/0.0179, allocations: 282 kB / 353.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.0179, allocations: 0 / 353.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.01791, allocations: 0 / 353.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.01791, allocations: 4 kB / 353.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005233/0.01844, allocations: 352.3 kB / 353.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01844, allocations: 0 / 353.9 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.01886, allocations: 75.94 kB / 354 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01886, allocations: 0 / 354 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.0189, allocations: 8 kB / 354 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.0189, allocations: 0 / 354 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0189, allocations: 7.938 kB / 354 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/0.01968, allocations: 0.4889 MB / 354.5 MB, free: 9.82 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.01975, allocations: 39.66 kB / 354.5 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.443e-05/0.0198, allocations: 8 kB / 354.5 MB, free: 9.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.01994, allocations: 15.92 kB / 354.5 MB, free: 9.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.02001, allocations: 19.97 kB / 354.6 MB, free: 9.738 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.02003, allocations: 7.984 kB / 354.6 MB, free: 9.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003101/0.02034, allocations: 287.1 kB / 354.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02034, allocations: 0 / 354.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.02071, allocations: 87.78 kB / 354.9 MB, free: 9.363 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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 0.0001487/0.02086, allocations: 103.8 kB / 355 MB, free: 9.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005513/0.02141, allocations: 265.3 kB / 355.3 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.02142, allocations: 448 / 355.3 MB, free: 8.988 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.02163, allocations: 116 kB / 355.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.02201, allocations: 48.33 kB / 355.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.02342, allocations: 0.8165 MB / 356.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.02371, allocations: 246 kB / 356.5 MB, free: 7.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.0239, allocations: 67.23 kB / 356.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.983e-05/0.02399, allocations: 32.48 kB / 356.6 MB, free: 7.613 MB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02399, allocations: 4 kB / 356.6 MB, free: 7.609 MB / 282.7 MB Notification: Performance of Templates: time 0.007435/0.03142, allocations: 2.349 MB / 359 MB, free: 5.281 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6058252999791875]