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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPID_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005629/0.005629, allocations: 95.92 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 199.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.1981/0.1981, allocations: 11.15 MB / 301.7 MB, free: 1.246 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 417.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2754, allocations: 51.97 MB / 469.8 MB, free: 17.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003239/0.2787, allocations: 2.257 MB / 472.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2801, allocations: 0.7168 MB / 472.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.2803, allocations: 17.81 kB / 472.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.2806, allocations: 72.62 kB / 472.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.2808, allocations: 39.88 kB / 472.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.2815, allocations: 351.9 kB / 473.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006286/0.2822, allocations: 0.6007 MB / 473.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.2824, allocations: 96.73 kB / 473.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.2826, allocations: 221.3 kB / 474.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.2829, allocations: 214.1 kB / 474.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.283, allocations: 34.06 kB / 474.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.201e-05/0.2831, allocations: 34.34 kB / 474.4 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.2833, allocations: 143 kB / 474.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2834, allocations: 213.9 kB / 474.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004174/0.2838, allocations: 440.6 kB / 475.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2838, allocations: 1.438 kB / 475.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2839, allocations: 0 / 475.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2839, allocations: 0 / 475.2 MB, free: 13.45 MB / 350.1 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.001232/0.2851, allocations: 0.8216 MB / 476 MB, free: 12.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2852, allocations: 13.48 kB / 476 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2853, allocations: 60.31 kB / 476.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005802/0.2859, allocations: 451.3 kB / 476.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.343e-05/0.286, allocations: 91.62 kB / 476.6 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.879e-05/0.286, allocations: 52.06 kB / 476.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.2868, allocations: 0.4906 MB / 477.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.773e-05/0.2869, allocations: 10.06 kB / 477.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.2869, allocations: 20.34 kB / 477.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.2869, allocations: 10.62 kB / 477.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006717/0.2876, allocations: 365.4 kB / 477.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.2901, allocations: 2.05 MB / 479.6 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008456/0.291, allocations: 299.5 kB / 479.9 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002714/0.2912, allocations: 182.6 kB / 480.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.899e-05/0.2913, allocations: 3.875 kB / 480.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.2913, allocations: 33.22 kB / 480.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.413e-06/0.2913, allocations: 0 / 480.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008402/0.2922, allocations: 459.7 kB / 480.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.2922, allocations: 54.78 kB / 480.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004323/0.2926, allocations: 445.6 kB / 481.1 MB, free: 9.176 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.2927, allocations: 34.86 kB / 481.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.2928, allocations: 268.4 kB / 481.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.778e-05/0.2929, allocations: 133.9 kB / 481.5 MB, free: 8.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.293, allocations: 97.69 kB / 481.6 MB, free: 8.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.2931, allocations: 367 kB / 481.9 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/0.2933, allocations: 135.4 kB / 482.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/0.2936, allocations: 279.1 kB / 482.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002095/0.2957, allocations: 0.8196 MB / 483.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2957, allocations: 1.438 kB / 483.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007631/0.2965, allocations: 0.5421 MB / 483.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.2965, allocations: 7.062 kB / 483.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2965, allocations: 5.062 kB / 483.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.2966, allocations: 6.75 kB / 483.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.2971, allocations: 128.4 kB / 483.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.2971, allocations: 7.875 kB / 483.9 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.2973, allocations: 66.39 kB / 483.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.2973, allocations: 20.62 kB / 484 MB, free: 7.16 MB / 350.1 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.0002183/0.2976, allocations: 216.1 kB / 484.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.2976, allocations: 48.59 kB / 484.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006487/0.2983, allocations: 414 kB / 484.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2983, allocations: 4.375 kB / 484.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2983, allocations: 4 kB / 484.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2983, allocations: 3.984 kB / 484.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.2988, allocations: 461.1 kB / 485.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2988, allocations: 0 / 485.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005329/0.2993, allocations: 97.16 kB / 485.2 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2993, allocations: 5.5 kB / 485.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.2994, allocations: 12.27 kB / 485.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2994, allocations: 1.344 kB / 485.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2994, allocations: 1.281 kB / 485.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007646/0.3002, allocations: 0.6368 MB / 485.8 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.3002, allocations: 123.8 kB / 486 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.772e-05/0.3003, allocations: 12.12 kB / 486 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3004, allocations: 13.48 kB / 486 MB, free: 5.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.3005, allocations: 26.95 kB / 486 MB, free: 5.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.3005, allocations: 6.875 kB / 486 MB, free: 5.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3008, allocations: 310.1 kB / 486.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3008, allocations: 0 / 486.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003862/0.3012, allocations: 87.06 kB / 486.4 MB, free: 5.531 MB / 350.1 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.0001188/0.3013, allocations: 110.3 kB / 486.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007111/0.302, allocations: 383.1 kB / 486.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.302, allocations: 0 / 486.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002568/0.3023, allocations: 168.2 kB / 487 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.3027, allocations: 53.92 kB / 487.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.304, allocations: 0.9851 MB / 488.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.3043, allocations: 0.8707 MB / 489 MB, free: 3.742 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002218/0.3045, allocations: 93.84 kB / 489 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.266e-05/0.3046, allocations: 36.06 kB / 489.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3047, allocations: 0 / 489.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of Templates: time 0.007024/0.3117, allocations: 2.972 MB / 492 MB, free: 2.25 MB / 350.1 MB 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 480]