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.0007026/0.0007026, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009357/0.001638, 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.000678/0.000678, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008757/0.001554, 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 0.9477/0.9477, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1192/1.067, 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.03491/0.03491, allocations: 8.608 MB / 252.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004467/0.03938, allocations: 3.137 MB / 255.9 MB, free: 3.488 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.643e-06/1.643e-06, allocations: 0 / 257.2 MB, free: 2.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.232e-05, allocations: 2.312 kB / 257.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002159/0.002171, allocations: 2.255 MB / 259.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007847/0.002956, allocations: 0.6007 MB / 260 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.003077, allocations: 23.75 kB / 260.1 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.003205, allocations: 67.33 kB / 260.1 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.496e-05/0.00328, allocations: 35.55 kB / 260.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.003799, allocations: 347.2 kB / 260.5 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.004167, allocations: 492.9 kB / 261 MB, free: 14.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.004292, allocations: 77.2 kB / 261.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.00449, allocations: 239.4 kB / 261.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001586/0.004648, allocations: 159.5 kB / 261.4 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.004689, allocations: 32 kB / 261.5 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.004722, allocations: 32 kB / 261.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.004804, allocations: 107.6 kB / 261.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.004883, allocations: 91.69 kB / 261.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.005113, allocations: 270.8 kB / 262 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084e-05/0.005123, allocations: 3.984 kB / 262 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.005124, allocations: 0 / 262 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.005133, allocations: 0 / 262 MB, free: 13.37 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.0007296/0.005863, allocations: 0.7216 MB / 262.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.00589, allocations: 12.03 kB / 262.7 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.513e-05/0.005965, allocations: 64.89 kB / 262.8 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.006276, allocations: 337.2 kB / 263.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.006304, allocations: 29.38 kB / 263.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.675e-05/0.006351, allocations: 44.31 kB / 263.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.006775, allocations: 372.1 kB / 263.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.006791, allocations: 8.125 kB / 263.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.006814, allocations: 20.36 kB / 263.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.006824, allocations: 12.38 kB / 263.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.006972, allocations: 137.6 kB / 263.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.008248, allocations: 1.452 MB / 265.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.008543, allocations: 184.1 kB / 265.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.008591, allocations: 44.84 kB / 265.4 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.008612, allocations: 4 kB / 265.4 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.008633, allocations: 38.56 kB / 265.4 MB, free: 9.746 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 1.273e-06/0.008634, allocations: 4 kB / 265.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.0002096/0.008844, allocations: 160.6 kB / 265.6 MB, free: 9.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.008869, allocations: 55.41 kB / 265.6 MB, free: 9.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.009056, allocations: 351 kB / 266 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.009075, allocations: 33.7 kB / 266 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.009184, allocations: 252.8 kB / 266.3 MB, free: 8.863 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.009237, allocations: 103.2 kB / 266.4 MB, free: 8.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.009316, allocations: 90.08 kB / 266.5 MB, free: 8.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.009424, allocations: 362.6 kB / 266.8 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.009471, allocations: 35.81 kB / 266.8 MB, free: 8.266 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.009586, allocations: 205.8 kB / 267 MB, free: 7.988 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/0.009869, allocations: 360.3 kB / 267.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.009872, allocations: 8 kB / 267.4 MB, free: 7.555 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0002463/0.01012, allocations: 273.6 kB / 267.7 MB, free: 7.281 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.01013, allocations: 8 kB / 267.7 MB, free: 7.273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01014, allocations: 4 kB / 267.7 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01015, allocations: 11.94 kB / 267.7 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.01046, allocations: 140.6 kB / 267.8 MB, free: 7.121 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.01046, allocations: 11.94 kB / 267.8 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.336e-05/0.01056, allocations: 47.66 kB / 267.9 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.01058, allocations: 20 kB / 267.9 MB, free: 7.043 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: 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.0001407/0.01072, allocations: 174.3 kB / 268.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.01075, allocations: 27.97 kB / 268.1 MB, free: 6.836 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.01096, allocations: 189.5 kB / 268.3 MB, free: 6.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.01096, allocations: 4 kB / 268.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.01096, allocations: 0 / 268.3 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.01097, allocations: 7.922 kB / 268.3 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.01142, allocations: 209.5 kB / 268.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01142, allocations: 0 / 268.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.01167, allocations: 95.91 kB / 268.6 MB, free: 6.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.828e-05/0.0117, allocations: 43.66 kB / 268.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.0117, allocations: 4 kB / 268.6 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.01172, allocations: 8 kB / 268.7 MB, free: 6.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01173, allocations: 4 kB / 268.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01173, allocations: 0 / 268.7 MB, free: 6.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.01198, allocations: 363.2 kB / 269 MB, free: 5.887 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.012, allocations: 11.98 kB / 269 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.121e-05/0.01207, allocations: 8 kB / 269 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.0121, allocations: 15.97 kB / 269 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.01211, allocations: 7.984 kB / 269.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.481e-05/0.0122, allocations: 132.7 kB / 269.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0122, allocations: 4 kB / 269.2 MB, free: 5.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.01241, allocations: 83.78 kB / 269.3 MB, free: 5.625 MB / 266.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.299e-05/0.01248, allocations: 88.34 kB / 269.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.01267, allocations: 191.6 kB / 269.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/0.01268, allocations: 12.09 kB / 269.6 MB, free: 5.332 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.313e-05/0.01277, allocations: 97.19 kB / 269.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01302, allocations: 234.5 kB / 269.9 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008274/0.01385, allocations: 0.7665 MB / 270.6 MB, free: 4.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.316e-05/0.01392, allocations: 144.9 kB / 270.8 MB, free: 4.012 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.172e-05/0.01402, allocations: 43.27 kB / 270.8 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.01412, allocations: 103.4 kB / 270.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01412, allocations: 0 / 270.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of Templates: time 0.004376/0.0185, allocations: 2.286 MB / 273.2 MB, free: 1.621 MB / 266.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.4498415840789676]