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.001009/0.001009, allocations: 69.11 kB / 20.65 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.001107/0.001107, allocations: 173 kB / 24.06 MB, free: 448 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.9814/0.9814, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.03777/0.03777, allocations: 8.619 MB / 269.7 MB, free: 4.75 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.042e-06/1.042e-06, allocations: 0 / 342.1 MB, free: 8.105 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.456e-05, allocations: 2.312 kB / 342.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.001899/0.001913, allocations: 2.2 MB / 344.3 MB, free: 5.887 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008574/0.002771, allocations: 0.6987 MB / 345 MB, free: 5.188 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/0.002925, allocations: 27.69 kB / 345 MB, free: 5.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.003087, allocations: 67.27 kB / 345.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001433/0.00323, allocations: 47.55 kB / 345.1 MB, free: 5.047 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.003783, allocations: 407 kB / 345.5 MB, free: 4.648 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.004108, allocations: 0.5437 MB / 346.1 MB, free: 4.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.004229, allocations: 61.23 kB / 346.1 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.004405, allocations: 279.3 kB / 346.4 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.004542, allocations: 167.4 kB / 346.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.004578, allocations: 36 kB / 346.6 MB, free: 3.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.851e-05/0.004606, allocations: 36 kB / 346.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.712e-05/0.004683, allocations: 143.5 kB / 346.8 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.5e-05/0.004748, allocations: 123.6 kB / 346.9 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.004955, allocations: 326.6 kB / 347.2 MB, free: 2.953 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.004957, allocations: 8 kB / 347.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004958, allocations: 0 / 347.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.004962, allocations: 0 / 347.2 MB, free: 2.945 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.0006132/0.005575, allocations: 0.8269 MB / 348.1 MB, free: 2.074 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.005603, allocations: 8.031 kB / 348.1 MB, free: 2.066 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.005676, allocations: 96.52 kB / 348.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.005972, allocations: 397 kB / 348.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.006013, allocations: 80.97 kB / 348.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.006055, allocations: 44.38 kB / 348.7 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.00632, allocations: 398.7 kB / 349.1 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.006335, allocations: 4.141 kB / 349.1 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.006355, allocations: 20.31 kB / 349.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.006364, allocations: 16.12 kB / 349.1 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.00651, allocations: 154.8 kB / 349.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.007834, allocations: 2.06 MB / 351.3 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.008166, allocations: 191.4 kB / 351.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.008243, allocations: 92.12 kB / 351.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.008263, allocations: 8.266 kB / 351.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.008288, allocations: 45.61 kB / 351.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 1.262e-06/0.008289, allocations: 0 / 351.6 MB, free: 14.3 MB / 282.7 MB Notification: Performance of matching and sorting (n=33): time 0.0003151/0.008604, allocations: 266 kB / 351.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.008635, allocations: 55.41 kB / 352 MB, free: 13.97 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.008869, allocations: 426.3 kB / 352.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.00889, allocations: 37.7 kB / 352.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.009032, allocations: 323.1 kB / 352.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.009096, allocations: 142.8 kB / 352.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.009181, allocations: 107.7 kB / 353 MB, free: 12.92 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.00931, allocations: 0.5312 MB / 353.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/0.009368, allocations: 57.05 kB / 353.6 MB, free: 12.32 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.009508, allocations: 255.6 kB / 353.8 MB, free: 11.99 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.01007, allocations: 412.1 kB / 354.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01007, allocations: 0 / 354.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003257/0.0104, allocations: 373.3 kB / 354.6 MB, free: 11.13 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.01041, allocations: 11.94 kB / 354.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.01041, allocations: 4 kB / 354.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.01043, allocations: 8.594 kB / 354.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.01067, allocations: 119.8 kB / 354.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.01068, allocations: 8 kB / 354.7 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.805e-05/0.01078, allocations: 51.61 kB / 354.8 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.0108, allocations: 16 kB / 354.8 MB, free: 10.91 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.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 (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.0001446/0.01094, allocations: 214.3 kB / 355 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.01099, allocations: 59.66 kB / 355.1 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002781/0.01127, allocations: 274 kB / 355.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.01128, allocations: 4 kB / 355.3 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.01128, allocations: 7.984 kB / 355.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.01128, allocations: 0 / 355.3 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.01151, allocations: 268.9 kB / 355.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.01151, allocations: 0 / 355.6 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.01177, allocations: 91.89 kB / 355.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01178, allocations: 0 / 355.7 MB, free: 9.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.0118, allocations: 11.98 kB / 355.7 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.0118, allocations: 7.938 kB / 355.7 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.0118, allocations: 0 / 355.7 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.01215, allocations: 480.8 kB / 356.2 MB, free: 9.453 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.995e-05/0.01218, allocations: 43.64 kB / 356.2 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.717e-05/0.0122, allocations: 12 kB / 356.2 MB, free: 9.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.01228, allocations: 11.94 kB / 356.2 MB, free: 9.387 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.01231, allocations: 23.95 kB / 356.3 MB, free: 9.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.01233, allocations: 15.92 kB / 356.3 MB, free: 9.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.01244, allocations: 247 kB / 356.5 MB, free: 9.109 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01244, allocations: 0 / 356.5 MB, free: 9.109 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002344/0.01267, allocations: 91.78 kB / 356.6 MB, free: 9.02 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 8.98e-05/0.01276, allocations: 115.8 kB / 356.7 MB, free: 8.898 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.01299, allocations: 225 kB / 356.9 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01299, allocations: 0 / 356.9 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.283e-05/0.01309, allocations: 108.4 kB / 357.1 MB, free: 8.566 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01332, allocations: 50.75 kB / 357.1 MB, free: 8.52 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007722/0.01409, allocations: 0.8531 MB / 358 MB, free: 7.629 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.873e-05/0.01417, allocations: 141.6 kB / 358.1 MB, free: 7.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.01428, allocations: 51.41 kB / 358.1 MB, free: 7.414 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.0144, allocations: 122.2 kB / 358.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.0144, allocations: 0 / 358.3 MB, free: 7.293 MB / 282.7 MB Notification: Performance of Templates: time 0.005241/0.01964, allocations: 2.889 MB / 361.2 MB, free: 4.43 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: 2.8201645188964903]