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.0008771/0.0008771, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0008569/0.0008569, allocations: 169 kB / 23.28 MB, free: 1.219 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.012/1.012, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.04096/0.04096, allocations: 8.608 MB / 268.9 MB, free: 4.77 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.673e-06/1.673e-06, allocations: 0 / 341.3 MB, free: 9.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.503e-05, allocations: 2.312 kB / 341.3 MB, free: 9.188 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003465/0.00349, allocations: 2.198 MB / 343.5 MB, free: 6.973 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004883, allocations: 0.6987 MB / 344.2 MB, free: 6.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000312/0.005195, allocations: 31.69 kB / 344.2 MB, free: 6.242 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002334/0.005428, allocations: 59.33 kB / 344.3 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.00566, allocations: 47.48 kB / 344.3 MB, free: 6.137 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.006538, allocations: 415 kB / 344.7 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005849/0.007123, allocations: 0.5394 MB / 345.3 MB, free: 5.191 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.007292, allocations: 77.22 kB / 345.4 MB, free: 5.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003124/0.007604, allocations: 267.4 kB / 345.6 MB, free: 4.852 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.007815, allocations: 175.4 kB / 345.8 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.248e-05/0.007868, allocations: 32 kB / 345.8 MB, free: 4.648 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.611e-05/0.007914, allocations: 36 kB / 345.9 MB, free: 4.613 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006215/0.01413, allocations: 143.5 kB / 346 MB, free: 4.473 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.01426, allocations: 123.6 kB / 346.1 MB, free: 4.352 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.01463, allocations: 334.5 kB / 346.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.01463, allocations: 0 / 346.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01463, allocations: 0 / 346.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.01464, allocations: 0 / 346.4 MB, free: 4.023 MB / 314.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.0009268/0.01556, allocations: 0.8307 MB / 347.3 MB, free: 3.148 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.01561, allocations: 12.02 kB / 347.3 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.01572, allocations: 100.6 kB / 347.4 MB, free: 3.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004517/0.01617, allocations: 381 kB / 347.8 MB, free: 2.641 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-05/0.01625, allocations: 88.97 kB / 347.8 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.01631, allocations: 44.38 kB / 347.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.01676, allocations: 390.7 kB / 348.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01677, allocations: 12.08 kB / 348.3 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.0168, allocations: 16.38 kB / 348.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.01681, allocations: 12.12 kB / 348.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006591/0.02341, allocations: 158.7 kB / 348.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.02541, allocations: 2.064 MB / 350.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.02583, allocations: 196.6 kB / 350.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006133/0.03196, allocations: 88.19 kB / 350.8 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.032, allocations: 8.281 kB / 350.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.03202, allocations: 41.59 kB / 350.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.03202, allocations: 0 / 350.9 MB, free: 15.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0004236/0.03245, allocations: 273.9 kB / 351.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.03248, allocations: 55.41 kB / 351.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.03279, allocations: 430.3 kB / 351.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.03281, allocations: 29.7 kB / 351.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/0.03501, allocations: 327.1 kB / 351.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.0351, allocations: 134.8 kB / 352.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.03522, allocations: 111.7 kB / 352.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.03538, allocations: 0.5351 MB / 352.7 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.269e-05/0.03545, allocations: 41.12 kB / 352.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.03564, allocations: 269.8 kB / 353 MB, free: 13.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.03604, allocations: 404.4 kB / 353.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.03604, allocations: 4 kB / 353.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004261/0.03647, allocations: 369.8 kB / 353.8 MB, free: 12.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.03649, allocations: 12 kB / 353.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.0365, allocations: 4 kB / 353.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.03651, allocations: 8 kB / 353.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004364/0.04088, allocations: 115.8 kB / 353.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.04089, allocations: 11.94 kB / 353.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001656/0.04105, allocations: 55.61 kB / 354 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.04108, allocations: 16 kB / 354 MB, free: 11.98 MB / 330.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.000201/0.04128, allocations: 210.4 kB / 354.2 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.04135, allocations: 55.66 kB / 354.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.04174, allocations: 281.8 kB / 354.5 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.04175, allocations: 7.938 kB / 354.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.04175, allocations: 0 / 354.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.04176, allocations: 3.984 kB / 354.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.04212, allocations: 264.9 kB / 354.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.04212, allocations: 0 / 354.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/0.04247, allocations: 87.89 kB / 354.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.04247, allocations: 4 kB / 354.9 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.0425, allocations: 12 kB / 354.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.04251, allocations: 11.94 kB / 354.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.04251, allocations: 3.984 kB / 354.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.04297, allocations: 472.9 kB / 355.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.04301, allocations: 43.66 kB / 355.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.04305, allocations: 11.98 kB / 355.4 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.04315, allocations: 11.94 kB / 355.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.04321, allocations: 23.95 kB / 355.5 MB, free: 10.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.04322, allocations: 8 kB / 355.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00015/0.04337, allocations: 255 kB / 355.7 MB, free: 10.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04337, allocations: 4 kB / 355.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.04371, allocations: 87.78 kB / 355.8 MB, free: 10.1 MB / 330.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.0001116/0.04382, allocations: 110 kB / 355.9 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.04411, allocations: 229.8 kB / 356.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.04411, allocations: 384 / 356.2 MB, free: 9.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.04423, allocations: 115.2 kB / 356.3 MB, free: 9.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.04454, allocations: 49.58 kB / 356.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.05473, allocations: 0.8498 MB / 357.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.05483, allocations: 133.8 kB / 357.3 MB, free: 8.559 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.05499, allocations: 55.39 kB / 357.4 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.05513, allocations: 126.2 kB / 357.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.05514, allocations: 0 / 357.5 MB, free: 8.379 MB / 330.7 MB Notification: Performance of Templates: time 0.0147/0.06984, allocations: 2.815 MB / 360.3 MB, free: 5.59 MB / 330.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.7884387001395226]