Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 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.06213/0.06213, allocations: 11.33 MB / 315.8 MB, free: 364 kB / 238.1 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.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.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 440.6 MB, free: 6 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3166, allocations: 54.82 MB / 495.4 MB, free: 24.46 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003689/0.3203, allocations: 2.274 MB / 497.7 MB, free: 22.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3222, allocations: 1.04 MB / 498.8 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.3224, allocations: 15.53 kB / 498.8 MB, free: 22.07 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.3227, allocations: 92.88 kB / 498.9 MB, free: 22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.3228, allocations: 66.62 kB / 498.9 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.3237, allocations: 355.2 kB / 499.3 MB, free: 21.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.3243, allocations: 0.6012 MB / 499.9 MB, free: 21.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3245, allocations: 70.17 kB / 500 MB, free: 21.28 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3247, allocations: 210 kB / 0.4884 GB, free: 21.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.325, allocations: 261.7 kB / 0.4887 GB, free: 20.98 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.3251, allocations: 36 kB / 0.4887 GB, free: 20.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.3253, allocations: 105.7 kB / 0.4888 GB, free: 20.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3255, allocations: 165.7 kB / 0.489 GB, free: 20.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.3256, allocations: 233.3 kB / 0.4892 GB, free: 20.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005812/0.3262, allocations: 0.5277 MB / 0.4897 GB, free: 20.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3262, allocations: 0 / 0.4897 GB, free: 20.29 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3262, allocations: 1.438 kB / 0.4897 GB, free: 20.29 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.3262, allocations: 0 / 0.4897 GB, free: 20.29 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001401/0.3276, allocations: 0.8952 MB / 0.4906 GB, free: 19.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3277, allocations: 12.48 kB / 0.4906 GB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.3278, allocations: 67.83 kB / 0.4907 GB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.3284, allocations: 459.4 kB / 0.4911 GB, free: 19.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.3284, allocations: 35.78 kB / 0.4911 GB, free: 19.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.931e-05/0.3285, allocations: 57.69 kB / 0.4912 GB, free: 19.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/0.3294, allocations: 0.5441 MB / 0.4917 GB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.3294, allocations: 8.219 kB / 0.4917 GB, free: 18.7 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.3294, allocations: 20.34 kB / 0.4918 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.3295, allocations: 15.14 kB / 0.4918 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.3301, allocations: 409.4 kB / 0.4922 GB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/0.3327, allocations: 2.149 MB / 0.4943 GB, free: 16.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.3332, allocations: 257.8 kB / 0.4945 GB, free: 16.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002384/0.3334, allocations: 157.5 kB / 0.4947 GB, free: 16.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.3335, allocations: 12.08 kB / 0.4947 GB, free: 16.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003786/0.3339, allocations: 269.7 kB / 0.4949 GB, free: 16.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.3339, allocations: 0 / 0.4949 GB, free: 16.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009898/0.3348, allocations: 0.5762 MB / 0.4955 GB, free: 16.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.3349, allocations: 86.3 kB / 0.4956 GB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.3354, allocations: 0.5175 MB / 0.4961 GB, free: 15.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.3355, allocations: 34.86 kB / 0.4961 GB, free: 15.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3356, allocations: 305.2 kB / 0.4964 GB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.895e-05/0.3357, allocations: 137.6 kB / 0.4965 GB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3358, allocations: 119.5 kB / 0.4966 GB, free: 15.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.3359, allocations: 370 kB / 0.497 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.3362, allocations: 164.3 kB / 0.4971 GB, free: 14.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.3366, allocations: 358.2 kB / 0.4975 GB, free: 14.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002132/0.3387, allocations: 1.116 MB / 0.4986 GB, free: 13.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3387, allocations: 1.219 kB / 0.4986 GB, free: 13.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001038/0.3397, allocations: 0.7488 MB / 0.4993 GB, free: 13.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.685e-05/0.3398, allocations: 40.69 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3398, allocations: 9.438 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.3398, allocations: 9.625 kB / 0.4994 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004898/0.3403, allocations: 146.1 kB / 0.4995 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.3403, allocations: 13.62 kB / 0.4995 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002662/0.3406, allocations: 73.5 kB / 0.4996 GB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.3406, allocations: 26 kB / 0.4996 GB, free: 13.11 MB / 366.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 15 (Disturbance.nextEventScaled,Disturbance.nextEvent,$PRE.Disturbance.nextEvent,Disturbance.last,Disturbance.b,Disturbance.a,$whenCondition1,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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 1 * 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.0003072/0.3409, allocations: 285.6 kB / 0.4999 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.341, allocations: 53.23 kB / 0.4999 GB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.3418, allocations: 0.5249 MB / 0.5005 GB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3418, allocations: 7.375 kB / 0.5005 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3418, allocations: 0 / 0.5005 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/0.3418, allocations: 5.297 kB / 0.5005 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004972/0.3423, allocations: 487.8 kB / 0.5009 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3423, allocations: 0 / 0.5009 GB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.3428, allocations: 83.39 kB / 0.501 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.3428, allocations: 4.922 kB / 0.501 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/0.3429, allocations: 16.81 kB / 0.501 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3429, allocations: 9.094 kB / 0.501 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3429, allocations: 4 kB / 0.501 GB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.3439, allocations: 0.7197 MB / 0.5017 GB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.344, allocations: 129.1 kB / 0.5019 GB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.344, allocations: 16.34 kB / 0.5019 GB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.3442, allocations: 19.42 kB / 0.5019 GB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.3443, allocations: 22.12 kB / 0.5019 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.3443, allocations: 20.92 kB / 0.5019 GB, free: 11.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003448/0.3446, allocations: 355.6 kB / 0.5023 GB, free: 11.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3446, allocations: 0 / 0.5023 GB, free: 11.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.3451, allocations: 116.2 kB / 0.5024 GB, free: 11.31 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * 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.0001983/0.3453, allocations: 149.8 kB / 0.5025 GB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007492/0.346, allocations: 0.5128 MB / 0.503 GB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.346, allocations: 1.438 kB / 0.503 GB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000283/0.3463, allocations: 243.1 kB / 0.5033 GB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.3467, allocations: 53.86 kB / 0.5033 GB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.3486, allocations: 1.149 MB / 0.5044 GB, free: 10.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3491, allocations: 0.8926 MB / 0.5053 GB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003474/0.3494, allocations: 112.8 kB / 0.5054 GB, free: 9.191 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.3495, allocations: 40.16 kB / 0.5055 GB, free: 9.18 MB / 366.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3495, allocations: 0 / 0.5055 GB, free: 9.18 MB / 366.1 MB Notification: Performance of Templates: time 0.009151/0.3587, allocations: 4.124 MB / 0.5095 GB, free: 5.246 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.803828224539757]