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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 249.9 MB, free: 3.188 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06199/0.06199, allocations: 11.34 MB / 316.4 MB, free: 396 kB / 238.1 MB [Timeout remaining time 90] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/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 FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 441.1 MB, free: 6.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3442, allocations: 54.82 MB / 495.9 MB, free: 24.42 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPID_bias): time 0.003405/0.3477, allocations: 2.265 MB / 498.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.3491, allocations: 0.7246 MB / 498.9 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.3493, allocations: 20.78 kB / 498.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.3495, allocations: 68.7 kB / 499 MB, free: 22.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.3497, allocations: 46.7 kB / 499 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006951/0.3504, allocations: 349.4 kB / 499.3 MB, free: 21.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005829/0.351, allocations: 0.5879 MB / 499.9 MB, free: 21.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.3512, allocations: 73.08 kB / 500 MB, free: 21.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002515/0.3514, allocations: 217 kB / 0.4885 GB, free: 21.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.3517, allocations: 213.1 kB / 0.4887 GB, free: 21.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.533e-05/0.3518, allocations: 35.28 kB / 0.4887 GB, free: 21.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.046e-05/0.3518, allocations: 34.09 kB / 0.4888 GB, free: 21.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.352, allocations: 154.9 kB / 0.4889 GB, free: 21.19 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.3521, allocations: 205.9 kB / 0.4891 GB, free: 21.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004202/0.3526, allocations: 443.6 kB / 0.4895 GB, free: 20.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3526, allocations: 3.938 kB / 0.4895 GB, free: 20.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3526, allocations: 7.922 kB / 0.4895 GB, free: 20.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3526, allocations: 1.094 kB / 0.4895 GB, free: 20.7 MB / 366.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.001245/0.3538, allocations: 0.815 MB / 0.4903 GB, free: 20.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3539, allocations: 11.89 kB / 0.4903 GB, free: 20.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001102/0.354, allocations: 60.53 kB / 0.4904 GB, free: 19.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.3545, allocations: 448.2 kB / 0.4908 GB, free: 19.6 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.681e-05/0.3546, allocations: 90.98 kB / 0.4909 GB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.573e-05/0.3547, allocations: 51.48 kB / 0.491 GB, free: 19.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007751/0.3555, allocations: 0.4949 MB / 0.4914 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.529e-05/0.3555, allocations: 10.69 kB / 0.4915 GB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.3556, allocations: 16.28 kB / 0.4915 GB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.3556, allocations: 10.75 kB / 0.4915 GB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006392/0.3562, allocations: 368.6 kB / 0.4918 GB, free: 18.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.3588, allocations: 2.05 MB / 0.4938 GB, free: 17.29 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008457/0.3596, allocations: 293.1 kB / 0.4941 GB, free: 17.14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.3599, allocations: 166 kB / 0.4943 GB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.3599, allocations: 5.406 kB / 0.4943 GB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3599, allocations: 32.28 kB / 0.4943 GB, free: 17.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.3599, allocations: 0 / 0.4943 GB, free: 17.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008735/0.3608, allocations: 459.4 kB / 0.4947 GB, free: 16.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.3608, allocations: 55.47 kB / 0.4948 GB, free: 16.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004414/0.3613, allocations: 445.4 kB / 0.4952 GB, free: 16.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.3613, allocations: 34.67 kB / 0.4953 GB, free: 16.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3615, allocations: 268.6 kB / 0.4955 GB, free: 16.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.35e-05/0.3616, allocations: 133.2 kB / 0.4956 GB, free: 16.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.3617, allocations: 98.88 kB / 0.4957 GB, free: 15.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3618, allocations: 370.2 kB / 0.4961 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/0.3621, allocations: 140.1 kB / 0.4962 GB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.3624, allocations: 270.1 kB / 0.4965 GB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.3645, allocations: 0.8233 MB / 0.4973 GB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3645, allocations: 1.094 kB / 0.4973 GB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008549/0.3654, allocations: 0.5427 MB / 0.4978 GB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.3654, allocations: 7.625 kB / 0.4978 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.3654, allocations: 4.312 kB / 0.4978 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.3655, allocations: 7.75 kB / 0.4978 GB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.366, allocations: 124.3 kB / 0.498 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.366, allocations: 6.906 kB / 0.498 GB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.3662, allocations: 62.11 kB / 0.498 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3663, allocations: 21.72 kB / 0.498 GB, free: 14.43 MB / 366.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.0002829/0.3665, allocations: 223.2 kB / 0.4983 GB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/0.3666, allocations: 48.72 kB / 0.4983 GB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007396/0.3674, allocations: 413.5 kB / 0.4987 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.3674, allocations: 4.688 kB / 0.4987 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3674, allocations: 4 kB / 0.4987 GB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3674, allocations: 3.984 kB / 0.4987 GB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.3679, allocations: 461.4 kB / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3679, allocations: 0 / 0.4991 GB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/0.3684, allocations: 96.78 kB / 0.4992 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3684, allocations: 1.156 kB / 0.4992 GB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3684, allocations: 12.42 kB / 0.4992 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3684, allocations: 2.406 kB / 0.4993 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3684, allocations: 0 / 0.4993 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008328/0.3693, allocations: 0.633 MB / 0.4999 GB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.34e-05/0.3694, allocations: 123.8 kB / 0.5 GB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.248e-05/0.3694, allocations: 16.11 kB / 0.5 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.3696, allocations: 18.8 kB / 0.5 GB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.3697, allocations: 26.95 kB / 0.5 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3697, allocations: 6.875 kB / 0.5001 GB, free: 13.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.37, allocations: 309.2 kB / 0.5003 GB, free: 12.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.37, allocations: 3.938 kB / 0.5004 GB, free: 12.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000415/0.3704, allocations: 85.88 kB / 0.5004 GB, free: 12.79 MB / 366.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.0001283/0.3705, allocations: 115.2 kB / 0.5005 GB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.3712, allocations: 364.2 kB / 0.5009 GB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3712, allocations: 3.938 kB / 0.5009 GB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002722/0.3715, allocations: 167 kB / 0.5011 GB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3719, allocations: 39.97 kB / 0.5011 GB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3734, allocations: 1.038 MB / 0.5021 GB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.3738, allocations: 0.8681 MB / 0.503 GB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.3739, allocations: 41.92 kB / 0.503 GB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3739, allocations: 1.375 kB / 0.503 GB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.008341/0.3822, allocations: 5.33 MB / 0.5082 GB, free: 7.168 MB / 366.1 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=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPID_bias.pipe 2>&1) [Timeout 480]