Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_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.001645/0.001645, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001758/0.001758, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.466/1.466, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06165/0.06165, allocations: 11.34 MB / 314.7 MB, free: 0.8203 MB / 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-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.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 75.88 kB / 438.5 MB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2782, allocations: 54.82 MB / 493.3 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.002948/0.2812, allocations: 2.216 MB / 495.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.2822, allocations: 0.5469 MB / 496.1 MB, free: 22.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.2823, allocations: 15 kB / 496.1 MB, free: 22.1 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000203/0.2825, allocations: 63.23 kB / 496.2 MB, free: 22.05 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.996e-05/0.2826, allocations: 40.12 kB / 496.2 MB, free: 22.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000666/0.2833, allocations: 255.2 kB / 496.5 MB, free: 21.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006035/0.2839, allocations: 0.5343 MB / 497 MB, free: 21.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.2841, allocations: 75 kB / 497.1 MB, free: 21.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.2843, allocations: 182.4 kB / 497.2 MB, free: 21.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.2846, allocations: 197.4 kB / 497.4 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.334e-05/0.2846, allocations: 30.41 kB / 497.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.767e-05/0.2847, allocations: 30.97 kB / 497.5 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.2849, allocations: 132.3 kB / 497.6 MB, free: 21.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.285, allocations: 192.5 kB / 497.8 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004003/0.2854, allocations: 402.1 kB / 498.2 MB, free: 21.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2854, allocations: 0 / 498.2 MB, free: 21.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2854, allocations: 0 / 498.2 MB, free: 21.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.2854, allocations: 5.562 kB / 498.2 MB, free: 21.07 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001136/0.2866, allocations: 0.7668 MB / 499 MB, free: 20.46 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2866, allocations: 12.95 kB / 499 MB, free: 20.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.741e-05/0.2867, allocations: 58.03 kB / 499.1 MB, free: 20.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004897/0.2872, allocations: 400.6 kB / 499.4 MB, free: 20.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.126e-05/0.2873, allocations: 81.62 kB / 499.5 MB, free: 20 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.235e-05/0.2873, allocations: 43.52 kB / 499.6 MB, free: 19.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.288, allocations: 476 kB / 0.4883 GB, free: 19.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.288, allocations: 14.17 kB / 0.4883 GB, free: 19.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.2881, allocations: 15.59 kB / 0.4883 GB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.2881, allocations: 10.41 kB / 0.4883 GB, free: 19.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005643/0.2886, allocations: 330.8 kB / 0.4887 GB, free: 19.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/0.2909, allocations: 1.953 MB / 0.4906 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004304/0.2913, allocations: 185 kB / 0.4907 GB, free: 17.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.2915, allocations: 112.5 kB / 0.4909 GB, free: 17.7 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.2915, allocations: 3.219 kB / 0.4909 GB, free: 17.7 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.2915, allocations: 32 kB / 0.4909 GB, free: 17.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.754e-06/0.2915, allocations: 1.094 kB / 0.4909 GB, free: 17.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006774/0.2922, allocations: 348.7 kB / 0.4912 GB, free: 17.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.2922, allocations: 54.75 kB / 0.4913 GB, free: 17.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.2926, allocations: 432.6 kB / 0.4917 GB, free: 17.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.2926, allocations: 26.95 kB / 0.4917 GB, free: 17.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2928, allocations: 266.8 kB / 0.492 GB, free: 16.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.2928, allocations: 94.28 kB / 0.4921 GB, free: 16.79 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.2929, allocations: 83.98 kB / 0.4921 GB, free: 16.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.599e-05/0.293, allocations: 354.5 kB / 0.4925 GB, free: 16.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.2932, allocations: 112.5 kB / 0.4926 GB, free: 16.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.2935, allocations: 259.3 kB / 0.4928 GB, free: 16.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.295, allocations: 0.6789 MB / 0.4935 GB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.295, allocations: 1.969 kB / 0.4935 GB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007219/0.2957, allocations: 481.8 kB / 0.494 GB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.2957, allocations: 6.781 kB / 0.494 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2957, allocations: 8.609 kB / 0.494 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.2958, allocations: 7.25 kB / 0.494 GB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.2962, allocations: 104.4 kB / 0.4941 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.2962, allocations: 7.125 kB / 0.4941 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.2964, allocations: 57.3 kB / 0.4941 GB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.2964, allocations: 19.84 kB / 0.4942 GB, free: 15.29 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: 22 * 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 (54): * Single equations (assignments): 54 * 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.0002274/0.2966, allocations: 198.4 kB / 0.4943 GB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.2967, allocations: 41.12 kB / 0.4944 GB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005772/0.2973, allocations: 308.3 kB / 0.4947 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.2973, allocations: 6.297 kB / 0.4947 GB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2973, allocations: 5.094 kB / 0.4947 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.2973, allocations: 0 / 0.4947 GB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.2978, allocations: 411.3 kB / 0.4951 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2978, allocations: 0 / 0.4951 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.2982, allocations: 70.25 kB / 0.4951 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2982, allocations: 1.406 kB / 0.4951 GB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.2982, allocations: 7.438 kB / 0.4952 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2982, allocations: 1.125 kB / 0.4952 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2982, allocations: 9.047 kB / 0.4952 GB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006756/0.2989, allocations: 0.498 MB / 0.4957 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.758e-05/0.2989, allocations: 125.2 kB / 0.4958 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.299, allocations: 7.375 kB / 0.4958 GB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.2991, allocations: 13.55 kB / 0.4958 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.2992, allocations: 15.53 kB / 0.4958 GB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.2992, allocations: 5.5 kB / 0.4958 GB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002902/0.2995, allocations: 289.6 kB / 0.4961 GB, free: 13.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2995, allocations: 0 / 0.4961 GB, free: 13.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003885/0.2999, allocations: 66.92 kB / 0.4962 GB, free: 13.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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.0001098/0.3, allocations: 120.2 kB / 0.4963 GB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005652/0.3006, allocations: 289.9 kB / 0.4965 GB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3006, allocations: 0 / 0.4965 GB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.3008, allocations: 117.8 kB / 0.4967 GB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.3011, allocations: 37.83 kB / 0.4967 GB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3025, allocations: 0.9098 MB / 0.4976 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3029, allocations: 0.8443 MB / 0.4984 GB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.303, allocations: 36.06 kB / 0.4984 GB, free: 12.17 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.303, allocations: 3.938 kB / 0.4984 GB, free: 12.17 MB / 366.1 MB Notification: Performance of Templates: time 0.007156/0.3101, allocations: 4.627 MB / 0.503 GB, free: 9.766 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.363258481957018] Failed to read output from testmodel.py, exit status != 0: 0.3182744251098484 0.327367436 0.039088763000000006 Calling exit ...