Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.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.001588/0.001588, allocations: 113 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.001703/0.001703, 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.109 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.08032/0.08032, allocations: 11.33 MB / 315.8 MB, free: 360 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_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_tracking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 440.6 MB, free: 5.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.262, allocations: 54.82 MB / 495.4 MB, free: 24.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_tracking): time 0.003353/0.2653, allocations: 2.485 MB / 497.9 MB, free: 22.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002202/0.2675, allocations: 1.57 MB / 499.5 MB, free: 21.53 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.2677, allocations: 15.03 kB / 499.5 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006458/0.2684, allocations: 220.2 kB / 499.7 MB, free: 21.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003413/0.2687, allocations: 165.1 kB / 499.9 MB, free: 21.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.2697, allocations: 453.4 kB / 0.4886 GB, free: 20.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005904/0.2703, allocations: 0.6176 MB / 0.4892 GB, free: 20.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/0.2704, allocations: 55.56 kB / 0.4893 GB, free: 20.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.2707, allocations: 236.7 kB / 0.4895 GB, free: 20.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003075/0.271, allocations: 260.6 kB / 0.4897 GB, free: 20.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.592e-05/0.2711, allocations: 34.09 kB / 0.4898 GB, free: 20.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.2714, allocations: 155.4 kB / 0.4899 GB, free: 20.17 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001602/0.2715, allocations: 156.9 kB / 0.4901 GB, free: 20.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.2717, allocations: 228.4 kB / 0.4903 GB, free: 19.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007475/0.2725, allocations: 0.5757 MB / 0.4908 GB, free: 19.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2725, allocations: 1.875 kB / 0.4908 GB, free: 19.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2725, allocations: 0 / 0.4908 GB, free: 19.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2725, allocations: 0 / 0.4908 GB, free: 19.48 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001403/0.2739, allocations: 0.9361 MB / 0.4918 GB, free: 18.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2739, allocations: 12.77 kB / 0.4918 GB, free: 18.67 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.274, allocations: 66.77 kB / 0.4918 GB, free: 18.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005855/0.2746, allocations: 478.5 kB / 0.4923 GB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.2746, allocations: 29.22 kB / 0.4923 GB, free: 18.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.892e-05/0.2747, allocations: 45.05 kB / 0.4924 GB, free: 18.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.2754, allocations: 484.5 kB / 0.4928 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.2754, allocations: 3.656 kB / 0.4928 GB, free: 17.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.2755, allocations: 16.31 kB / 0.4928 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2755, allocations: 11.78 kB / 0.4929 GB, free: 17.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.2761, allocations: 324.6 kB / 0.4932 GB, free: 17.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.2783, allocations: 1.925 MB / 0.495 GB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.2788, allocations: 230.4 kB / 0.4953 GB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.279, allocations: 134.4 kB / 0.4954 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.279, allocations: 3.453 kB / 0.4954 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.2794, allocations: 241.2 kB / 0.4956 GB, free: 15.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 1.923e-06/0.2794, allocations: 0 / 0.4956 GB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.001042/0.2805, allocations: 0.5522 MB / 0.4962 GB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.2806, allocations: 108.3 kB / 0.4963 GB, free: 15.33 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000702/0.2813, allocations: 0.5461 MB / 0.4968 GB, free: 15.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/0.2813, allocations: 31.73 kB / 0.4968 GB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.2814, allocations: 285.3 kB / 0.4971 GB, free: 14.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.2815, allocations: 126.1 kB / 0.4972 GB, free: 14.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.2817, allocations: 107.6 kB / 0.4973 GB, free: 14.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2818, allocations: 370 kB / 0.4977 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.282, allocations: 143.8 kB / 0.4978 GB, free: 14.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.2824, allocations: 325.6 kB / 0.4981 GB, free: 13.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.2841, allocations: 0.9326 MB / 0.499 GB, free: 13.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.2841, allocations: 5 kB / 0.499 GB, free: 13.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0008953/0.285, allocations: 0.6518 MB / 0.4997 GB, free: 12.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.285, allocations: 44.81 kB / 0.4997 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.2851, allocations: 9.5 kB / 0.4997 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.2851, allocations: 10.86 kB / 0.4997 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.2855, allocations: 111.8 kB / 0.4998 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/0.2855, allocations: 7.594 kB / 0.4999 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.2858, allocations: 60.27 kB / 0.4999 GB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.2858, allocations: 24.47 kB / 0.4999 GB, free: 12.71 MB / 366.1 MB Warning: Assuming fixed start value for the following 10 variables: processTrack.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processTrack.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] processTrack.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] process.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real process.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] process.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition2,TrackRef.nextEventScaled,TrackRef.nextEvent,$PRE.TrackRef.nextEvent,TrackRef.last,TrackRef.b,TrackRef.a,TSsignal.combiTimeTable.nextTimeEventScaled,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent,R_track.ts,$whenCondition1,R.TS_in,R_track.satLOW_in,R_track.satHIGH_in,R_track.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 (63): * Single equations (assignments): 62 * 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.0003223/0.2861, allocations: 274.5 kB / 0.5002 GB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.2862, allocations: 60.97 kB / 0.5003 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/0.2871, allocations: 0.4908 MB / 0.5007 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.2871, allocations: 2.75 kB / 0.5007 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2871, allocations: 0 / 0.5007 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.2871, allocations: 1.375 kB / 0.5007 GB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.2877, allocations: 467.3 kB / 0.5012 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2877, allocations: 1.125 kB / 0.5012 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.2881, allocations: 73.48 kB / 0.5013 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2881, allocations: 1.531 kB / 0.5013 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.2881, allocations: 14.89 kB / 0.5013 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2881, allocations: 1.344 kB / 0.5013 GB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2881, allocations: 5.578 kB / 0.5013 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.2893, allocations: 0.6747 MB / 0.5019 GB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.2894, allocations: 133.1 kB / 0.5021 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.988e-05/0.2895, allocations: 14.72 kB / 0.5021 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001659/0.2897, allocations: 16.61 kB / 0.5021 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2898, allocations: 22.47 kB / 0.5021 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.2898, allocations: 16.45 kB / 0.5021 GB, free: 11.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004625/0.2903, allocations: 376 kB / 0.5025 GB, free: 11.01 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2903, allocations: 0 / 0.5025 GB, free: 11.01 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005879/0.2908, allocations: 119.7 kB / 0.5026 GB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (R.Fin,R_track.Fin,process.Y[3],process.Y[4],process.U[2],process.U[3],process.w,processTrack.Y[3],processTrack.Y[4],processTrack.U[2],processTrack.U[3],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001797/0.2926, allocations: 466.8 kB / 0.5031 GB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001083/0.2937, allocations: 451.3 kB / 0.5035 GB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2937, allocations: 4.062 kB / 0.5035 GB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.2941, allocations: 223.8 kB / 0.5037 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005571/0.2947, allocations: 87.88 kB / 0.5038 GB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.2964, allocations: 1.041 MB / 0.5048 GB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.2966, allocations: 0.8858 MB / 0.5057 GB, free: 8.887 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.2969, allocations: 105.6 kB / 0.5058 GB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.339e-05/0.297, allocations: 36.12 kB / 0.5058 GB, free: 8.832 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.297, allocations: 4 kB / 0.5058 GB, free: 8.828 MB / 366.1 MB Notification: Performance of Templates: time 0.009696/0.3067, allocations: 5.327 MB / 0.511 GB, free: 3.863 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_tracking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8526377864181995]