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.001026/0.001026, allocations: 93.06 kB / 19.65 MB, free: 280 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.001068/0.001068, allocations: 169 kB / 23.02 MB, free: 1.555 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.043/1.043, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.03683/0.03683, allocations: 8.613 MB / 268.6 MB, free: 4.938 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.614e-06/1.614e-06, allocations: 0 / 340.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.714e-05, allocations: 2.312 kB / 340.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.002796/0.002824, allocations: 2.229 MB / 343.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.004014, allocations: 0.6987 MB / 343.8 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.004212, allocations: 27.69 kB / 343.8 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.004428, allocations: 67.33 kB / 343.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.004627, allocations: 47.48 kB / 343.9 MB, free: 5.32 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007795/0.005406, allocations: 411 kB / 344.3 MB, free: 4.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.005869, allocations: 0.5359 MB / 344.9 MB, free: 4.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.006035, allocations: 68.47 kB / 344.9 MB, free: 4.316 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002676/0.006303, allocations: 287.3 kB / 345.2 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.006494, allocations: 159.5 kB / 345.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.006544, allocations: 36 kB / 345.4 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.749e-05/0.006592, allocations: 32 kB / 345.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.006698, allocations: 147.5 kB / 345.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.006791, allocations: 127.5 kB / 345.7 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002934/0.007084, allocations: 326.6 kB / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.007088, allocations: 0 / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.007089, allocations: 0 / 346 MB, free: 3.223 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.007095, allocations: 4 kB / 346 MB, free: 3.219 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.0008693/0.007965, allocations: 0.8425 MB / 346.9 MB, free: 2.332 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.008001, allocations: 12.03 kB / 346.9 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.008115, allocations: 96.52 kB / 347 MB, free: 2.227 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.008547, allocations: 393 kB / 347.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.008611, allocations: 80.97 kB / 347.4 MB, free: 1.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.00867, allocations: 48.36 kB / 347.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.009159, allocations: 414.8 kB / 347.9 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.009179, allocations: 8.141 kB / 347.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.009211, allocations: 20.36 kB / 347.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.009225, allocations: 12.12 kB / 347.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.009539, allocations: 193.7 kB / 348.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001957/0.0115, allocations: 2.176 MB / 350.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.01205, allocations: 208.7 kB / 350.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.01221, allocations: 92.2 kB / 350.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.01224, allocations: 12.22 kB / 350.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.01227, allocations: 41.67 kB / 350.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.814e-06/0.01227, allocations: 0 / 350.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005292/0.0128, allocations: 301.9 kB / 350.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.01284, allocations: 55.41 kB / 351 MB, free: 13.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003483/0.01318, allocations: 434.5 kB / 351.4 MB, free: 13.55 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.01321, allocations: 29.7 kB / 351.5 MB, free: 13.52 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.01338, allocations: 327.2 kB / 351.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.87e-05/0.01347, allocations: 138.8 kB / 351.9 MB, free: 13.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01359, allocations: 103.8 kB / 352 MB, free: 12.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.01375, allocations: 0.5313 MB / 352.5 MB, free: 12.4 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.01387, allocations: 61.11 kB / 352.6 MB, free: 12.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.0141, allocations: 275.5 kB / 352.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.01464, allocations: 444.2 kB / 353.3 MB, free: 11.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.01464, allocations: 0 / 353.3 MB, free: 11.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005644/0.01521, allocations: 413.5 kB / 353.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.01523, allocations: 4 kB / 353.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.01524, allocations: 8 kB / 353.7 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.01526, allocations: 4 kB / 353.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.01565, allocations: 127.7 kB / 353.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.01566, allocations: 8 kB / 353.9 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.01581, allocations: 55.61 kB / 353.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.01584, allocations: 28.25 kB / 353.9 MB, free: 10.83 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: 20 * 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 (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.0001906/0.01603, allocations: 210.3 kB / 354.1 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.01611, allocations: 59.66 kB / 354.2 MB, free: 10.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004784/0.01658, allocations: 309.4 kB / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01659, allocations: 0 / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.01659, allocations: 4 kB / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.0166, allocations: 0 / 354.5 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003666/0.01696, allocations: 332.3 kB / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01697, allocations: 0 / 354.8 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.01736, allocations: 95.88 kB / 354.9 MB, free: 9.785 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.01736, allocations: 7.938 kB / 354.9 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/0.01739, allocations: 12 kB / 354.9 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.0174, allocations: 0 / 354.9 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0174, allocations: 0 / 354.9 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005734/0.01797, allocations: 0.497 MB / 355.4 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.01802, allocations: 43.66 kB / 355.5 MB, free: 9.199 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.316e-05/0.01806, allocations: 19.92 kB / 355.5 MB, free: 9.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.01818, allocations: 11.98 kB / 355.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.01824, allocations: 27.95 kB / 355.5 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.01825, allocations: 8 kB / 355.6 MB, free: 9.133 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002026/0.01846, allocations: 267.1 kB / 355.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01846, allocations: 0 / 355.8 MB, free: 8.875 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003629/0.01882, allocations: 87.78 kB / 355.9 MB, free: 8.789 MB / 282.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 0.0001081/0.01893, allocations: 107.2 kB / 356 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.01933, allocations: 256.9 kB / 356.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01934, allocations: 0 / 356.3 MB, free: 8.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001554/0.01949, allocations: 119.9 kB / 356.4 MB, free: 8.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.01983, allocations: 41.64 kB / 356.4 MB, free: 8.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.02097, allocations: 0.8687 MB / 357.3 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.02107, allocations: 138.2 kB / 357.4 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.02125, allocations: 79.36 kB / 357.5 MB, free: 7.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.02134, allocations: 36.48 kB / 357.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02134, allocations: 3.938 kB / 357.5 MB, free: 7.074 MB / 282.7 MB Notification: Performance of Templates: time 0.006396/0.02773, allocations: 2.621 MB / 360.2 MB, free: 4.477 MB / 282.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: 3.0437911809422076]