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.001033/0.001033, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001016/0.001016, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.991/0.991, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.0657/0.0657, allocations: 8.621 MB / 269.7 MB, free: 4.762 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.193e-06/1.193e-06, allocations: 0 / 342.1 MB, free: 8.113 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.281e-05, allocations: 9.062 kB / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.001827/0.00184, allocations: 2.202 MB / 344.3 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007131/0.002553, allocations: 0.5738 MB / 344.9 MB, free: 5.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.002677, allocations: 23.75 kB / 344.9 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.002846, allocations: 67.31 kB / 345 MB, free: 5.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.002922, allocations: 35.56 kB / 345 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004934/0.003416, allocations: 351.2 kB / 345.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003265/0.003742, allocations: 0.4969 MB / 345.8 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.003878, allocations: 65.23 kB / 345.9 MB, free: 4.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001307/0.004009, allocations: 223.5 kB / 346.1 MB, free: 4.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.004141, allocations: 163.5 kB / 346.3 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.283e-05/0.004174, allocations: 32 kB / 346.3 MB, free: 3.867 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-05/0.0042, allocations: 32 kB / 346.3 MB, free: 3.836 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.004273, allocations: 135.5 kB / 346.5 MB, free: 3.703 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.004337, allocations: 119.6 kB / 346.6 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.004535, allocations: 310.7 kB / 346.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004537, allocations: 0 / 346.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.91e-07/0.004537, allocations: 0 / 346.9 MB, free: 3.281 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.004542, allocations: 0 / 346.9 MB, free: 3.281 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.0006068/0.005149, allocations: 0.7724 MB / 347.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.005177, allocations: 16.02 kB / 347.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.297e-05/0.00525, allocations: 84.61 kB / 347.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.005512, allocations: 342.7 kB / 348.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.005534, allocations: 29.38 kB / 348.1 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.005573, allocations: 48.33 kB / 348.2 MB, free: 1.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.005854, allocations: 378.8 kB / 348.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.005871, allocations: 12.16 kB / 348.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.00589, allocations: 16.38 kB / 348.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.005898, allocations: 8.375 kB / 348.6 MB, free: 1.477 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.006036, allocations: 154.7 kB / 348.7 MB, free: 1.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.007175, allocations: 1.974 MB / 350.7 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.007464, allocations: 153.5 kB / 350.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.007519, allocations: 55.59 kB / 350.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.007537, allocations: 4 kB / 350.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.007557, allocations: 41.39 kB / 351 MB, free: 15 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.322e-06/0.007558, allocations: 0 / 351 MB, free: 15 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002554/0.007814, allocations: 207.7 kB / 351.2 MB, free: 14.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.007839, allocations: 59.34 kB / 351.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.008054, allocations: 414.2 kB / 351.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.00807, allocations: 33.7 kB / 351.7 MB, free: 14.26 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.008206, allocations: 331 kB / 352 MB, free: 13.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.008259, allocations: 111.1 kB / 352.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.008344, allocations: 99.75 kB / 352.2 MB, free: 13.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.008472, allocations: 0.5389 MB / 352.7 MB, free: 13.16 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.861e-05/0.00852, allocations: 40.95 kB / 352.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.00867, allocations: 277.6 kB / 353 MB, free: 12.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.008952, allocations: 404.9 kB / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.008956, allocations: 8 kB / 353.4 MB, free: 12.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0003077/0.009264, allocations: 341.2 kB / 353.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.009275, allocations: 8 kB / 353.8 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.009281, allocations: 4 kB / 353.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.009292, allocations: 8 kB / 353.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.009502, allocations: 111.8 kB / 353.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.009509, allocations: 11.94 kB / 353.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.009611, allocations: 47.62 kB / 354 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.00963, allocations: 20 kB / 354 MB, free: 11.7 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.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 (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.0001417/0.009771, allocations: 225.1 kB / 354.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.009816, allocations: 47.72 kB / 354.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.01006, allocations: 234 kB / 354.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.01006, allocations: 4 kB / 354.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.01006, allocations: 0 / 354.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01007, allocations: 0 / 354.5 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.01028, allocations: 244.9 kB / 354.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.01028, allocations: 0 / 354.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.01048, allocations: 71.91 kB / 354.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.01049, allocations: 0 / 354.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.01051, allocations: 15.98 kB / 354.8 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.01051, allocations: 4 kB / 354.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01051, allocations: 0 / 354.8 MB, free: 10.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.01082, allocations: 408.6 kB / 355.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.01084, allocations: 39.66 kB / 355.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.01087, allocations: 8 kB / 355.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.01093, allocations: 11.98 kB / 355.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/0.01097, allocations: 15.97 kB / 355.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.01097, allocations: 4 kB / 355.3 MB, free: 10.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.01109, allocations: 251 kB / 355.5 MB, free: 10.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01109, allocations: 4 kB / 355.5 MB, free: 10.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.01132, allocations: 83.78 kB / 355.6 MB, free: 10 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 7.349e-05/0.01139, allocations: 103.2 kB / 355.7 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.01162, allocations: 197.7 kB / 355.9 MB, free: 9.691 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.51e-07/0.01162, allocations: 4.062 kB / 355.9 MB, free: 9.688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.57e-05/0.01169, allocations: 84.02 kB / 356 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.01191, allocations: 42.89 kB / 356 MB, free: 9.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.01266, allocations: 0.789 MB / 356.8 MB, free: 8.738 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.01273, allocations: 133.2 kB / 357 MB, free: 8.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.01286, allocations: 47.27 kB / 357 MB, free: 8.539 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.01296, allocations: 122.2 kB / 357.1 MB, free: 8.418 MB / 282.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01296, allocations: 0 / 357.1 MB, free: 8.418 MB / 282.7 MB Notification: Performance of Templates: time 0.004659/0.01762, allocations: 2.592 MB / 359.7 MB, free: 5.852 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.65264745708555]