Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_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.001413/0.001413, allocations: 84.73 kB / 19.44 MB, free: 356 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.001615/0.001615, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.491/1.491, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.06727/0.06727, allocations: 8.609 MB / 268.2 MB, free: 4.93 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.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 340.1 MB, free: 8.734 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.875e-05, allocations: 4.844 kB / 340.1 MB, free: 8.73 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002873/0.002902, allocations: 2.159 MB / 342.3 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004011, allocations: 0.5855 MB / 342.9 MB, free: 5.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.004206, allocations: 19.75 kB / 342.9 MB, free: 5.945 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.004429, allocations: 63.33 kB / 343 MB, free: 5.883 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.004558, allocations: 39.55 kB / 343 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.005316, allocations: 343.2 kB / 343.3 MB, free: 5.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.005795, allocations: 0.5008 MB / 343.8 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.005945, allocations: 69.16 kB / 343.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.006136, allocations: 227.4 kB / 344.1 MB, free: 4.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.006317, allocations: 155.5 kB / 344.3 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.006366, allocations: 32 kB / 344.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.995e-05/0.006406, allocations: 32 kB / 344.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.006514, allocations: 143.5 kB / 344.5 MB, free: 4.359 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.838e-05/0.006613, allocations: 119.6 kB / 344.6 MB, free: 4.242 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.006925, allocations: 402.6 kB / 345 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.006928, allocations: 0 / 345 MB, free: 3.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.00693, allocations: 0 / 345 MB, free: 3.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.006936, allocations: 4 kB / 345 MB, free: 3.844 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.0009954/0.007932, allocations: 0.692 MB / 345.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.007964, allocations: 8.031 kB / 345.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.008081, allocations: 84.61 kB / 345.8 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004406/0.008522, allocations: 363.9 kB / 346.1 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.008551, allocations: 29.38 kB / 346.2 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.008616, allocations: 48.33 kB / 346.2 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006203/0.009236, allocations: 488.6 kB / 346.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.009259, allocations: 8.125 kB / 346.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.009295, allocations: 16.38 kB / 346.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.009305, allocations: 12.38 kB / 346.7 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005214/0.009826, allocations: 343.6 kB / 347.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.01193, allocations: 1.765 MB / 348.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008199/0.01275, allocations: 222.3 kB / 349 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.01299, allocations: 113.4 kB / 349.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.01303, allocations: 8 kB / 349.2 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.01306, allocations: 34.56 kB / 349.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.01306, allocations: 0 / 349.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008556/0.01392, allocations: 371.6 kB / 349.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.01397, allocations: 55.41 kB / 349.6 MB, free: 15.03 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.0145, allocations: 389.5 kB / 350 MB, free: 14.64 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.01454, allocations: 29.7 kB / 350 MB, free: 14.6 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.01482, allocations: 284.2 kB / 350.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.01494, allocations: 107.2 kB / 350.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.01509, allocations: 90.14 kB / 350.5 MB, free: 14.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.01531, allocations: 350.7 kB / 350.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.01557, allocations: 116.9 kB / 350.9 MB, free: 13.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004072/0.01598, allocations: 279.9 kB / 351.2 MB, free: 13.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/0.01832, allocations: 0.7511 MB / 352 MB, free: 12.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.01833, allocations: 4 kB / 352 MB, free: 12.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001006/0.01933, allocations: 0.5047 MB / 352.5 MB, free: 11.97 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.01935, allocations: 8 kB / 352.5 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.01937, allocations: 8 kB / 352.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.0194, allocations: 8 kB / 352.5 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.01987, allocations: 115.8 kB / 352.6 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.01989, allocations: 12.47 kB / 352.6 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/0.02014, allocations: 59.61 kB / 352.7 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.02019, allocations: 27.94 kB / 352.7 MB, free: 11.73 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: 24 * 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 (59): * Single equations (assignments): 59 * 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.0003262/0.02052, allocations: 199.5 kB / 352.9 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.02062, allocations: 55.64 kB / 353 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.02139, allocations: 345.8 kB / 353.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.0214, allocations: 8 kB / 353.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.02141, allocations: 0 / 353.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.02141, allocations: 4 kB / 353.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.02194, allocations: 313 kB / 353.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.02195, allocations: 3.984 kB / 353.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.02242, allocations: 75.95 kB / 353.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.02243, allocations: 4 kB / 353.7 MB, free: 10.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.02246, allocations: 11.98 kB / 353.7 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.02247, allocations: 3.938 kB / 353.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02247, allocations: 0 / 353.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009703/0.02344, allocations: 0.5314 MB / 354.2 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.677e-05/0.02351, allocations: 35.7 kB / 354.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.02356, allocations: 11.98 kB / 354.3 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.02373, allocations: 11.98 kB / 354.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.159e-05/0.0238, allocations: 19.97 kB / 354.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.02382, allocations: 4 kB / 354.3 MB, free: 10.06 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003867/0.0242, allocations: 259.1 kB / 354.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0242, allocations: 0 / 354.6 MB, free: 9.805 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004425/0.02464, allocations: 83.73 kB / 354.7 MB, free: 9.723 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,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 (29): * Single equations (assignments): 29 * 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.0001663/0.02481, allocations: 111.2 kB / 354.8 MB, free: 9.602 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007151/0.02553, allocations: 313 kB / 355.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02553, allocations: 0 / 355.1 MB, free: 9.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.02578, allocations: 131.8 kB / 355.2 MB, free: 9.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.0262, allocations: 43.67 kB / 355.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.02785, allocations: 0.8505 MB / 356.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.02832, allocations: 250 kB / 356.3 MB, free: 7.977 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002495/0.02856, allocations: 79.22 kB / 356.4 MB, free: 7.895 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.02867, allocations: 36.48 kB / 356.5 MB, free: 7.859 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.02867, allocations: 0 / 356.5 MB, free: 7.859 MB / 282.7 MB Notification: Performance of Templates: time 0.007521/0.03619, allocations: 2.355 MB / 358.8 MB, free: 5.527 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.3866834490327165]