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.001467/0.001467, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001311/0.001311, allocations: 177 kB / 23.49 MB, free: 1.059 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.03851/0.03851, allocations: 8.609 MB / 268.9 MB, free: 4.965 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 2.255e-06/2.255e-06, allocations: 0 / 340.9 MB, free: 8.715 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.833e-05, allocations: 2.312 kB / 340.9 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.003765/0.003794, allocations: 2.224 MB / 343.1 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.005188, allocations: 0.5738 MB / 343.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.005524, allocations: 19.81 kB / 343.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002698/0.005793, allocations: 63.31 kB / 343.8 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.005935, allocations: 43.5 kB / 343.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.007092, allocations: 347.2 kB / 344.2 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005629/0.007655, allocations: 0.4969 MB / 344.7 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.007823, allocations: 69.22 kB / 344.7 MB, free: 4.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.008037, allocations: 227.4 kB / 344.9 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.008223, allocations: 159.5 kB / 345.1 MB, free: 4.484 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.651e-05/0.00827, allocations: 28 kB / 345.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.002e-05/0.0083, allocations: 32 kB / 345.2 MB, free: 4.426 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.82e-05/0.008398, allocations: 139.5 kB / 345.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.073e-05/0.008479, allocations: 119.6 kB / 345.4 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.008746, allocations: 306.7 kB / 345.7 MB, free: 3.871 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.008749, allocations: 3.938 kB / 345.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.00875, allocations: 0 / 345.7 MB, free: 3.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.008759, allocations: 4 kB / 345.7 MB, free: 3.863 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.0007627/0.009521, allocations: 0.7803 MB / 346.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.009563, allocations: 12.03 kB / 346.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.009672, allocations: 84.61 kB / 346.6 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003914/0.01006, allocations: 350.8 kB / 346.9 MB, free: 2.574 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.0101, allocations: 29.38 kB / 347 MB, free: 2.547 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.512e-05/0.01015, allocations: 52.27 kB / 347 MB, free: 2.496 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.01058, allocations: 406.8 kB / 347.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.0106, allocations: 4.188 kB / 347.4 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.01062, allocations: 16.38 kB / 347.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.01063, allocations: 16.31 kB / 347.4 MB, free: 2.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.01087, allocations: 181.7 kB / 347.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.01233, allocations: 2.079 MB / 349.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/0.01274, allocations: 153.9 kB / 349.9 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.628e-05/0.01283, allocations: 63.66 kB / 349.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.01285, allocations: 4 kB / 349.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.01287, allocations: 41.38 kB / 350 MB, free: 15.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 2.545e-06/0.01288, allocations: 7.984 kB / 350 MB, free: 15.38 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003766/0.01325, allocations: 227.7 kB / 350.2 MB, free: 15.15 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.01329, allocations: 59.34 kB / 350.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.01358, allocations: 426.5 kB / 350.7 MB, free: 14.65 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.01359, allocations: 25.7 kB / 350.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.01376, allocations: 335 kB / 351 MB, free: 14.29 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/0.01382, allocations: 107.1 kB / 351.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-05/0.01391, allocations: 95.8 kB / 351.2 MB, free: 14.07 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.01406, allocations: 0.5312 MB / 351.7 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.01415, allocations: 44.97 kB / 351.8 MB, free: 13.49 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.01433, allocations: 293.6 kB / 352.1 MB, free: 13.1 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003933/0.01473, allocations: 428.6 kB / 352.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.01473, allocations: 4 kB / 352.5 MB, free: 12.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004104/0.01514, allocations: 381.2 kB / 352.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.01516, allocations: 12 kB / 352.9 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.01517, allocations: 7.938 kB / 352.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.01519, allocations: 8 kB / 352.9 MB, free: 12.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.01544, allocations: 111.8 kB / 353 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.01546, allocations: 11.98 kB / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001172/0.01557, allocations: 51.62 kB / 353.1 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.0156, allocations: 24 kB / 353.1 MB, free: 11.98 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.0001882/0.01578, allocations: 214.2 kB / 353.3 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.01583, allocations: 47.72 kB / 353.3 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.01617, allocations: 253.9 kB / 353.6 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.01617, allocations: 4 kB / 353.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01618, allocations: 0 / 353.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.01618, allocations: 3.984 kB / 353.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.01646, allocations: 300.3 kB / 353.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01646, allocations: 0 / 353.9 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.01671, allocations: 75.89 kB / 354 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01671, allocations: 7.984 kB / 354 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.673e-05/0.01674, allocations: 15.98 kB / 354 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.01674, allocations: 0 / 354 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01674, allocations: 0 / 354 MB, free: 11.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.01715, allocations: 432.7 kB / 354.4 MB, free: 10.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.743e-05/0.01718, allocations: 39.66 kB / 354.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.01722, allocations: 8 kB / 354.5 MB, free: 10.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.0173, allocations: 11.98 kB / 354.5 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.01735, allocations: 23.95 kB / 354.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.01736, allocations: 4 kB / 354.5 MB, free: 10.49 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.01752, allocations: 263 kB / 354.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01752, allocations: 4 kB / 354.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002764/0.01779, allocations: 83.72 kB / 354.8 MB, free: 10.15 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.0001037/0.0179, allocations: 107.2 kB / 354.9 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002975/0.0182, allocations: 213.6 kB / 355.2 MB, free: 9.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0182, allocations: 4.125 kB / 355.2 MB, free: 9.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.734e-05/0.01829, allocations: 92.08 kB / 355.3 MB, free: 9.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.01856, allocations: 44.52 kB / 355.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009639/0.01953, allocations: 0.7923 MB / 356.1 MB, free: 8.859 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.301e-05/0.01961, allocations: 129.2 kB / 356.2 MB, free: 8.711 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.01974, allocations: 67.22 kB / 356.3 MB, free: 8.645 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.0198, allocations: 32.5 kB / 356.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of SimCode: time 1.553e-06/0.0198, allocations: 0 / 356.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of Templates: time 0.005255/0.02506, allocations: 2.357 MB / 358.7 MB, free: 6.273 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: 2.959043237147853]