Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_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.00143/0.00143, allocations: 115.2 kB / 17.13 MB, free: 5.914 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.001288/0.001288, allocations: 193.2 kB / 20.08 MB, free: 2.98 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.469/1.469, allocations: 225.6 MB / 248.5 MB, free: 3.609 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.06085/0.06085, allocations: 11.34 MB / 314.7 MB, free: 0.832 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.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestP_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.89 kB / 438.5 MB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2748, allocations: 54.83 MB / 493.3 MB, free: 23.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestP_bias): time 0.003026/0.2778, allocations: 2.213 MB / 495.6 MB, free: 22.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000855/0.2787, allocations: 455 kB / 496 MB, free: 22.06 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2788, allocations: 14.81 kB / 496 MB, free: 22.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.2791, allocations: 62.05 kB / 496.1 MB, free: 22.01 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.2792, allocations: 33.92 kB / 496.1 MB, free: 21.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004969/0.2797, allocations: 221.6 kB / 496.3 MB, free: 21.87 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004981/0.2802, allocations: 0.496 MB / 496.8 MB, free: 21.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2803, allocations: 72.09 kB / 496.9 MB, free: 21.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.2805, allocations: 169.5 kB / 497.1 MB, free: 21.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.2807, allocations: 187.7 kB / 497.2 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.01e-05/0.2808, allocations: 28.91 kB / 497.3 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.053e-05/0.2808, allocations: 28.47 kB / 497.3 MB, free: 21.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.281, allocations: 132.5 kB / 497.4 MB, free: 21.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.2811, allocations: 183.2 kB / 497.6 MB, free: 21.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004171/0.2815, allocations: 386 kB / 498 MB, free: 21.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2815, allocations: 3.938 kB / 498 MB, free: 21.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.2815, allocations: 1.344 kB / 498 MB, free: 21.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2815, allocations: 0 / 498 MB, free: 21.08 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.001035/0.2826, allocations: 0.7532 MB / 498.7 MB, free: 20.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2826, allocations: 13.14 kB / 498.8 MB, free: 20.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.548e-05/0.2827, allocations: 57.09 kB / 498.8 MB, free: 20.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004816/0.2832, allocations: 390.6 kB / 499.2 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.2832, allocations: 28.78 kB / 499.2 MB, free: 20.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.2833, allocations: 46.11 kB / 499.3 MB, free: 20.12 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.2839, allocations: 459.7 kB / 499.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.284, allocations: 6.531 kB / 499.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.284, allocations: 20.75 kB / 499.7 MB, free: 19.83 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.284, allocations: 13.94 kB / 499.8 MB, free: 19.83 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.2845, allocations: 314.3 kB / 0.4883 GB, free: 19.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001956/0.2865, allocations: 1.882 MB / 0.4902 GB, free: 18.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000402/0.2869, allocations: 170.2 kB / 0.4903 GB, free: 18.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.2871, allocations: 112.4 kB / 0.4904 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2871, allocations: 2.344 kB / 0.4904 GB, free: 17.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2871, allocations: 32.25 kB / 0.4905 GB, free: 17.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.2871, allocations: 0 / 0.4905 GB, free: 17.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.0006362/0.2877, allocations: 336.7 kB / 0.4908 GB, free: 17.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.2878, allocations: 53.34 kB / 0.4908 GB, free: 17.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.2882, allocations: 429.8 kB / 0.4913 GB, free: 17.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2882, allocations: 25.7 kB / 0.4913 GB, free: 17.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2883, allocations: 267.3 kB / 0.4915 GB, free: 17.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.2883, allocations: 86.03 kB / 0.4916 GB, free: 17.06 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.656e-05/0.2884, allocations: 82.7 kB / 0.4917 GB, free: 17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.2885, allocations: 353.2 kB / 0.492 GB, free: 16.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.2887, allocations: 105.5 kB / 0.4921 GB, free: 16.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.2889, allocations: 241 kB / 0.4924 GB, free: 16.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.2902, allocations: 0.6328 MB / 0.493 GB, free: 15.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.2902, allocations: 1.062 kB / 0.493 GB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006506/0.2909, allocations: 464.2 kB / 0.4934 GB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2909, allocations: 15.02 kB / 0.4934 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2909, allocations: 5.5 kB / 0.4934 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.2909, allocations: 7.5 kB / 0.4935 GB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.2913, allocations: 94.48 kB / 0.4935 GB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.2913, allocations: 15.31 kB / 0.4936 GB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.2915, allocations: 57.67 kB / 0.4936 GB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2915, allocations: 22.92 kB / 0.4936 GB, free: 15.6 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 (51): * Single equations (assignments): 51 * 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.0002166/0.2917, allocations: 196.1 kB / 0.4938 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.759e-05/0.2918, allocations: 40.09 kB / 0.4939 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000502/0.2923, allocations: 292 kB / 0.4941 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2923, allocations: 2.625 kB / 0.4941 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.2923, allocations: 3.938 kB / 0.4941 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.2923, allocations: 3.984 kB / 0.4942 GB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.2927, allocations: 394.3 kB / 0.4945 GB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2927, allocations: 1.062 kB / 0.4945 GB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.293, allocations: 65.36 kB / 0.4946 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.293, allocations: 1.125 kB / 0.4946 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.293, allocations: 7.438 kB / 0.4946 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.293, allocations: 5.094 kB / 0.4946 GB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.293, allocations: 5.188 kB / 0.4946 GB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000598/0.2936, allocations: 480 kB / 0.4951 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.2937, allocations: 113.9 kB / 0.4952 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.2937, allocations: 7.594 kB / 0.4952 GB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.2939, allocations: 14.05 kB / 0.4952 GB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.497e-05/0.2939, allocations: 22.41 kB / 0.4952 GB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.2939, allocations: 8.969 kB / 0.4952 GB, free: 14.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.2942, allocations: 284.7 kB / 0.4955 GB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2942, allocations: 1.125 kB / 0.4955 GB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.2946, allocations: 72.75 kB / 0.4956 GB, free: 14.22 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (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 (23): * Single equations (assignments): 23 * 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 9.812e-05/0.2947, allocations: 101.4 kB / 0.4957 GB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000507/0.2952, allocations: 284.6 kB / 0.4959 GB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2952, allocations: 3.938 kB / 0.4959 GB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.2954, allocations: 113.2 kB / 0.496 GB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.2957, allocations: 38.73 kB / 0.4961 GB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2969, allocations: 0.8498 MB / 0.4969 GB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.2973, allocations: 0.8465 MB / 0.4977 GB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.2974, allocations: 31.53 kB / 0.4978 GB, free: 12.58 MB / 366.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2974, allocations: 0 / 0.4978 GB, free: 12.58 MB / 366.1 MB Notification: Performance of Templates: time 0.006956/0.3043, allocations: 4.506 MB / 0.5022 GB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestP_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.316474341088906] Failed to read output from testmodel.py, exit status != 0: 0.31211448297835886 0.320594046 0.036481114 Calling exit ...