Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_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.00146/0.00146, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001344/0.001344, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.59/1.59, allocations: 225.6 MB / 249.4 MB, free: 3.301 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.06348/0.06348, allocations: 11.32 MB / 315.8 MB, free: 412 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.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.89 kB / 440.6 MB, free: 6.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2863, allocations: 54.82 MB / 495.4 MB, free: 24.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestD_bias): time 0.003904/0.2903, allocations: 2.262 MB / 497.7 MB, free: 22.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2922, allocations: 1.037 MB / 498.7 MB, free: 22.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.2924, allocations: 22.91 kB / 498.8 MB, free: 22.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.2927, allocations: 82.88 kB / 498.9 MB, free: 21.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.2928, allocations: 73.02 kB / 498.9 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.2936, allocations: 344.3 kB / 499.3 MB, free: 21.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.2942, allocations: 0.6034 MB / 499.9 MB, free: 21.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.2943, allocations: 68.41 kB / 499.9 MB, free: 21.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.2945, allocations: 204.9 kB / 0.4884 GB, free: 21.19 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.2948, allocations: 255.8 kB / 0.4887 GB, free: 21.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.312e-05/0.2949, allocations: 36.28 kB / 0.4887 GB, free: 21.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.295, allocations: 113 kB / 0.4888 GB, free: 20.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001461/0.2952, allocations: 167 kB / 0.489 GB, free: 20.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.2953, allocations: 227.1 kB / 0.4892 GB, free: 20.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.2958, allocations: 0.5327 MB / 0.4897 GB, free: 20.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2959, allocations: 0 / 0.4897 GB, free: 20.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2959, allocations: 0 / 0.4897 GB, free: 20.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.2959, allocations: 0 / 0.4897 GB, free: 20.32 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.001299/0.2972, allocations: 0.8935 MB / 0.4906 GB, free: 19.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.2972, allocations: 13.33 kB / 0.4906 GB, free: 19.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2973, allocations: 66.67 kB / 0.4906 GB, free: 19.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.2979, allocations: 445 kB / 0.4911 GB, free: 19.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.2979, allocations: 30.94 kB / 0.4911 GB, free: 19.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.298, allocations: 50.95 kB / 0.4911 GB, free: 19.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000872/0.2989, allocations: 0.5521 MB / 0.4917 GB, free: 18.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.299, allocations: 11.17 kB / 0.4917 GB, free: 18.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.727e-05/0.299, allocations: 17.44 kB / 0.4917 GB, free: 18.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.299, allocations: 9.875 kB / 0.4917 GB, free: 18.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007315/0.2998, allocations: 418.2 kB / 0.4921 GB, free: 18.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002676/0.3024, allocations: 2.152 MB / 0.4942 GB, free: 16.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.3029, allocations: 260.2 kB / 0.4945 GB, free: 16.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.3032, allocations: 157.2 kB / 0.4946 GB, free: 16.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.3032, allocations: 8.578 kB / 0.4946 GB, free: 16.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.3036, allocations: 265 kB / 0.4949 GB, free: 16.41 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 1.823e-06/0.3036, allocations: 5.094 kB / 0.4949 GB, free: 16.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009172/0.3045, allocations: 0.571 MB / 0.4954 GB, free: 16.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.3045, allocations: 94.94 kB / 0.4955 GB, free: 16.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.305, allocations: 0.5024 MB / 0.496 GB, free: 15.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.305, allocations: 31.95 kB / 0.4961 GB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.3052, allocations: 304.4 kB / 0.4963 GB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.375e-05/0.3052, allocations: 141.7 kB / 0.4965 GB, free: 15.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.3054, allocations: 115.1 kB / 0.4966 GB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.3054, allocations: 367.2 kB / 0.4969 GB, free: 14.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.3057, allocations: 174.9 kB / 0.4971 GB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.306, allocations: 359.3 kB / 0.4974 GB, free: 14.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001922/0.3079, allocations: 1.11 MB / 0.4985 GB, free: 13.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.308, allocations: 1.25 kB / 0.4985 GB, free: 13.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001027/0.309, allocations: 0.7534 MB / 0.4993 GB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.309, allocations: 39.33 kB / 0.4993 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.309, allocations: 6.875 kB / 0.4993 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.3091, allocations: 8.25 kB / 0.4993 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.3095, allocations: 138.7 kB / 0.4995 GB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.655e-05/0.3095, allocations: 17.3 kB / 0.4995 GB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.3098, allocations: 70.09 kB / 0.4995 GB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.3098, allocations: 26.44 kB / 0.4996 GB, free: 13.16 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.00028/0.3101, allocations: 284.6 kB / 0.4998 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.507e-05/0.3102, allocations: 56.83 kB / 0.4999 GB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007719/0.311, allocations: 0.525 MB / 0.5004 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.311, allocations: 8.062 kB / 0.5004 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.311, allocations: 0 / 0.5004 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.311, allocations: 0 / 0.5004 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004214/0.3114, allocations: 487 kB / 0.5009 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3114, allocations: 5.078 kB / 0.5009 GB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3119, allocations: 79.98 kB / 0.501 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3119, allocations: 1.406 kB / 0.501 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.3119, allocations: 23.89 kB / 0.501 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3119, allocations: 5.438 kB / 0.501 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3119, allocations: 0 / 0.501 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3129, allocations: 0.7276 MB / 0.5017 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.992e-05/0.313, allocations: 136.9 kB / 0.5018 GB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.3131, allocations: 15.16 kB / 0.5018 GB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.3132, allocations: 20.52 kB / 0.5019 GB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.3133, allocations: 21.47 kB / 0.5019 GB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.3133, allocations: 16.48 kB / 0.5019 GB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.3137, allocations: 346.5 kB / 0.5022 GB, free: 11.39 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3137, allocations: 0 / 0.5022 GB, free: 11.39 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000526/0.3143, allocations: 120.6 kB / 0.5023 GB, free: 11.36 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.0002216/0.3145, allocations: 149.1 kB / 0.5025 GB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008569/0.3153, allocations: 0.5111 MB / 0.503 GB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3153, allocations: 4 kB / 0.503 GB, free: 10.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003204/0.3157, allocations: 244.3 kB / 0.5032 GB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.316, allocations: 51.86 kB / 0.5033 GB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.3177, allocations: 1.139 MB / 0.5044 GB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.318, allocations: 0.8917 MB / 0.5052 GB, free: 9.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002418/0.3182, allocations: 108.7 kB / 0.5054 GB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.3183, allocations: 39.03 kB / 0.5054 GB, free: 9.246 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3183, allocations: 0 / 0.5054 GB, free: 9.246 MB / 366.1 MB Notification: Performance of Templates: time 0.007676/0.326, allocations: 4.13 MB / 0.5094 GB, free: 5.359 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestD_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.930647023022175]