Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.001553/0.001553, 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.001514/0.001514, 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.433/1.433, allocations: 225.6 MB / 249.4 MB, free: 3.293 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.07352/0.07352, allocations: 11.32 MB / 315.8 MB, free: 380 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.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 67.89 kB / 440.6 MB, free: 6.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2836, allocations: 54.82 MB / 495.4 MB, free: 24.49 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.003294/0.2869, allocations: 1.782 MB / 497.2 MB, free: 23.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2883, allocations: 0.5982 MB / 497.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001496/0.2885, allocations: 3.031 kB / 497.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.2886, allocations: 26.55 kB / 497.9 MB, free: 22.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.2887, allocations: 38.94 kB / 497.9 MB, free: 22.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.289, allocations: 88.19 kB / 498 MB, free: 22.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003258/0.2894, allocations: 204.1 kB / 498.2 MB, free: 22.58 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.2895, allocations: 29.12 kB / 498.2 MB, free: 22.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2896, allocations: 78.34 kB / 498.3 MB, free: 22.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.2897, allocations: 85.19 kB / 498.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.819e-05/0.2898, allocations: 23.12 kB / 498.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.926e-05/0.2898, allocations: 16.81 kB / 498.4 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.2898, allocations: 40.39 kB / 498.4 MB, free: 22.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.687e-05/0.2899, allocations: 85.14 kB / 498.5 MB, free: 22.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2901, allocations: 168.5 kB / 498.7 MB, free: 22.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2901, allocations: 0 / 498.7 MB, free: 22.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2901, allocations: 1.281 kB / 498.7 MB, free: 22.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.2901, allocations: 0 / 498.7 MB, free: 22.22 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001064/0.2912, allocations: 0.5795 MB / 499.3 MB, free: 21.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2913, allocations: 13.7 kB / 499.3 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.2913, allocations: 19.25 kB / 499.3 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.2917, allocations: 259.2 kB / 499.6 MB, free: 21.39 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.966e-05/0.2917, allocations: 71.05 kB / 499.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.2918, allocations: 14.47 kB / 499.6 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.2922, allocations: 195.3 kB / 499.8 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.2923, allocations: 0 / 499.8 MB, free: 21.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.2923, allocations: 9.125 kB / 499.8 MB, free: 21.17 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.2923, allocations: 6.594 kB / 499.9 MB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005482/0.2928, allocations: 147.8 kB / 500 MB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.2937, allocations: 0.6355 MB / 0.4889 GB, free: 20.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.2942, allocations: 163.1 kB / 0.4891 GB, free: 20.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.2945, allocations: 83.09 kB / 0.4891 GB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2945, allocations: 1.094 kB / 0.4891 GB, free: 20.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004065/0.2949, allocations: 169.3 kB / 0.4893 GB, free: 20.23 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.2949, allocations: 0 / 0.4893 GB, free: 20.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009514/0.2959, allocations: 297 kB / 0.4896 GB, free: 20.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2959, allocations: 53.94 kB / 0.4896 GB, free: 20.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2961, allocations: 200.6 kB / 0.4898 GB, free: 19.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.2961, allocations: 29.05 kB / 0.4898 GB, free: 19.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.2962, allocations: 137.5 kB / 0.49 GB, free: 19.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.2962, allocations: 45.58 kB / 0.49 GB, free: 19.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.2963, allocations: 46.33 kB / 0.4901 GB, free: 19.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.952e-05/0.2963, allocations: 328 kB / 0.4904 GB, free: 19.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.2967, allocations: 92.89 kB / 0.4905 GB, free: 19.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.297, allocations: 147.8 kB / 0.4906 GB, free: 19.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005968/0.2976, allocations: 263.4 kB / 0.4909 GB, free: 18.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2976, allocations: 1.062 kB / 0.4909 GB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007826/0.2984, allocations: 340.6 kB / 0.4912 GB, free: 18.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.2984, allocations: 67.42 kB / 0.4913 GB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.2984, allocations: 1.344 kB / 0.4913 GB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.2984, allocations: 6.344 kB / 0.4913 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.2988, allocations: 57.61 kB / 0.4913 GB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2988, allocations: 7.188 kB / 0.4913 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.2991, allocations: 48.61 kB / 0.4914 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.2991, allocations: 11.89 kB / 0.4914 GB, free: 18.61 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001038/0.2992, allocations: 139.5 kB / 0.4915 GB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2992, allocations: 20.28 kB / 0.4915 GB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.2993, allocations: 24.94 kB / 0.4916 GB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2993, allocations: 2.219 kB / 0.4916 GB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2993, allocations: 0 / 0.4916 GB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2993, allocations: 1.156 kB / 0.4916 GB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.2995, allocations: 247.1 kB / 0.4918 GB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2995, allocations: 0 / 0.4918 GB, free: 18.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003916/0.2999, allocations: 58.48 kB / 0.4918 GB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2999, allocations: 5.047 kB / 0.4919 GB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.2999, allocations: 2.125 kB / 0.4919 GB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2999, allocations: 0 / 0.4919 GB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2999, allocations: 5.047 kB / 0.4919 GB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009576/0.3009, allocations: 342.3 kB / 0.4922 GB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.3009, allocations: 98.09 kB / 0.4923 GB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.3009, allocations: 9.094 kB / 0.4923 GB, free: 17.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.3012, allocations: 29.7 kB / 0.4923 GB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.672e-05/0.3013, allocations: 29.62 kB / 0.4923 GB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3013, allocations: 12.19 kB / 0.4924 GB, free: 17.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.71e-05/0.3014, allocations: 142.2 kB / 0.4925 GB, free: 17.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3014, allocations: 1.219 kB / 0.4925 GB, free: 17.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.3016, allocations: 38.11 kB / 0.4925 GB, free: 17.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.814e-05/0.3017, allocations: 111.4 kB / 0.4926 GB, free: 17.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007322/0.3024, allocations: 310.8 kB / 0.4929 GB, free: 17.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3024, allocations: 1.281 kB / 0.4929 GB, free: 17.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003185/0.3028, allocations: 95.41 kB / 0.493 GB, free: 17.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3031, allocations: 30.36 kB / 0.4931 GB, free: 17.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007079/0.3038, allocations: 325.9 kB / 0.4934 GB, free: 17.06 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.304, allocations: 0.725 MB / 0.4941 GB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.304, allocations: 18.7 kB / 0.4941 GB, free: 16.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.332e-05/0.3041, allocations: 25.55 kB / 0.4941 GB, free: 16.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3041, allocations: 0 / 0.4941 GB, free: 16.32 MB / 366.1 MB Notification: Performance of Templates: time 0.005739/0.3098, allocations: 2.471 MB / 0.4965 GB, free: 15.09 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.757335455156863]